$ sudo apt-get install qt5-default oce-draw liboce-\*-dev libeigen3-dev libtbb-dev zlib1g-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'liboce-ocaf-lite-dev' for glob 'liboce-*-dev'
Note, selecting 'liboce-ocaf-dev' for glob 'liboce-*-dev'
Note, selecting 'liboce-visualization-dev' for glob 'liboce-*-dev'
Note, selecting 'liboce-foundation-dev' for glob 'liboce-*-dev'
Note, selecting 'liboce-modeling-dev' for glob 'liboce-*-dev'
Package qt5-default is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'qt5-default' has no installation candidate
$ cmake -G "Ninja" ..
CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMake/FindTBB.cmake:400 (file):
file STRINGS file "/usr/include/tbb/tbb_stddef.h" cannot be read.
Call Stack (most recent call first):
TKJT/CMakeLists.txt:126 (find_package)
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.13")
CMake Error at CMake/FindTBB.cmake:400 (file):
file STRINGS file "/usr/include/tbb/tbb_stddef.h" cannot be read.
Call Stack (most recent call first):
JTAssistant/CMakeLists.txt:59 (find_package)
CMake Warning (dev) at /usr/share/cmake-3.27/Modules/FindOpenGL.cmake:381 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
JTAssistant/CMakeLists.txt:60 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:44 (message):
qt5_use_modules is not part of the official API, and might be removed in Qt
6.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:434 (_qt5_warn_deprecated)
JTAssistant/CMakeLists.txt:147 (qt5_use_modules)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
needs update
Fixed with:
But still no compilation: