[vtkusers] undefined reference to _imp___ZN9vtkCamera9SetViewUpEddd

Xiaofeng Zhao xf10036 at hotmail.com
Mon Feb 6 17:45:08 EST 2006


Looks like you're linking to the wrong library.

xz
http://www/xzing.org

----- Original Message ----- 
From: "Martin Baumann" <mailsgetlost at web.de>
To: <vtkusers at vtk.org>
Sent: Monday, February 06, 2006 11:05 AM
Subject: [vtkusers] undefined reference to _imp___ZN9vtkCamera9SetViewUpEddd


> Hi,
>
> I have problems compiling a program that uses VTK-5.0 to MS Windows.
> I use makefiles, MSYS and MinGW as compiler.
>
>
>
> At linking time I get the following messages:
>
> undefined reference to `_imp___ZN9vtkCamera9SetViewUpEddd´
>
> and ot more like this
>
> When I enter
>
> nm vtkRendering.lib I get
>
> ?SetViewUp at vtkCamera@@QAEXNNN at Z
> ___imp_?SetViewUp at vtkCamera@@QAEXNNN at Z
>
> Does this look ok?
>
>
> When I enter the same on my Linux machine, I get different hits.
>
>
>
>
>
> General Question:
> What are the correct libraries for Windows? *.lib? *.dll?
> And what do I have to enter in the makefile: -lvtkCommon or -vtkCommon 
> or -vtkCommon.dll or vtkCommon.lib
>
>
>
> Thanks, MB
> _______________________________________________
> 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