[vtkusers] Compilation problem
Bill Oliver
billo at radix.net
Mon Jul 18 21:30:43 EDT 2005
Folk,
I am trying to compile VTK on my new box, and am having a fit. Any help
would be appreciated.
Configuration:
HP Pavilion zd8000 laptop, 768MB RAM, Pentium 4 2.8GHz,
Graphics card: M24 1P [Radeon Mobility X600]
OS: Mandriva Linux 2005LE
I am having trouble with the osmesa support:
make[3]: Entering directory `/home/oliver/VTK/Wrapping/Tcl'
Building object file vtkTkAppInit.o...
Building executable /home/oliver/VTK/bin/vtk...
g++ -Wno-deprecated -I/usr/X11R6/include -fPIC vtkTkAppInit.o
-o /home/oliver/VTK/bin/vtk -rdynamic -L. -L/home/oliver/VTK/bin
-L/usr/X11R6/lib-lvtkCommonTCL -lvtkFilteringTCL -lvtkGraphicsTCL
-lvtkImagingTCL -lvtkIOTCL -lvtkRenderingTCL -lvtkPatentedTCL
-lvtkHybridTCL -lvtkPatented -lvtkHybrid -lvtkRenderingTCL
-lvtkRendering -lvtkftgl -lvtkfreetype -lGLU -lGL -lSM -lICE -lSM -lICE
-lX11 -lXext -lX11 -lXext -lOSMesa -lXt -lSM -lICE -lX11 -lXext
-lvtkGraphicsTCL -lvtkGraphics -lvtkImagingTCL -lvtkImaging -ltk
-lvtkIOTCL -lvtkIO -lvtkDICOMParser -lvtkpng -lvtktiff -lvtkzlib
-lvtkjpeg -lvtkexpat -lvtkFilteringTCL -lvtkFiltering -lvtkCommonTCL
-lvtkCommon -lpthread -ldl -lm -ltcl
-Wl,-rpath,.:/home/oliver/VTK/bin:/usr/X11R6/lib
/usr/X11R6/lib/libOSMesa.so: undefined reference to
`_glapi_get_dispatch'
/usr/X11R6/lib/libOSMesa.so: undefined reference to `_glapi_DispatchTSD'
/usr/X11R6/lib/libOSMesa.so: undefined reference to
`_glapi_get_proc_address'
/usr/X11R6/lib/libOSMesa.so: undefined reference to
`_glapi_noop_enable_warnings'
collect2: ld returned 1 exit status
So, like, where are these GL api things instantiated? Anybody know?
Is this a Mandrake (Mandriva) issue? Mandrake has some peculiarities
(for instance, they don't distribute a python-devel package; in order
to compile the python wrappers, I had to download the source and
point to my personal Python.h and pyconfig.h files).
Do I just need to turn off osmesa capabilities in ccmake? Will it
still work OK?
Thanks!
billo
http://www.billoblog.com/billoblog
More information about the vtkusers
mailing list