[Insight-developers] compilation error with msvc 8.0

Arnaud Gelas arnaudgelas at gmail.com
Mon Jun 18 09:40:40 EDT 2012


Hi all,

When trying to compile ITK on windows with msvc 8.0.50727.867

We get compilation errors (see below). When I googled the errors, I 
found this thread:

     http://www.itk.org/pipermail/insight-developers/2011-March/017812.html

These errors occurred with a recent version of cmake (2.8.8), so I am a 
little confused here.

Has it been fixed? If it is a path length issue, what's the limit? In 
such a case, shouldn't it warn?

Thanks,
Arnaud


3>------ Build started: Project: ITK, Configuration: Debug Win32 ------
3>Performing build step for 'ITK'
3>Microsoft (R) Visual Studio Version 8.0.50727.867.
3>Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
3>1>------ Build started: Project: gdcmDSED, Configuration: Debug Win32 
------
3>1>Compiling...
3>1>gdcmExplicitImplicitDataElement.cxx
3>1>c1xx : fatal error C1083: Cannot open source file: 
'..\..\..\..\..\..\..\..\ITK\Modules\ThirdParty\GDCM\src\gdcm\Source\DataStructureAndEncodingDefinition\gdcmExplicitImplicitDataElement.cxx': 
No such file or directory
3>1>gdcmUNExplicitImplicitDataElement.cxx
3>1>c1xx : fatal error C1083: Cannot open source file: 
'..\..\..\..\..\..\..\..\ITK\Modules\ThirdParty\GDCM\src\gdcm\Source\DataStructureAndEncodingDefinition\gdcmUNExplicitImplicitDataElement.cxx': 
No such file or directory
3>1>Generating Code...
3>1>Build log was saved at 
"file://d:\Thiago\Dev\CrisGit\ExternalProject\ITK-build\Modules\ThirdParty\GDCM\src\gdcm\Source\DataStructureAndEncodingDefinition\gdcmDSED.dir\Debug\BuildLog.htm"
3>1>gdcmDSED - 2 error(s), 0 warning(s)
3>2>------ Build started: Project: itkTestDriver, Configuration: Debug 
Win32 ------
3>2>Performing Pre-Link Event...
3>2>Linking...
3>2>LINK : fatal error LNK1104: cannot open file 
'..\..\..\..\lib\Debug\itkgdcmDSED-4.2.lib'
3>2>Build log was saved at 
"file://d:\Thiago\Dev\CrisGit\ExternalProject\ITK-build\Modules\Core\TestKernel\src\itkTestDriver.dir\Debug\BuildLog.htm"
3>2>itkTestDriver - 1 error(s), 0 warning(s)
3>========== Build: 0 succeeded, 2 failed, 211 up-to-date, 0 skipped 
==========
3>Project : error PRJ0019: A tool returned an error code from 
"Performing build step for 'ITK'"
3>Build log was saved at 
"file://d:\Thiago\Dev\CrisGit\ExternalProject\ITK.dir\Debug\BuildLog.htm"
3>ITK - 4 error(s), 0 warning(s)


More information about the Insight-developers mailing list