[vtk-developers] Libtiff in VTK and new CMake
Lorensen, William E (CRD)
lorensen at crd.ge.com
Mon Feb 4 14:03:11 EST 2002
That was it. Now it's failing in TimeRenderer (which is is another kit). If I add the LINK_LIBRARIES
line to that kit's CMakeLists.txt file, it builds fine.
Bill
Bill
-----Original Message-----
From: Andy Cedilnik [mailto:Andy.Cedilnik at kitware.com]
Sent: Monday, February 04, 2002 11:06 AM
To: Lorensen, William E (CRD); vtk-developers at public.kitware.com
Subject: RE: [vtk-developers] Libtiff in VTK and new CMake
>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