Sun, 08/20/2023 - 19:50
Forums:
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"
},
Thu, 08/31/2023 - 11:55
Hello, unfortunatelly, I don't know fast solution. our CMake use find_project functionaluty. I will need to check it.
Best regards, Dmitrii.