<HTML>
<HEAD>
<TITLE>Help with compile the ImageViewer</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana"><SPAN STYLE='font-size:12.0px'>Dear all,<BR>
<BR>
I want to use the imageviewer . I installed the FLTK (use make) &nbsp;&nbsp;and build the InsightAppications (use cmake)<BR>
<BR>
When I try to compile the Imageviewer here are the error:<BR>
<BR>
///////////////////<BR>
<BR>
Building dependencies. cmake.depends...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/ImageViewer/ImageViewerGUI.cxx...<BR>
Building object file ImageViewerGUI.o...<BR>
Building object file ImageViewer.o...<BR>
Building dependencies. cmake.depends...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkClippingPlane3DDrawerGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkDisplayGlWindowGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkDisplayGlWindowFlatGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkFrustumFunctionControlGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkImageViewerGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkImage2DViewerGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkRGBImage2DViewerGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkRegularStepGradientDescentGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkSlice2DDrawerGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkSlice3DDrawerGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkSphereFunctionControlGUI.cxx...<BR>
Building Custom command /Applications/ITK_VTK/ITK/InsightApplication_binary/Auxiliary/FltkImageViewer/fltkTimeProbesCollectorGUI.cxx...<BR>
Building dependencies cmake.check_depends...<BR>
Building object file fltkClippingPlane3DDrawerGUI.o...<BR>
Building object file fltkDisplayGlWindowGUI.o...<BR>
Building object file fltkDisplayGlWindowFlatGUI.o...<BR>
Building object file fltkFrustumFunctionControlGUI.o...<BR>
Building object file fltkImageViewerGUI.o...<BR>
Building object file fltkImage2DViewerGUI.o...<BR>
Building object file fltkRGBImage2DViewerGUI.o...<BR>
Building object file fltkRegularStepGradientDescentGUI.o...<BR>
Building object file fltkSlice2DDrawerGUI.o...<BR>
Building object file fltkSlice3DDrawerGUI.o...<BR>
Building object file fltkSphereFunctionControlGUI.o...<BR>
Building object file fltkTimeProbesCollectorGUI.o...<BR>
Building object file fltkBox3D.o...<BR>
Building object file fltkCone3D.o...<BR>
Building object file fltkClippingPlane3DDrawer.o...<BR>
Building object file fltkCylinder3D.o...<BR>
Building object file fltkFrustum3D.o...<BR>
Building object file fltkGlWindow.o...<BR>
Building object file fltkGlWindowInteractive.o...<BR>
Building object file fltkGlWindowInteractiveFlat.o...<BR>
Building object file fltkImage2DViewerWindow.o...<BR>
Building object file fltkRGBImage2DViewerWindow.o...<BR>
Building object file fltkLightButton.o...<BR>
Building object file fltkProgressBar.o...<BR>
Building object file fltkShape3D.o...<BR>
Building object file fltkSphere3D.o...<BR>
Building object file fltkWindowInteractive.o...<BR>
Building object file fltkTimeProbeGUI.o...<BR>
Building object file fltkTimeProbesCollector.o...<BR>
Building object file fltkUtils.o...<BR>
Building static library libITKFltkImageViewer.a...<BR>
Building executable /Applications/ITK_VTK/ITK/InsightApplication_binary/ImageViewer/ImageViewer...<BR>
ld: warning multiple definitions of symbol _crc32<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(crc32.o) definition of _crc32 in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(crc32.o) definition of _crc32<BR>
ld: warning multiple definitions of symbol _get_crc_table<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(crc32.o) definition of _get_crc_table in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(crc32.o) definition of _get_crc_table<BR>
ld: warning multiple definitions of symbol _deflate<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(deflate.o) definition of _deflate in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(deflate.o) definition of _deflate<BR>
ld: warning multiple definitions of symbol _deflateCopy<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(deflate.o) definition of _deflateCopy in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(deflate.o) definition of _deflateCopy<BR>
ld: warning multiple definitions of symbol _deflateReset<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(deflate.o) definition of _deflateReset in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(deflate.o) definition of _deflateReset<BR>
ld: warning multiple definitions of symbol _deflateSetDictionary<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(deflate.o) definition of _deflateSetDictionary in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(deflate.o) definition of _deflateSetDictionary<BR>
ld: warning multiple definitions of symbol _deflateInit2_<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(deflate.o) definition of _deflateInit2_ in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(deflate.o) definition of _deflateInit2_<BR>
ld: warning multiple definitions of symbol _deflateEnd<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(deflate.o) definition of _deflateEnd in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(deflate.o) definition of _deflateEnd<BR>
ld: warning multiple definitions of symbol _deflateParams<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(deflate.o) definition of _deflateParams in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(deflate.o) definition of _deflateParams<BR>
ld: warning multiple definitions of symbol _deflateInit_<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(deflate.o) definition of _deflateInit_ in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(deflate.o) definition of _deflateInit_<BR>
ld: warning multiple definitions of symbol _zError<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(zutil.o) definition of _zError in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(zutil.o) definition of _zError<BR>
ld: warning multiple definitions of symbol _zlibVersion<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(zutil.o) definition of _zlibVersion in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(zutil.o) definition of _zlibVersion<BR>
ld: warning multiple definitions of symbol _inflateEnd<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(inflate.o) definition of _inflateEnd in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(inflate.o) definition of _inflateEnd<BR>
ld: warning multiple definitions of symbol _inflateSync<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(inflate.o) definition of _inflateSync in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(inflate.o) definition of _inflateSync<BR>
ld: warning multiple definitions of symbol _inflateSyncPoint<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(inflate.o) definition of _inflateSyncPoint in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(inflate.o) definition of _inflateSyncPoint<BR>
ld: warning multiple definitions of symbol _inflate<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(inflate.o) definition of _inflate in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(inflate.o) definition of _inflate<BR>
ld: warning multiple definitions of symbol _inflateSetDictionary<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(inflate.o) definition of _inflateSetDictionary in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(inflate.o) definition of _inflateSetDictionary<BR>
ld: warning multiple definitions of symbol _inflateInit2_<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(inflate.o) definition of _inflateInit2_ in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(inflate.o) definition of _inflateInit2_<BR>
ld: warning multiple definitions of symbol _inflateReset<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(inflate.o) definition of _inflateReset in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(inflate.o) definition of _inflateReset<BR>
ld: warning multiple definitions of symbol _inflateInit_<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(inflate.o) definition of _inflateInit_ in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(inflate.o) definition of _inflateInit_<BR>
ld: warning multiple definitions of symbol _adler32<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(adler32.o) definition of _adler32 in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(adler32.o) definition of _adler32<BR>
ld: warning multiple definitions of symbol _gzeof<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzeof in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzeof<BR>
ld: warning multiple definitions of symbol _gzclose<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzclose in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzclose<BR>
ld: warning multiple definitions of symbol _gzdopen<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzdopen in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzdopen<BR>
ld: warning multiple definitions of symbol _gzerror<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzerror in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzerror<BR>
ld: warning multiple definitions of symbol _gzflush<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzflush in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzflush<BR>
ld: warning multiple definitions of symbol _gzgetc<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzgetc in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzgetc<BR>
ld: warning multiple definitions of symbol _gzgets<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzgets in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzgets<BR>
ld: warning multiple definitions of symbol _gzopen<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzopen in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzopen<BR>
ld: warning multiple definitions of symbol _gzprintf<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzprintf in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzprintf<BR>
ld: warning multiple definitions of symbol _gzputc<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzputc in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzputc<BR>
ld: warning multiple definitions of symbol _gzputs<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzputs in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzputs<BR>
ld: warning multiple definitions of symbol _gzread<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzread in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzread<BR>
ld: warning multiple definitions of symbol _gzrewind<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzrewind in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzrewind<BR>
ld: warning multiple definitions of symbol _gzseek<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzseek in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzseek<BR>
ld: warning multiple definitions of symbol _gzsetparams<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzsetparams in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzsetparams<BR>
ld: warning multiple definitions of symbol _gztell<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gztell in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gztell<BR>
ld: warning multiple definitions of symbol _gzwrite<BR>
/Applications/ITK_VTK/ITK/ITK_Binary/bin/libitkzlib.a(gzio.o) definition of _gzwrite in section (__TEXT,__text)<BR>
/usr/lib/libz.dylib(gzio.o) definition of _gzwrite<BR>
File &quot;/Applications/ITK_VTK/FLTK/fltk_source/fluid/fluid&quot;; Line 1; ### /Developer/Tools/Rez - Expected identifier, but got 'Unknown token'<BR>
:<BR>
:<BR>
:<BR>
File &quot;/Applications/ITK_VTK/FLTK/fltk_source/fluid/fluid&quot;; Line 1733; ### /Developer/Tools/Rez - Line too long.<BR>
File &quot;/Applications/ITK_VTK/FLTK/fltk_source/fluid/fluid&quot;; ### /Developer/Tools/Rez - Since errors occurred, /Applications/ITK_VTK/ITK/InsightApplication_binary/ImageViewer/ImageViewer's resource fork was not written.<BR>
make[1]: *** [/Applications/ITK_VTK/ITK/InsightApplication_binary/ImageViewer/ImageViewer] Error 2<BR>
make: *** [default_target] Error 2<BR>
<BR>
<FONT COLOR="#0000FF">*******************************************************<BR>
Yingli Fan<BR>
</FONT></SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT COLOR="#0000FF"><FONT FACE="Monaco"><TT>Laboratory for Bioimaging and Anatomical Informatics<BR>
</TT></FONT><FONT FACE="Verdana">Department of Neurobiology &amp; Anatomy<BR>
Drexel University, College of Medicine<BR>
2900 Queen Lane PA 19129<BR>
Tel: 215-9918455 Fax: 215-843-9367<BR>
Email: Yingli.Fan@drexel.edu &nbsp;&nbsp;<BR>
*******************************************************<BR>
</FONT></FONT><FONT FACE="Verdana"><BR>
</FONT></SPAN>
</BODY>
</HTML>