[vtkusers] How to compile tutorial example?
X Z
xf10036 at hotmail.com
Fri Feb 10 15:51:28 EST 2006
Apparently, the ordering of library is import for gcc 3.3.3
Xiaofeng Zhao
www.xzing.org
>From: James Frye <frye at cs.unr.edu>
>To: Obada Mahdi <omahdi at gmx.de>
>CC: vtkusers at vtk.org
>Subject: Re: [vtkusers] How to compile tutorial example?
>Date: Fri, 10 Feb 2006 12:30:44 -0800 (PST)
>
>Hey, that's it!
>
>I haven't figured out the dependencies, though, but just repeating the
>list of libraries a second time did the trick. Thanks!
>
>Now I just have to either figure out how to make it run with Xinerama, or
>hope FedEx delivers my new display inverter sometime soon :-)
>
>Thanks again,
>James
>
>On Fri, 10 Feb 2006, Obada Mahdi wrote:
>
> > here is another hint which might be worth trying.
> >
> > In your Makefile, libraries are mentioned based on lexicographical
> > order. From what I know about the linking process, the order is
> > significant; undefined symbols are looked up in the libraries in the
> > order they are mentioned in the argument list, but (yet unused) symbols
> > exported by a library are not remembered for later lookup.
> >
> > You can check library dependencies by having a look at the file
> > "VTKLibraryDepends.cmake", which in your installation should reside
> > somewhere in "/opt/vtk/lib/vtk-5.0". In case this is the cause of your
> > "undefined symbols" problem, rearranging the libraries in the argument
> > list (so that every library is mentioned _before_ its dependencies)
> > should help.
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
>http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list