[vtkusers] Visual Studios 6 + vtk setup help

Rasmus Reinhold Paulsen rrp at imm.dtu.dk
Mon Oct 21 05:58:04 EDT 2002


On Sun, 20 Oct 2002, Christopher M. Navarro wrote:

> I have built the vtk 4.0 source with visual studios 6, but I get link 
> errors when trying to build an example (for instance cone.cxx).  Under the 
> tools -> options I set the include directory to   vtk\include  (I put all 
> of the headers into an *include* directory after building vtk 4.0)...I put 
> all of the *.lib and *.dll files in lib and under tools->options I set the 
> library to  vtk\lib  
> 
> I can compile cone.cxx, but when I try to build cone.exe I get link errors 
> like:
> 
> Cone.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall vtkCamera::Azimuth(double)" 
> (__imp_?Azimuth at vtkCamera@@QAEXN at Z)
> 
> Can anyone who has set up Visual studios to work with vtk give me a run 
> down of what else they had to set to get the vtk examples to work?  
> Thanks!

I have written an installation guide to the nightly vtk release
(4.1.1). Perhaps you can use some of it. It can be found here

www.imm.dtu.dk/~rrp  

(in the manuals sections)

Regards,
Rasmus





More information about the vtkusers mailing list