Failure building OCCT version 7_7_2 with VTK version 9_2_6 on windows

When I try to build TKIVtk module on windows I got this error: LINK : fatal error LNK1104: cannot open file vtkRenderingOpenGL.lib My vtk installation directory has the module named vtkRenderingOpenGL2.lib and no way to change the module name with vtk cmake cache settings. If I change the module name manually, TKIVtk gives error: fatal error LNK1104: cannot open file vtkRenderingFreeTypeOpenGL.lib. There is not even vtkRenderingFreeTypeOpenGL2.lib in vtk installation directory. My OCCT Cmake Presets: "cacheVariables": { "BUILD_MODULE_Draw": "OFF", "USE_FREETYPE": "OFF", "USE_TK": "OFF", "USE_VTK": "ON" },

Dmitrii Pasukhin's picture

Hello, unfortunatelly, I don't know fast solution. our CMake use find_project functionaluty. I will need to check it.

Best regards, Dmitrii.