Problems Linking libVTKGraphics.so

Eduardo Kortright eduardo at cs.uno.edu
Fri Mar 31 18:41:15 EST 2000


Hello all,

First of all, thanks to Klaatu and David for their help with Java.

Sorry to keep pestering the group, but when trying to compile VTK 3.1
under Linux, I am still having problems.  

I did a 
	./configure --with-mesa --with-opengl --with-shared --with-tcl \
		--with-patented --with-contrib --with-java --with-tkwidget --with-x
and edited system.make to include pthread support.

Everything compiles fine.  The problem now seems to be linking 
libVTKGraphics.so.  I get dozens of "multiple definition" messages such
as:

	vtkMesaPolyDataMapper.o: In function
`vtkOpenGLBeginPolyTriangleOrQuad(GLenum, GLenum &, int)':
	/usr/local/vtk3.1/graphics/vtkOpenGLPolyDataMapper.cxx:335: multiple
definition of 
		`vtkOpenGLBeginPolyTriangleOrQuad(GLenum, GLenum &, int)'

vtkOpenGLPolyDataMapper.o:/usr/local/vtk3.1/graphics/vtkOpenGLPolyDataMapper.cxx:335:
first defined here

The whole thing dies with:

	collect2: ld returned 1 exit status
	make[1]: *** [libVTKGraphics.so] Error 1
	make: *** [build_graphics] Error 2

Has anyone seen anything like this before?

--
Eduardo Kortright			Department of Computer Science
eduardo at cs.uno.edu			University of New Orleans
Voice: (504) 280-6626			Lakefront Campus 
FAX:   (504) 280-7228			New Orleans, LA 70148
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list