Hello,
I'm trying to get DCMTK 3.5.4 working with VS2005 Express and CMake 2.2.3.
When I try to run CMake I get the message:
"The C compiler 'cl' is not able to compile a simple test program. It fails with the following output"
after which there is no output. At the bottom of the CMake window there is the message:
"Checking for working C compiler: cl -broken "
I uninstalled the beta 2 version of vs2005 ( and the .NET stuff) that I was previously using with the 'autouninstall' tool that can be downloaded from microsoft. As far as I could see the installation of VS2005 Express was succesfull and I'm now a registered user.
As YuHong already pointed out to me cl.exe may be missing from my compiler Tools->Options->VC++ Directories
So I've added C:\Program Files\Microsoft Visual Studio 8\VC\bin to the directory list for the executables but this hasn't helped (thanks anyway)
Does anyone have any ideas how I can sort this out?
Many thanks
VS2005 express - cl broken
Moderator: Moderator Team
Hi Trev,
i had the same problem (Visual express C++ 2005), i resolved it by using CMake 2.0.6 and it compiles all without any error.
But now i have a problem with link:
If someone know something to do please help me
Regards
Nik
i had the same problem (Visual express C++ 2005), i resolved it by using CMake 2.0.6 and it compiles all without any error.
But now i have a problem with link:
Code: Select all
error LNK2001: unresolved external symbol "public: __clrcall OFString::OFString(void)" (??0OFString@@$$FQAM@XZ)
XXXXX.obj : error LNK2001: unresolved external symbol "public: __clrcall OFString::~OFString(void)" (??1OFString@@$$FQAM@XZ)
XXXXX.obj : error LNK2001: unresolved external symbol "public: __clrcall OFString::OFString(class OFString const &,unsigned int,unsigned int)" (??0OFString@@$$FQAM@ABV0@II@Z)
...... for all dcmtk functions.
Regards
Nik
-
- OFFIS DICOM Team
- Posts: 1459
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
-
- Posts: 1
- Joined: Wed, 2006-04-26, 08:33
- Location: Germany
- Contact:
Try an older version of CMake. ftp://www.cmake.org/pub/cmake/v2.2/cmak ... -win32.exe works fine in my case (WinXP, MS-Visual C++ 2005 Express Edition).
This site (http://msdn.microsoft.com/vstudio/expre ... usingpsdk/) may help, if you have problems building Win32 applications with Visual C++ 2005 Express Edition (error: 'windows.h' missing) .
greetings
Rainer Hohn
This site (http://msdn.microsoft.com/vstudio/expre ... usingpsdk/) may help, if you have problems building Win32 applications with Visual C++ 2005 Express Edition (error: 'windows.h' missing) .
greetings
Rainer Hohn
Who is online
Users browsing this forum: No registered users and 1 guest