Sun, 11/17/2024 - 21:57
Forums:
Hi everyone, i've got this error:
[cmake] ERROR: Specified unsupported component: TKernel [cmake] ERROR: Specified unsupported component: TKMath [cmake] ERROR: Specified unsupported component: TKGeomBase [cmake] ERROR: Specified unsupported component: TKTInspector [cmake] CMake Error at CMakeLists.txt:34 (find_package): [cmake] Found package configuration file: [cmake] [cmake] /usr/local/lib/cmake/opencascade/OpenCASCADEConfig.cmake [cmake] [cmake] but it set OpenCASCADE_FOUND to FALSE so package "OpenCASCADE" is [cmake] considered to be NOT FOUND.
when i've added this to my cmake:
set(OpenCASCADE_DIR "/usr/local/lib/cmake/opencascade/") find_package(OpenCASCADE REQUIRED COMPONENTS TKernel TKMath TKGeomBase TKTInspector)
my console give me this output:
ls /usr/local/lib/libTKTInspector.so /usr/local/lib/libTKTInspector.so
and i dont know what to do.
Even tried to fully rebuild OCCT with BUILD_Inspector flag on.
Any suggestions?Thx in advance.
Mon, 11/18/2024 - 18:00
Hello. Could you explain your scenarion in mode details? Are you have opencasacde installed? Or you want build occt+samples?
Best regards, Dmitrii.
Mon, 11/18/2024 - 19:25
I have builded opencascade by myself from source.
I want to use VInspector tree view in my application, show details of opened model in tree.
Best regards, Oleksii.
Wed, 11/20/2024 - 15:59
Hello Dmitrii, any suggestion?