[Insight-users] Install problems

Mathieu Malaterre Mathieu.Malaterre@creatis.insa-lyon.fr
Tue, 08 Apr 2003 18:44:07 +0200


Lara,
	This sounds like a very weird error. Did you open the file mention:
Insight/Utilities/zlib/zlib.h
And go to line 871 ?

	 I suspect a unix/windows end of line character problem. In clear if 
there is a '<cr>' written at the end of the line then you should delete 
it (as well as all the others).

	As it might be a pain in the neck to do it, I'll suggest you download 
the zip file from the itk download page:

http://itk.org/HTML/Download.htm

The zip file take care of the end of line problem between unic** world 
vs. windows world.


HTH
mathieu

Lara Vigneron wrote:
> Hi everyone
> 
> I'm trying to compile the new release of ITK  from the original CD. I 
> had no problems on a Windows 98 platform with Visual Studio 6 but it 
> doesn't seem to work on a UNIX system using version 2.95.3 of gcc. I had 
> no problem with the first release of ITK with the same configuration. I 
> even tried a minimal configuration (no examples, testing, ...) and it 
> still doesn't work.
> 
> Here are the error messages I get :
>  
> 
> CMake complete, run make to build project.
>  
> [vigneron@odin ~/ItkLarabis]$ make
> /home/vigneron/Vtk/CMake-1.4.6/Source/cmake -S/home/vigneron/Insight 
> -O/home/vigneron/ItkLarabis -H/home/vigneron/Insight 
> -B/home/vigneron/ItkLarabis
> cmake.depends is up-to-date
> /home/vigneron/ItkLarabis/Utilities: building default_target
> /home/vigneron/Vtk/CMake-1.4.6/Source/cmake 
> -S/home/vigneron/Insight/Utilities -O/home/vigneron/ItkLarabis/Utilities 
> -H/home/vigneron/Insight
> -B/home/vigneron/ItkLarabis
> cmake.depends is up-to-date
> /home/vigneron/ItkLarabis/Utilities/zlib: building default_target
> /home/vigneron/Vtk/CMake-1.4.6/Source/cmake 
> -S/home/vigneron/Insight/Utilities/zlib 
> -O/home/vigneron/ItkLarabis/Utilities/zlib -H/home/vigneron/Insight 
> -B/home/vigneron/ItkLarabis
> cmake.depends is up-to-date
> gcc -I/usr/X11R6/include  -I/home/vigneron/Insight/Utilities/zlib 
> -I/home/vigneron/Insight/Code/Algorithms 
> -I/home/vigneron/Insight/Code/BasicFilters 
> -I/home/vigneron/Insight/Code/Common 
> -I/home/vigneron/Insight/Code/Numerics -I/home/vigneron/Insight/Code/IO 
> -I/home/vigneron/Insight/Code/Numerics/FEM 
> -I/home/vigneron/Insight/Code/Numerics/Statistics 
> -I/home/vigneron/ItkLarabis/Code/Numerics/vxl 
> -I/home/vigneron/Insight/Code/Numerics/vxl 
> -I/home/vigneron/ItkLarabis/Code/Numerics/vxl/vcl 
> -I/home/vigneron/Insight/Code/Numerics/vxl/vcl 
> -I/home/vigneron/Insight/Code/SpatialObject 
> -I/home/vigneron/Insight/Utilities/png 
> -I/home/vigneron/Insight/Utilities/zlib 
> -I/home/vigneron/Insight/Utilities/MetaIO 
> -I/home/vigneron/Insight/Utilities/MetaIO/SpatialObject 
> -I/home/vigneron/Insight/Utilities/DICOMParser 
> -I/home/vigneron/ItkLarabis -I/home/vigneron/local/include/vtk   -c 
> /home/vigneron/Insight/Utilities/zlib/adler32.c -o adler32.o
> In file included from /home/vigneron/Insight/Utilities/zlib/adler32.c:8:
> /home/vigneron/Insight/Utilities/zlib/zlib.h:871: parse error before `('
> /home/vigneron/Insight/Utilities/zlib/zlib.h:871: parse error before 
> string constant
> /home/vigneron/Insight/Utilities/zlib/zlib.h:875: stray '\' in program
> make[5]: *** [adler32.o] Error 1
> make[4]: *** [default_target] Error 2
> make[3]: *** [default_target_zlib] Error 2
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Utilities] Error 2
> make: *** [default_target] Error 2
> 
> I would be gratefull for any help ...
> 
> Raluca and Lara
> 
> -- 
> Lara VIGNERON
> 
> Signal Processing Group
> 
> University of Liege
> Institut Montefiore
> Sart-Tilman, Batiment B28
> B-4000 Liege
> BELGIUM
> 
> Tel: +32-(0)4-366.26.42
> Fax: +32-(0)4-366.29.84
> Lara.Vigneron@ulg.ac.be
> 
>  


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/