[Insight-users] Problem compiling ITK with Visual Studio using nmake
reny
reny at ctm.ulpgc.es
Wed Jul 27 04:09:46 EDT 2005
Hi all,
I am trying to compile ITK with Visual Studio. I experienced some
problems and I tried to compile by command line. I generate Makefiles
with CMake (NMake Makefiles option). When I generated the Makefiles I
received the following warning:
Custom command for source file insn-conditions.c.rule was not used.
Then I tried to compile with nmake and get the following error:
C:\ITK\Built2>nmake /f Makefile
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
C:\ARCHIV~1\CMAKE2~1.2\bin\cmake.exe -H..\Source -B.
--check-build-system Makefile.cmake 0
NMAKE -f Makefile2 /nologo -S all
Building C object Utilities/zlib/itkzlib.dir/adler32.obj
adler32.c
..\Source\Utilities\zlib\zconf.h(164) : fatal error C1083: Cannot open
include file: 'zlibDllConfig.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Archivos de programa\Microsoft Visual
Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Archivos de programa\Microsoft Visual
Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
Stop.
The file requested (zlibDllConfig.h) is in the build tree under
Utilities/zlib.
Any suggestion?
Thanks in advance.
Rene
More information about the Insight-users
mailing list