[vtkusers] Problems on SuSE7.0 and VTK3.2

Berk Geveci berkgeveci at hotmail.com
Wed Aug 1 12:44:06 EDT 2001


Don't use --with-mesa in configure.

>From: Rene Hommel <rene.hommel at addcom.de>
>Reply-To: rene.hommel at addcom.de
>To: vtkusers <vtkusers at public.kitware.com>
>Subject: [vtkusers] Problems on SuSE7.0 and VTK3.2
>Date: Wed, 01 Aug 2001 14:54:07 +0200
>
>VTK3.2 compile problems on SuSE7.0:
>
>Configuration:
>./configure --with-shared --with-contrib --with-tcl --with-tkwidget
>--with-mesa --with-python
>
>System:
>	gpp-2.95.2
>	libc-2.1.3
>	mesa-3.2-41 (incl. mesadev)
>	tcl-8.3.1   (incl. header files)
>	python-1.5.2
>
>My user.make:
>
>	TCL_INCLUDE=-I/usr/include
>	TCL_LIB=/usr/lib/libtcl8.3.so
>
>	TK_INCLUDE=-I/usr/include
>	TK_LIB=/usr/lib/libtk8.3.so
>
>	MESA_INCLUDE=-I/usr/include/GL
>	MESA_LIB=/usr/lib/libMesaGL.so
>
>	PYTHON_INCLUDES=-I/usr/include/python
>
>
>Error message:
>
>make[1]: Leaving directory `/opt/PAKETE/VTK-3.2/vtk3.2/contrib'
>cd tcl;        make - vtk
>make[1]: Entering directory `/opt/PAKETE/VTK-3.2/vtk3.2/tcl'
>c++ -g -O2  -fPIC   -I. -I./../common -I../common -I/usr/include
>-I/usr/include -I/usr/include/GL   -I/usr/X11R6/include  -I./../graphics
>-DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../contrib
>-DVTK_USE_CONTRIB  -c -o tkAppInit.o ./tkAppInit.cxx
>c++ -o vtk tkAppInit.o \
>-L. -g -O2  -fPIC   -I. -I./../common -I../common -I/usr/include
>-I/usr/include -I/usr/include/GL   -I/usr/X11R6/include  -I./../graphics
>-DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../contrib
>-DVTK_USE_CONTRIB  -rdynamic   -L/opt/PAKETE/VTK-3.2/vtk3.2/contrib
>-lVTKContribTcl -lVTKContrib   -L/opt/PAKETE/VTK-3.2/vtk3.2/imaging
>-lVTKImagingTcl -lVTKImaging -L/opt/PAKETE/VTK-3.2/vtk3.2/graphics
>-lVTKGraphicsTcl -lVTKGraphics -L../common -lVTKCommonTcl -lVTKCommon
>-L/usr/X11R6/lib /usr/lib/libMesaGL.so  /usr/lib/libtk8.3.so
>/usr/lib/libtcl8.3.so -ldl -lpthread \
>-L/usr/X11R6/lib -lXext -lXt -lSM -lICE -lX11  -lm
>/opt/PAKETE/VTK-3.2/vtk3.2/imaging/libVTKImaging.so: undefined reference
>to `OSMesaMakeCurrent'
>/opt/PAKETE/VTK-3.2/vtk3.2/imaging/libVTKImaging.so: undefined reference
>to `OSMesaCreateContext'
>/opt/PAKETE/VTK-3.2/vtk3.2/imaging/libVTKImaging.so: undefined reference
>to `OSMesaDestroyContext'
>collect2: ld returned 1 exit status
>make[1]: *** [vtk] Error 1
>make[1]: Leaving directory `/opt/PAKETE/VTK-3.2/vtk3.2/tcl'
>make: *** [build_tcl] Error 2
>
>I guess: `OSMesaMakeCurrent' o.s.o. are in /usr/include/GL/osmesa.h
>
>#ll /usr/include/GL
>-rw-r--r--   1 root     root        77761 Jul 29  2000 gl.h
>-rw-r--r--   1 root     root        21360 Jul 29  2000 gl_mangle.h
>-rw-r--r--   1 root     root        15441 Jul 29  2000 glu.h
>-rw-r--r--   1 root     root         3335 Jul 29  2000 glu_mangle.h
>-rw-r--r--   1 root     root        29986 Jul 29  2000 glut.h
>-rw-r--r--   1 root     root         4113 Jul 29  2000 glutf90.h
>-rw-r--r--   1 root     root         5827 Jul 29  2000 glx.h
>-rw-r--r--   1 root     root         2464 Jul 29  2000 glx_mangle.h
>-rw-r--r--   1 root     root         7358 Jul 29  2000 osmesa.h
>-rw-r--r--   1 root     root         9281 Jul 29  2000 xmesa.h
>-rw-r--r--   1 root     root         3593 Jul 29  2000 xmesa_x.h
>-rw-r--r--   1 root     root         6056 Jul 29  2000 xmesa_xf86.h
>
>
>Where is the Problem? More configuration details on request! Please
>help!
>
>Regards,
>
>Rene Hommel
>
>_______________________________________________
>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://public.kitware.com/mailman/listinfo/vtkusers


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





More information about the vtkusers mailing list