[vtkusers] How to compile tutorial example?

James Frye frye at cs.unr.edu
Fri Feb 10 15:30:44 EST 2006


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.




More information about the vtkusers mailing list