<div dir="ltr"><div class="im" style="font-family:arial,sans-serif;font-size:13px">Hi,<br><br>I have installed and compiled the vtk 6.1 on vc++ 2008, and I can run the examples. I want to create a new project and read and write MHD raw files. When I tried to compile the program. I got unresolved external symbol error. Could you please help be solve this problem?<br>
<div><br></div></div><div style="font-family:arial,sans-serif;font-size:13px"><div><font face="arial, sans-serif">1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkRenderer::AddActor(class vtkProp *)" (__imp_?AddActor@vtkRenderer@@QAEXPAVvtkProp@@@Z) referenced in function _main</font></div>
<div><font face="arial, sans-serif">1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkRenderWindowInteractor::SetRenderWindow(class vtkRenderWindow *)" (__imp_?SetRenderWindow@vtkRenderWindowInteractor@@QAEXPAVvtkRenderWindow@@@Z) referenced in function _main</font></div>
<div><font face="arial, sans-serif">1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkRenderWindowInteractor * __cdecl vtkRenderWindowInteractor::New(void)" (__imp_?New@vtkRenderWindowInteractor@@SAPAV1@XZ) referenced in function _main</font></div>
<div><font face="arial, sans-serif">1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkRenderWindow * __cdecl vtkRenderWindow::New(void)" (__imp_?New@vtkRenderWindow@@SAPAV1@XZ) referenced in function _main</font></div>
<div><font face="arial, sans-serif">1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkRenderer * __cdecl vtkRenderer::New(void)" (__imp_?New@vtkRenderer@@SAPAV1@XZ) referenced in function _main</font></div>
<div><font face="arial, sans-serif">1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkActor * __cdecl vtkActor::New(void)" (__imp_?New@vtkActor@@SAPAV1@XZ) referenced in function _main</font></div>
<div><font face="arial, sans-serif">1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkPolyDataMapper::SetInputData(class vtkPolyData *)" (__imp_?SetInputData@vtkPolyDataMapper@@QAEXPAVvtkPolyData@@@Z) referenced in function _main</font></div>
<div><font face="arial, sans-serif">1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class vtkPolyData * __thiscall vtkPolyDataAlgorithm::GetOutput(void)" (__imp_?GetOutput@vtkPolyDataAlgorithm@@QAEPAVvtkPolyData@@XZ) referenced in function _main</font></div>
<div><font face="arial, sans-serif">1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkPolyDataMapper * __cdecl vtkPolyDataMapper::New(void)" (__imp_?New@vtkPolyDataMapper@@SAPAV1@XZ) referenced in function _main</font></div>
<div><font face="arial, sans-serif">1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkSphereSource * __cdecl vtkSphereSource::New(void)" (__imp_?New@vtkSphereSource@@SAPAV1@XZ) referenced in function _main</font></div>
<div><font face="arial, sans-serif">1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup</font></div></div></div>