[vtkusers] vtk4.2.2 build Redhat 9 Help!!
Mathieu Malaterre
mathieu.malaterre at kitware.com
Sat Feb 28 15:22:27 EST 2004
Bruce,
There is a minor problem in the VTK/Hybrid/CMakeLists.txt you should consider applying this patch:
http://vtk.org/cgi-bin/cvsweb.cgi/VTK/Hybrid/CMakeLists.txt.diff?r1=1.87&r2=1.88
HTH
Mathieu
> Hi there,
> I'm having trouble building vtk4.2.2 on redhat 9 using cmake 1.8. I've done a
> build before (at work) so kind of know what I'm doing. Now I'm trying to build
> at home and am pretty sure I've set all the variables correctly in cmake but get
> the following error:
>
> ###########################################################################
>
> Building executable /usr/local/vtk4.2.2/bin/vtk...
> g++ -Wno-deprecated -I/usr/X11R6/include -fPIC vtkTkAppInit.o -o
> /usr/local/vtk4.2.2/bin/vtk -rdynamic -L. -L/usr/local/vtk4.2.2/lib
> -L/usr/X11R6/lib -lvtkCommonTCL -lvtkFilteringTCL -lvtkGraphicsTCL
> -lvtkImagingTCL -lvtkIOTCL -lvtkRenderingTCL -lvtkPatentedTCL -lvtkHybridTCL
> -lvtkPatented -lvtkHybrid -lvtkRenderingTCL -lvtkGraphicsTCL -lvtkImagingTCL
> -lvtkRendering -lvtkGraphics -lvtkImaging -lSM -lICE -lSM -lICE -lX11 -lXext
> -lX11 -lXext -lvtkftgl -lGLU -lGL -lvtkfreetype -lXt -lSM -lICE -lX11 -lXext
> -ltk8.3 -lvtkIOTCL -lvtkFilteringTCL -lvtkCommonTCL -lvtkIO -lvtkFiltering
> -lvtkCommon -lpthread -ldl -lm -lpng -lz -lz -ljpeg -ltiff -lvtkexpat -ltcl8.3
> -Wl,-rpath,.:/usr/local/vtk4.2.2/lib:/usr/X11R6/lib
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushPipeline::New()'
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushPipeline::SetExecutionToOutputRatio(vtkProcessObject*, int)'
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushPipeline::SetInputToExecutionRatio(vtkProcessObject*, int, int)'
> /usr/local/vtk4.2.2/lib/libvtkHybrid.so: undefined reference to
> `vtkInstantiatorvtkPushImageFilterSampleNew()'
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushImageReader::Run()'
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushPipeline::Run(vtkSource*)'
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushImageReader::New()'
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushImageFilterSample::New()'
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushPipeline::AddWindow(vtkRenderWindow*)'
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushPipeline::AddPusher(vtkProcessObject*)'
> /usr/local/vtk4.2.2/lib/libvtkHybrid.so: undefined reference to
> `vtkInstantiatorvtkPushImageReaderNew()'
> /usr/local/vtk4.2.2/lib/libvtkHybrid.so: undefined reference to
> `vtkInstantiatorvtkPushPipelineNew()'
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushPipeline::Push(vtkSource*)'
> /usr/local/vtk4.2.2/lib/libvtkHybridTCL.so: undefined reference to
> `vtkPushImageReader::Push()'
> collect2: ld returned 1 exit status
> make[3]: *** [/usr/local/vtk4.2.2/bin/vtk] Error 1
> make[3]: Leaving directory `/usr/local/vtk4.2.2/Wrapping/Tcl'
> make[2]: *** [default_target] Error 2
> make[2]: Leaving directory `/usr/local/vtk4.2.2/Wrapping/Tcl'
> make[1]: *** [default_target_Wrapping_Tcl] Error 2
> make[1]: Leaving directory `/usr/local/vtk4.2.2'
> make: *** [default_target] Error 2
>
> #####################################################################
>
> Anyone see anything obvious?
>
> Thanks
> Bruce Lamond
>
> --
>
> ################################################
> # Bruce Lamond #
> # Edinburgh Virtual Environment Centre (EdVEC) #
> # University of Edinburgh #
> # JCMB room 2403 #
> # The Kings Buildings #
> # West Mains Road #
> # Edinburgh EH9 3JZ #
> # UK #
> # www.edvec.ed.ac.uk #
> # Tel. (00 44 )/(0) 131 650 4981 #
> ################################################
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list