[vtkusers] Re: I have a question

cly clyao at cugb.edu.cn
Mon Apr 1 21:25:52 EST 2002


Hi, Denny,

You should set some parameters in VC++ environment. Such as setting the directories in 'Options...' menu under 'Tools', and linking the vtk*.libs at project settings.
Hope this help you.

cly

----- Original Message ----- 
From: "he j" <husthj at yahoo.com>
To: <clyao at cugb.edu.cn>
Sent: Tuesday, April 02, 2002 9:19 AM
Subject: I have a question


> hi cly:
>   I saw your email about MC in vtk email lists. I 'm a
> newbie in vtk and very intersting in vtk. I copy your
> code and paste it in VC++6.0. But I got the following
> errors when I compiled the code:
> 
> jkl.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall
> vtkMarchingCubes::SetValue(int,float)"
> (__imp_?SetValue at vtkMarchingCubes@@QAEXHM at Z)
> jkl.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: static class
> vtkMarchingCubes * __cdecl
> vtkMarchingCubes::New(void)"
> (__imp_?New at vtkMarchingCubes@@SAPAV1 at XZ)
> jkl.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: static class
> vtkVolume16Reader * __cdecl
> vtkVolume16Reader::New(void)"
> (__imp_?New at vtkVolume16Reader@@SAPAV1 at XZ)
> 
> I guess it was because some libs was not included in
> my project,right? How can I solve this problem? 
> 
> sincerely Denny he 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Greetings - send holiday greetings for Easter, Passover
> http://greetings.yahoo.com/
> 


More information about the vtkusers mailing list