Hi all,<br><br>I was tried to compile IGSTK on my linux box with the following software versions:<br>- ITK 3.2 ( not using system's zlib - default )<br>- ZLIB info:<br>Package: zlib1g-dev<br>Priority: optional<br>Section: libdevel
<br>Installed-Size: 616<br>Maintainer: Ubuntu Core Developers <<a href="mailto:ubuntu-devel@lists.ubuntu.com">ubuntu-devel@lists.ubuntu.com</a>><br>Architecture: amd64<br>Source: zlib<br>Version: 1:1.2.3-13ubuntu2<br>
- VTK - CVS Version<br>Linux Box: Kubuntu 6.10, on amd64 dual core.<br><br>The following messages are showed to me:<br><br>[ 56%] Built target IGSTK<br>[ 57%] Building CXX object Testing/CMakeFiles/igstkStateMachineExportTest.dir/igstkStateMachineExportTest.o
<br>/usr/include/zlib.h:82: error: redefinition of 'struct z_stream_s'<br>/usr/include/InsightToolkit/Utilities/itkzlib/zlib.h:68: error: previous definition of 'struct z_stream_s'<br>/usr/include/zlib.h:101: error: invalid type in declaration before ';' token
<br>/usr/include/zlib.h:101: error: conflicting declaration 'typedef int z_stream'<br>/usr/include/InsightToolkit/Utilities/itkzlib/zlib.h:87: error: 'z_stream' has a previous declaration as 'typedef struct z_stream_s z_stream'
<br>/usr/include/zlib.h:1114: error: declaration of C function 'int itk_zlib_gzwrite(void*, const void*, unsigned int)' conflicts with<br>/usr/include/InsightToolkit/Utilities/itkzlib/zlib.h:704: error: previous declaration 'int itk_zlib_gzwrite(void*, void*, unsigned int)' here
<br>/usr/include/zlib.h:1350: error: redefinition of 'struct internal_state'<br>/usr/include/InsightToolkit/Utilities/itkzlib/zlib.h:882: error: previous definition of 'struct internal_state'<br>make[2]: *** [Testing/CMakeFiles/igstkStateMachineExportTest.dir/igstkStateMachineExportTest.o] Error 1
<br>make[1]: *** [Testing/CMakeFiles/igstkStateMachineExportTest.dir/all] Error 2<br>make: *** [all] Error 2<br><br><br>Can anyone helps?<br><br>Thks in advance,<br><br>Wagner Sales<br><br>