[Insight-users] Problem in configuring ITK with cmake!

Nora Nora nora_droit at yahoo.fr
Wed Nov 12 15:50:38 EST 2008


Hi all ,
I am a new user of ITK. I have red “the  getting started with ITK”  and I have tried to follow it. With windows Xp and Visual studio 8 (2005) : 
Step 1 : I have downloaded ITK (InsightToolkit-3.10.0)
Step 2 : I have downloaded Cmake (2.6patch 2)
Step 3 : configure ITK????I didn’t succeed to do it!!!I selected the source directory as the directory of ITK and I created a binary directory that I specified its path in the second field. But I have always this message of error :
Check for working C compiler: cl
Check for working C compiler: cl -- broken
CMake Error at C:/Program Files/CMake 2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):
The C compiler "cl" is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Program Files/InsightToolkit-3.10.0/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~1\MID05A~1\Common7\IDE\VCExpress.exe
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
Microsoft (R) Visual C++ Express Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. Tous droits réservés.
1>------ D‚but de la g‚n‚rationÿ: Projetÿ: cmTryCompileExec,
Configurationÿ: Debug Win32 ------
1>Compilation en cours...
1>Compilateur d'optimisation Microsoft (R) 32ÿbits C/C++
versionÿ14.00.50727.42 pour 80x86
1>Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\""
/D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/Program
Files/InsightToolkit-3.10.0/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb"
/W3 /c /Zi /TC /Zm1000
1> ".\testCCompiler.c"
1>testCCompiler.c
1>Compilation du manifeste en ressources en cours...
1>dition des liens en cours...
1>LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'user32.lib'
1>Le journal de g‚n‚ration a ‚t‚ enregistr‚ 
 l'emplacement
"file://c:\Program
Files\InsightToolkit-3.10.0\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
1>cmTryCompileExec - 1 erreur(s), 0 avertissement(s)
========== G‚n‚rationÿ: 0 a r‚ussi, 1 a ‚chou‚, 0 mis 
 jour, 0 a ‚t‚
ignor‚ ==========
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:8 (PROJECT)
Configuring incomplete, errors occurred!
I didn’t understand where is the problem and I am pressed to complete my project  in image  registration in at least one month. I’ll appreciate your help!
Best ragards,
Nora


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081112/866fc448/attachment.htm>


More information about the Insight-users mailing list