[IGSTK-Users] Errors building IGSTK 2.0.1

Wagner Sales wsales at gmail.com
Wed Apr 4 17:51:15 EDT 2007


Hi all,

I was tried to compile IGSTK on my linux box with the following software
versions:
- ITK 3.2 ( not using system's zlib - default )
- ZLIB info:
Package: zlib1g-dev
Priority: optional
Section: libdevel
Installed-Size: 616
Maintainer: Ubuntu Core Developers <ubuntu-devel at lists.ubuntu.com>
Architecture: amd64
Source: zlib
Version: 1:1.2.3-13ubuntu2
- VTK - CVS Version
Linux Box: Kubuntu 6.10, on amd64 dual core.

The following messages are showed to me:

[ 56%] Built target IGSTK
[ 57%] Building CXX object
Testing/CMakeFiles/igstkStateMachineExportTest.dir/igstkStateMachineExportTest.o
/usr/include/zlib.h:82: error: redefinition of 'struct z_stream_s'
/usr/include/InsightToolkit/Utilities/itkzlib/zlib.h:68: error: previous
definition of 'struct z_stream_s'
/usr/include/zlib.h:101: error: invalid type in declaration before ';' token
/usr/include/zlib.h:101: error: conflicting declaration 'typedef int
z_stream'
/usr/include/InsightToolkit/Utilities/itkzlib/zlib.h:87: error: 'z_stream'
has a previous declaration as 'typedef struct z_stream_s z_stream'
/usr/include/zlib.h:1114: error: declaration of C function 'int
itk_zlib_gzwrite(void*, const void*, unsigned int)' conflicts with
/usr/include/InsightToolkit/Utilities/itkzlib/zlib.h:704: error: previous
declaration 'int itk_zlib_gzwrite(void*, void*, unsigned int)' here
/usr/include/zlib.h:1350: error: redefinition of 'struct internal_state'
/usr/include/InsightToolkit/Utilities/itkzlib/zlib.h:882: error: previous
definition of 'struct internal_state'
make[2]: ***
[Testing/CMakeFiles/igstkStateMachineExportTest.dir/igstkStateMachineExportTest.o]
Error 1
make[1]: *** [Testing/CMakeFiles/igstkStateMachineExportTest.dir/all] Error
2
make: *** [all] Error 2


Can anyone helps?

Thks in advance,

Wagner Sales
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20070404/5b0c3d30/attachment-0002.html>


More information about the IGSTK-Users mailing list