Problems with CMAKE to build VS2026 solution

Hi,

I'd like to build OCC from source to have it build with the newest compiler.

- I downloaded the OCC source
- I use the CMAKE GUI
- I downloaded and compiled TCL9.0.3
- I downloaded and compiled TK9.0.3

I set the paths in the CMAKE variables, but CMAKE always complains:
Warning: TK library is not found. TK will be disabled.
Info: The directories of 3rdparty headers:
D:\libraries\cpp\tcl\tcl9.0.3\include
D:\libraries\cpp\tk\tk9.0.3\include
CMake Error at CMakeLists.txt:954 (message):
Could not find libraries of used third-party products:
3RDPARTY_TCL_LIBRARY_DIR
CMake Warning at CMakeLists.txt:969 (message):
Could not find DLLs of used third-party products: 3RDPARTY_TCL_DLL_DIR
3RDPARTY_TK_DLL_DIR

What exactly is needed? Which files? I provided him a folder with the h files and another folder with the compiled lib's and DLL's. What is still missing?

Best regards

Attachments: