<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I have recently installed VTK 5.0 using cmake 2.6 and Visual C++ 2008 Express Edition<br><br>I built vtk using cmake, then built BUILD_ALL and then INSTALL of the sln file. Then in Visual C++ I went to tools-> options and placed the include file directory and the lib files directory in the corresponding places under VC++ Directories. <br><br>I tryed to build the first tutorial (Cone.cxx) but it will not work. I can compile the file with no errors <br><br>------ Build started: Project: tut1, Configuration: Debug Win32 ------<br>Compiling...<br>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release<br>Skipping... (no relevant changes detected)<br>Cone.cxx<br>Build log was saved at "file://c:\Documents and Settings\My Documents\VTK\Source\VTK\Examples\Tutorial\Step1\Cxx\Debug\BuildLog.htm"<br>tut1 - 0
error(s), 1 warning(s)<br>========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========<br><br><br><br>But I can not Build the project. <br><br><br><br>------ Build started: Project: tut1, Configuration: Debug Win32 ------<br>Linking...<br>Cone.obj : error LNK2019: unresolved external symbol "public: void __thiscall vtkCamera::Azimuth(double)" (?Azimuth@vtkCamera@@QAEXN@Z) referenced in function _main<br>Cone.obj : error LNK2019: unresolved external symbol "public: class vtkCamera * __thiscall vtkRenderer::GetActiveCamera(void)" (?GetActiveCamera@vtkRenderer@@QAEPAVvtkCamera@@XZ) referenced in function _main<br>Cone.obj : error LNK2019: unresolved external symbol "public: static class vtkRenderWindow * __cdecl vtkRenderWindow::New(void)" (?New@vtkRenderWindow@@SAPAV1@XZ) referenced in function _main<br>Cone.obj : error LNK2019: unresolved external symbol "public: void __thiscall vtkRenderer::AddActor(class vtkProp *)"
(?AddActor@vtkRenderer@@QAEXPAVvtkProp@@@Z) referenced in function _main<br>Cone.obj : error LNK2019: unresolved external symbol "public: static class vtkRenderer * __cdecl vtkRenderer::New(void)" (?New@vtkRenderer@@SAPAV1@XZ) referenced in function _main<br>Cone.obj : error LNK2019: unresolved external symbol "public: static class vtkActor * __cdecl vtkActor::New(void)" (?New@vtkActor@@SAPAV1@XZ) referenced in function _main<br>Cone.obj : error LNK2019: unresolved external symbol "public: static class vtkPolyDataMapper * __cdecl vtkPolyDataMapper::New(void)" (?New@vtkPolyDataMapper@@SAPAV1@XZ) referenced in function _main<br>Cone.obj : error LNK2019: unresolved external symbol "public: static class vtkConeSource * __cdecl vtkConeSource::New(void)" (?New@vtkConeSource@@SAPAV1@XZ) referenced in function _main<br>Cone.obj : error LNK2019: unresolved external symbol "public: class vtkAlgorithmOutput * __thiscall vtkAlgorithm::GetOutputPort(int)"
(?GetOutputPort@vtkAlgorithm@@QAEPAVvtkAlgorithmOutput@@H@Z) referenced in function "public: class vtkAlgorithmOutput * __thiscall vtkAlgorithm::GetOutputPort(void)" (?GetOutputPort@vtkAlgorithm@@QAEPAVvtkAlgorithmOutput@@XZ)<br>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup<br>Debug\tut1.exe : fatal error LNK1120: 10 unresolved externals<br>Build log was saved at "file://c:\Documents and Settings\Cory\My Documents\VTK\Source\VTK\Examples\Tutorial\Step1\Cxx\Debug\BuildLog.htm"<br>tut1 - 11 error(s), 0 warning(s)<br>========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br><br>Can anyone help me with these errors. <br><br>Thank You,<br><br> <br><br></td></tr></table><br>