[Insight-users] unable to build itk without building zlib and png libs

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Jan 5 07:32:44 EST 2005


Hi,

I can't build itk (cvs version) if I choose
             ITK_USE_SYSTEM_ZLIB ON
         or ITK_USE_SYSTEM_PNG ON

make fail with following error message (zlib give exactly the same  
message, but with zlib instead of png) :

cd /home/papha/glehmann/itk/test/Utilities/png; make  cmake.depends; make   
cmake.check_depends; make  -f cmake.check_depends; make  libitkpng.a
make[6]: Entering directory `/home/papha/glehmann/itk/test/Utilities/png'
make[6]: *** No rule to make target `cmake.depends'.  Stop.
make[6]: Leaving directory `/home/papha/glehmann/itk/test/Utilities/png'
make[6]: Entering directory `/home/papha/glehmann/itk/test/Utilities/png'
make[6]: *** No rule to make target `cmake.check_depends'.  Stop.
make[6]: Leaving directory `/home/papha/glehmann/itk/test/Utilities/png'
make[6]: Entering directory `/home/papha/glehmann/itk/test/Utilities/png'
make[6]: cmake.check_depends: No such file or directory
make[6]: *** No rule to make target `cmake.check_depends'.  Stop.
make[6]: Leaving directory `/home/papha/glehmann/itk/test/Utilities/png'
make[6]: Entering directory `/home/papha/glehmann/itk/test/Utilities/png'
make[6]: *** No rule to make target `libitkpng.a'.  Stop.
make[6]: Leaving directory `/home/papha/glehmann/itk/test/Utilities/png'
make[5]: *** [/home/papha/glehmann/itk/test/bin/libitkpng.a] Error 2
make[5]: Leaving directory  
`/home/papha/glehmann/itk/test/Examples/SpatialObjects'
make[4]: *** [default_target] Error 2
make[4]: Leaving directory  
`/home/papha/glehmann/itk/test/Examples/SpatialObjects'
make[3]: *** [default_target_SpatialObjects] Error 2
make[3]: Leaving directory `/home/papha/glehmann/itk/test/Examples'
make[2]: *** [default_target] Error 2
make[2]: Leaving directory `/home/papha/glehmann/itk/test/Examples'
make[1]: *** [default_target_Examples] Error 2
make[1]: Leaving directory `/home/papha/glehmann/itk/test'
make: *** [default_target] Error 2



build woks fine with ITK_USE_SYSTEM_TIFF ON


I can't find ITK_USE_SYSTEM_JPEG in ccmake. This option was avaible with  
ITK 1.8.1.
Is it a bug ?
	

-- 
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 22 34
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
 


More information about the Insight-users mailing list