[vtk-developers] Libtiff in VTK and new CMake

Andy Cedilnik Andy.Cedilnik at kitware.com
Mon Feb 4 11:05:49 EST 2002


>I am having trouble building TK (and Insight) today. I did an update about 
>10m minutes ago. I have
>updated and rebuilt CMake LatestRelease. Building with gcc on solaris I get:
>g++  -g -fpermissive CellLocator.o  -L/home/lorensen/VTK-solaris/bin/ 
>-lpthread -lthread -ldl -lm
>-lvtkCommon -lvtkFiltering -lvtkGraphics -lvtkRendering -lGL -lXt  -lSM 
>-lICE  -L/usr/openwin/lib
>-R/usr/openwin/lib -lX11 -lXext -lsocket  -lnsl -lvtkImaging -lvtkGraphics 
>-lvtkIO -lvtkFiltering
>-lvtkCommon -lvtkpng -lvtkzlib -lvtkjpeg -lpthread -lthread -ldl -lm 
>-lvtkCommon -lvtkFiltering
>-lvtkGraphics -lvtkRendering -lGL -lXt  -lSM -lICE  -L/usr/openwin/lib 
>-R/usr/openwin/lib -lX11
>-lXext -lsocket  -lnsl -lvtkImaging -lvtkGraphics -lvtkIO -lvtkFiltering 
>-lvtkCommon -lvtkpng
>-lvtkzlib -lvtkjpeg -R/home/lorensen/VTK-solaris/bin/  -o 
>/home/lorensen/VTK-solaris/bin/CellLocator
>Undefined                       first referenced
>  symbol                             in file
>__eprintf 
>/home/lorensen/VTK-solaris/bin//libvtktiff.so
>ld: fatal: Symbol referencing errors. No output written to 
>/home/lorensen/VTK-solaris/bin/CellLocator
>collect2: ld returned 1 exit status
>gmake[5]: *** [/home/lorensen/VTK-solaris/bin/CellLocator] Error 1
>gmake[4]: *** [default_target] Error 2
>gmake[3]: *** [default_target_Cxx] Error 2
>gmake[2]: *** [default_target] Error 2
>gmake[1]: *** [default_target_Graphics_Testing] Error 2
>gmake: *** [default_target] Error 2

Ok, can you please try update VTK/Graphics/Testing/Cxx/CMakeLists.txt
and try again? I think this will solve the problem, since I see your 
command line does
not refer to libtiff at all. The change in CMakeLists.txt should add 
-lvtktiff to the
command.

Thank you.
                         Andy




More information about the vtk-developers mailing list