<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>Hello, <br></div>
<div dir="ltr"><div> </div>
<div>OS: Windows 10 x64<br></div>
<div>CMAKE: 3.3.0<br></div>
<div>IDE: VS MS2015 x64<br></div>
<div>VTK: 6.3.0<br></div>
<div>VTK BUILD: Debug x64<br></div>
<div> </div>
<div>VTK built in Debug and installed okay. Thank you.<br></div>
<div> </div>
<div>Attempting to switch to OpenGL2.<br></div>
<div> </div>
<div>In CMAKE, the relevant switches set<br></div>
<div> </div>
<div><div>BUILD<br></div>
<div> </div>
<div>BUILD_SHARED_LIBS [On]<br></div>
</div>
<div> </div>
<div>MODULE<br></div>
<div> </div>
<div>Module_vtkRenderingContextOpenGL2 [On]<br></div>
<div> </div>
<div>Module_vtkRenderingOpenGL2 [On]<br></div>
<div> </div>
<div>Module_vtkRenderingVolumeOpenGL2 [On]<br></div>
<div> </div>
<div>Module_vtkglew [On]<br></div>
<div> </div>
<div>VTK<br></div>
<div> </div>
<div>VTK_LEGACY_REMOVE [On]<br></div>
<div> </div>
<div>VTK_LEGACY_SILENT [On]<br></div>
<div> </div>
<div>VTK_RENDERING_BACKEND OpenGL2<br></div>
<div> </div>
<div>[CMake cache cleared before running Configure with OpenGL2 switches set]<br></div>
<div> </div>
<div>Including shared vtk libs in a project. <br></div>
<div>Build progresses fine [as before] until the last linking libraries stage<br></div>
<div> </div>
<div><div>1> Finished searching libraries<br></div>
<div>1>stdafx.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl vtkRenderingOpenGL2Instantiator::vtkRenderingOpenGL2Instantiator(void)" (__imp_??0vtkRenderingOpenGL2Instantiator@@QEAA@XZ) referenced in function "void __cdecl `dynamic initializer for 'vtkRenderingOpenGL2InstantiatorInitializer''(void)" (??__EvtkRenderingOpenGL2InstantiatorInitializer@@YAXXZ)<br></div>
<div> </div>
<div>1>stdafx.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl vtkRenderingOpenGL2Instantiator::~vtkRenderingOpenGL2Instantiator(void)" (__imp_??1vtkRenderingOpenGL2Instantiator@@QEAA@XZ) referenced in function "void __cdecl `dynamic atexit destructor for 'vtkRenderingOpenGL2InstantiatorInitializer''(void)" (??__FvtkRenderingOpenGL2InstantiatorInitializer@@YAXXZ)<br></div>
</div>
<div> </div>
<div>Have included all created vtk libs and dlls in the project, so puzzled as to why these external vtk symbols have not been resolved.<br></div>
<div> </div>
<div><div>Google and vtk user mailing list did unfortunately not provide insight.<br></div>
<div> </div>
<div>Please advise.<br></div>
</div>
<div> </div>
<div>Regards.<br></div>
<div> </div>
</div>
<div> </div>
</body>
</html>