[vtkusers] VTK with VC++

Amy Squillacote amy.squillacote at kitware.com
Thu Jun 16 08:23:53 EDT 2005


When you ran CMake on VTK, did you turn on 
VTK_BUILD_HYBRID?  (vtkEarthSource is in VTK/Hybrid.)

- Amy

At 04:13 PM 6/15/2005, Srinivas wrote:

>I am using VTK on win XP with visual C++ 6.0.
>I am able to run most of the programs on VC++
>but i was unable to run programs wherein texturing is applyed to
>objects,even though the same program ran on linux platform.
>I was displaying the following error when trying to build the project
>
>Compiling...
>c.cxx
>Linking...
>c.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
>public: static class vtkEarthSource * __cdecl vtkEarthSource::New(void)"
>(__imp_?New at vtkEarthSource@@SAPAV1 at XZ)
>C:\Documents and Settings\Srinivas\Desktop\scr\bin\Debug/c.exe : fatal
>error LNK1120: 1 unresolved externals
>Error executing link.exe.
>
>ALL_BUILD - 2 error(s), 0 warning(s)
>
>please help me to rectify this problem as soon as possible
>
>
>
>_______________________________________________
>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