[Insight-users] unsuccessful ITK build2
Ann Choe
annschoe at gmail.com
Mon Jan 8 09:56:01 EST 2007
Hello all,
(If you are getting this e-mail for the second time, I apologize. I
read however, that I'm supposed to get a copy of the e-mail I sent
myself and never did, so thought I may post it again, just in case you
didn't receive it either....)
I am having trouble installing ITK and was wondering if you could help.
I have so far:
1. installed cmake
2. installed vtk sucessfully, using cmake
I assumed that installing itk would be of a same process as vtk, and
that is exactly what I did. (used cmake for configuring/generating,
and compiled, release mode.) I have downloaded and installed visual
c++ 8.0 express from microsoft (+ sdk + service pack1) for compiling
purposes (yesterday).
windows xp
visual c++ 8.0 express (free)
cmake: 2.4.
vtk: 5.0.2
itk: 3.0.0
There were many errors generated during cmake process. All of them
were not the same, but one example would be:
**********************
Performing Test VXL_C_MATH_HAS_LROUND failed with the following output:
Microsoft (R) Visual C++ Express Edition Version 8.0.50727.762.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
------ Build started: Project: cmTryCompileExec, Configuration: Debug
Win32 ------
Compiling...
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl /Od /D "_MBCS" /FD /EHsc /RTC1 /MDd
/Fo"cmTryCompileExec.dir\Debug\\" /Fd"Debug/cmTryCompileExec.pdb" /W3
/c /Zi /TP /DWIN32 /D_WINDOWS /Zm1000 -DNOMINMAX
-DVXL_C_MATH_HAS_LROUND /D_DEBUG -DCMAKE_INTDIR=\"Debug\"
"..\..\..\InsightToolkit-3.0.0\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx"
vxl_platform_tests.cxx
..\..\..\InsightToolkit-3.0.0\Utilities\vxl\config\cmake\config\vxl_platform_tests.cxx(1069)
: error C3861: 'lround': identifier not found
Build log was saved at "file://c:\Program
Files\ITK30\InsightToolkit-3.0.0_bin\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
cmTryCompileExec - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
*****************************
But the biggest problem is, after I build the ITK (ALL_BUILD),
ITK_Common.lb is not generated. It's not in the folder, period, and
subsequent build of all the rest of the files fail. e.g.,
*******************************
------ Build started: Project: ImageReadWrite, Configuration: Release
Win32 ------
Compiling...
ImageReadWrite.cxx
Linking...
LINK : fatal error LNK1181: cannot open input file 'ITKCommon.lib'
Build log was saved at "file://c:\Program
Files\ITK30\InsightToolkit-3.0.0_bin\Examples\IO\ImageReadWrite.dir\Release\BuildLog.htm"
ImageReadWrite - 1 error(s), 0 warning(s)
****************
I am a newbie to this world of ITK, and I am lost. Could someone help?
Thank you.
Ann
More information about the Insight-users
mailing list