[vtkusers] vtk install error.

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Fri Oct 3 08:40:05 EDT 2003


Hi Rao,

	Please go to:
/net/talisker/export/xdata4/rjianguo/tapeContents/vtkNew/VTK/binForVTK/
Open 'CMakeCache.txt'
find were libtiff is:
(search the file for something like:
//Where can the tiff library be found
TIFF_LIBRARY:FILEPATH=/********/libtiff.so

Then do

$ nm /******/libtiff.so | grep _TIFFmalloc

It should be defined, if not, then go back to cmake (ccmake) and select

VTK_USE_SYSTEM_TIFF = OFF
(this is in advanced option)

HTH
mathieu


Rao Jianguo wrote:
> Hi Mathieu,
> 
> I hit the first error now.
> 
> ================================================================
> cmake.depends is up-to-date
> /net/talisker/export/xdata4/rjianguo/tapeContents/vtkNew/VTK/binForVTK/Graphics/Testing/Cxx: 
> building defau
> lt_target
> Building dependencies. cmake.depends...
> `cmake.check_depends' is up to date.
> `cmake.depends' is up to date.
> Building object file GraphicsCxxTests.o...
> Building object file Mace.o...
> Building object file expCos.o...
> Building object file CellLocator.o...
> Building object file PointLocator.o...
> Building object file FrustumClip.o...
> Building object file RGrid.o...
> Building object file volProt.o...
> Building executable 
> /net/talisker/export/xdata4/rjianguo/tapeContents/vtkNew/VTK/binForVTK/bin/GraphicsCxxT 
> 
> ests...
> Undefined                       first referenced
>  symbol                             in file
> _TIFFmalloc                         
> /net/talisker/export/xdata4/rjianguo/tapeContents/vtkNew/VTK/binForVTK/
> bin/libvtkIO.so
> _TIFFfree                           
> /net/talisker/export/xdata4/rjianguo/tapeContents/vtkNew/VTK/binForVTK/
> bin/libvtkIO.so
> ld: fatal: Symbol referencing errors. No output written to 
> /net/talisker/export/xdata4/rjianguo/tapeContent
> s/vtkNew/VTK/binForVTK/bin/GraphicsCxxTests
> collect2: ld returned 1 exit status
> *** Error code 1
> The following command caused the error:
> c++      -fpermissive  -I/usr/openwin/share/include -fPIC  
> GraphicsCxxTests.o  Mace.o  expCos.o  CellLocato
> r.o  PointLocator.o  FrustumClip.o  RGrid.o  volProt.o   -o 
> /net/talisker/export/xdata4/rjianguo/tapeConten
> ts/vtkNew/VTK/binForVTK/bin/GraphicsCxxTests  -L. 
> -L/net/talisker/export/xdata4/rjianguo/tapeContents/vtkNe
> w/VTK/binForVTK/bin -L/usr/openwin/lib 
> -L/net/mahost/export/system0/local/lib -lvtkRendering -lvtkIO -lvtkG
> raphics -lvtkImaging -lSM -lICE -lSM -lICE -lX11 -lXext -lsocket -lnsl 
> -lX11 -lXext -lsocket -lnsl -lvtkftg
> l -lGLU -lGL -lvtkfreetype -lXt -lSM -lICE -lX11 -lXext -lsocket -lnsl 
> -lvtkFiltering -lvtkCommon -lthread
> -ldl -lm -lpng -lz -lz -ljpeg -ltiff -lvtkexpat 
> -Wl,-R.:/net/talisker/export/xdata4/rjianguo/tapeContents/v
> tkNew/VTK/binForVTK/bin:/usr/openwin/lib:/net/mahost/export/system0/local/lib 
> 
> make: Fatal error: Command failed for target 
> `/net/talisker/export/xdata4/rjianguo/tapeContents/vtkNew/VTK/
> binForVTK/bin/GraphicsCxxTests'
> Current working directory 
> /net/talisker/export/xdata4/rjianguo/tapeContents/vtkNew/VTK/binForVTK/Graphics/T 
> 
> esting/Cxx
> *** Error code 1
> ============================
>  
> 
> Can you help?
> 
> Thanks,
> 
> Jianguo
> 




More information about the vtkusers mailing list