[Insight-users] Problem compiling ITK with Visual Studio using nmake

reny reny at ctm.ulpgc.es
Wed Jul 27 09:59:42 EDT 2005


hi Luis,
1) CMake 2.2
2) I download ITK from CVS two days ago
3) Visual Studio 6.0
4) No, this is the only Visual Studio version I have ever installed in 
my computer.

Hope this info helps.

Thanks for your reply.

Best regards,

Rene.


Luis Ibanez escribió:

>
> Hi Remy,
>
> 1) What version of CMake are you using ?
> 2) What version of ITK are you using ?
> 3) What version of Visual Studio are you using ?
> 4) Do you have multiple versions of Visual Studio installed ?
>
>
> Please let us know,
>
>
>   Thanks
>
>
>     Luis
>
>
> ---------------
> reny wrote:
>
>> 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
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>>



More information about the Insight-users mailing list