Microsoft Visuall C++ 6.0

Paul Hsieh pahsieh at usgs.gov
Tue Aug 24 10:40:00 EDT 1999


Hi Rong: This is a linker problem. Most likely VCPP cannot find the .lib file.
If you downloaded and installed vtk24cpp.exe, you should find vtkdll.lib in the
folder C:\Program Files\vtk24\lib. Add this file to your VCPP project and it
should build correctly. Good luck.

Paul

yi dingrong wrote:
> 
> Hello there,
> 
> I may have a stupid question. I am trying to run sample code: Cone.cxx with Microsoft Visual C++ 6.0. After compiling it succeffully, However, I can not run it due to  more than a dozen of errors like this:
> 
>  Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkRenderWindow::SetFileName(char *)" (__imp_?SetFileName at vtkRenderWindow@@QAEXPAD at Z)
> 
> I do not know how to open the project or work space properly with Microsoft Visual C++ for an existing file. Is there anybody there teach me how to make the code running?
> 
> Thanks in advance.
> 
> Rong


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list