Problems Linking libVTKGraphics.so

fmri fmri at wilma.ukbf.fu-berlin.de
Tue Apr 4 08:52:53 EDT 2000


Eduardo,

I think Your problem might be rooted in a multiple definition due to using --with-mesa
together with --with-opengl.

Sincerely, Arno R. Schleich, MS MD
Dpt. Otorhinolaryngology, Freie Universitaet Berlin

Eduardo Kortright wrote:

> 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.
> --------------------------------------------------------------------


--------------------------------------------------------------------
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