[vtkusers] build errors

kývýlcým helhel kvlcm_helhel at yahoo.com
Tue Feb 12 01:17:36 EST 2008


Hello. I'm Kivilcim. i'm new in using vtk and visual
studio.net 2003 and i face some problem.Hoping to 

get your help.

I start with a small code patch.
It is here:

 #include "stdafx.h"
 #include "vtkPolyData.h"
 int main()
 {
     vtkPolyData *profile = vtkPolyData :: New ();
     return 0;
 }

while compiling there is no problem but when I try to build it gives
the errors below:


VTK_Project error LNK2019: unresolved external symbol "public: static class vtkPolyData * __cdecl vtkPolyData::New(void)" (?New at vtkPolyData@@SAPAV1 at XZ) referenced in function _main
VTK_Project fatal error LNK1120: 1 unresolved externals

I compile and build vtk5.0.4 with using cmake and add the paths to the .
net 2003 platform 

C:\VTK\vtk-5.0.4\include\vtk-5.0
C:\VTK\vtk-5.0.4\lib

What can I do for running a vtk code in c++?
Help me please...


Kivilcim HELHEL



       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080211/729cc74c/attachment.htm>


More information about the vtkusers mailing list