[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Problems Linking libVTKGraphics.so
From:       Eduardo Kortright <eduardo () cs ! uno ! edu>
Date:       2000-03-31 23:41:15
Message-ID: 38E5379B.6754E84C () cs ! uno ! edu
[Download RAW message or body]

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@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@public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic