DiscussionsIssue archiveInstallation and Building

Archived discussion

Error configuring OCCT/tools with ccmake

Installation and BuildingSun, 11/10/2024 - 12:035 replies

Browse this forum
QuestionAuthor

Building OCCT from source.
Branch: V7_8_1
Qt: 5.15.8
This is my output of ccmake

Info: Used native memory manager
 CMake Error at adm/cmake/occt_toolkit.cmake:35 (include_directories):
   include_directories given empty-string as include directory.
 Call Stack (most recent call first):
   CMakeLists.txt:34 (include)
   tools/TKShapeView/CMakeLists.txt:6 (OCCT_INCLUDE_CMAKE_FILE)

 CMake Error at adm/cmake/qt_macro.cmake:62 (qt4_add_resources):
   Unknown CMake command "qt4_add_resources".
 Call Stack (most recent call first):
   adm/cmake/qt_macro.cmake:97 (FIND_AND_WRAP_RESOURCE_FILE)
   adm/cmake/occt_toolkit.cmake:205 (FIND_AND_INSTALL_QT_RESOURCES)
   CMakeLists.txt:34 (include)
   tools/TKShapeView/CMakeLists.txt:6 (OCCT_INCLUDE_CMAKE_FILE)

If you need any additional information - let me know.

Discussion

5 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hello, what platform do you use? And how you install QT?

Do you try to install Inspector? Is it your goal?

Best regards, Commenter-1.

02Author

What do you mean by platform? Desktop, x64, or what?
Via Zypper but also got source, but in configuration using Zypper one.
Yes Inspector, i'll try to use +- every tool pointed here https://dev.opencascade.org/doc/overview/html/occt_user_guides__inspecto....

03Commenter-1

Sorry, I was meaning OS.

04Author

openSUSE

05Author

Well looks like i fixed it, by removing qt4 from cmake files. Need further testing in my app, i'll tell you if something goes wrong.
Thx in advance, if you got any proposals let me know.