[Insight-users] get trouble configuring ITK:errors in CMakeError.log

chao.liu at kodak.com chao.liu at kodak.com
Thu Jan 18 04:05:21 EST 2007


I've got some trouble, would some one please help me? Thank you!
I've configuring ITK following "GettingStarted I",but I got trouble buide 
Examples in ITK
I use ITK3.0.0 CMake 2.4.5, Visual C++ 6.0
In CMake, I choose source folder: D:\ITK3.0.0src, the binary 
folder:D:\ITK3.0.0bin. Is it right?
I don't know the reason for this trouble.

I found Errors in CMakeError.log,is it the reason?

Since .log is very long, I just copied a paragram here:

Performing Test VCL_FOR_SCOPE_HACK failed with the following output:
--------------------Configuration: cmTryCompileExec - Win32 
Debug--------------------
Compiling...
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 
80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
cl /MDd /W3 /GR /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D 
"cmTryCompileExec_EXPORTS" /D "_WINDOWS" /D "NOMINMAX" /D 
"VCL_FOR_SCOPE_HACK" /D "_MBCS" /D CMAKE_INTDIR=\"Debug\" /Fo"Debug/" 
/Fd"Debug/" /FD /GZ   /Zm1000  /GZ  /TP /c 
 "D:\ITK3.0.0src\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx"
vxl_platform_tests.cxx
D:\ITK3.0.0src\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx(96) 
: error C2371: 'i' : redefinition; different basic types
 
D:\ITK3.0.0src\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx(95) 
: see declaration of 'i'
D:\ITK3.0.0src\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx(97) 
: error C2371: 'i' : redefinition; different basic types
 
D:\ITK3.0.0src\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx(95) 
: see declaration of 'i'
D:\ITK3.0.0src\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx(97) 
: warning C4244: '+=' : conversion from 'const double' to 'int', possible 
loss of data
D:\ITK3.0.0src\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx(99) 
: error C2371: 'i' : redefinition; different basic types
 
D:\ITK3.0.0src\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx(95) 
: see declaration of 'i'
D:\ITK3.0.0src\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx(99) 
: error C2228: left of '.f' must have class/struct/union type
Error executing cl.exe.



cmTryCompileExec.exe - 4 error(s), 1 warning(s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070118/04d42dc2/attachment-0001.html


More information about the Insight-users mailing list