[vtkusers] Re: 2. Linking problems (Arun Puri)

Andy Potts a.potts at ultra.eee.strath.ac.uk
Mon Dec 18 06:00:39 EST 2000


Hi Arun,

This link problem is caused by the missing vtk library. The library has to
be added to the project settings in order for the project to link. There are
a couple of ways to do this. You have to specify the path to the vtkDll.lib
using the Project menu then selecting Projects Settings. Once there select
the link tab and under the Object/Library modules: box type vtkDll.lib. You
may have to set the path to the library if you have not done so already from
the Tools/Options then directories. The other alternative is to specify the
path to the vtkDll.lib directly from the Project Settings. This will be
different for each and everyone's computer settings depending upon where vtk
is installed, however something like this may work ..\..\lib\vtkDll.lib if
you know the appropriate path from the current project, or,
c:\SomeDirectory\lib\vtkDll.lib to specify the actual path where
SomeDirectory is the place where you installed the vtk library and include
files.


Hope this helps.
Andy Potts.

----- Original Message -----
From: <vtkusers-admin at public.kitware.com>
To: <vtkusers at public.kitware.com>
Sent: Sunday, December 17, 2000 9:00 AM
Subject: vtkusers digest, Vol 1 #233 - 3 msgs


>
> Send vtkusers mailing list submissions to
> vtkusers at public.kitware.com
>
> To subscribe or unsubscribe via the web, visit
> http://public.kitware.com/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
> vtkusers-request at public.kitware.com
> You can reach the person managing the list at
> vtkusers-admin at public.kitware.com
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of vtkusers digest..."
>
>
> Today's Topics:
>
>   2. Linking problems (Arun Puri)
>
> --__--__--
>
> Message: 2
> Reply-To: <arunpuri at flashmail.com>
> From: "Arun Puri" <arunpuri at flashmail.com>
> To: <vtkusers at public.kitware.com>
> Subject: [vtkusers] Linking problems
> Date: Sun, 17 Dec 2000 17:54:53 +0800
> charset="iso-8859-1"
>
> Hi
>
> I am new to VTK. While trying to build the Sphere Example given on the VTK
> website I am getting the following error. Can someone tell me what it
means
> and how to overcome it?
>
> Sphere.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: void __thiscall
> vtkProperty::SetColor(float,float,float)"
> (__imp_?SetColor at vtkProperty@@QAEXMMM at Z)
>
>
> I am using Windows 2000 and VS6 sp4.Thanks
>
> Regards
> Arun
>
>
>
>
>
> --__--__--
>
> _______________________________________________
> vtkusers mailing list
> vtkusers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
> End of vtkusers Digest
>





More information about the vtkusers mailing list