Hi all
I'm trying to install coin3d on ubuntu 20.04. However, when running
cmake -Hcoin -Bcoin_build -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local
-DCMAKE_BUILD_TYPE=Release -DCOIN_BUILD_DOCUMENTATION=OFF
I get the following error:
CMake Error at /home/karin/coin_build/CMakeFiles/CMakeTmp/CMakeLists.txt:17 (add_executable):
Target "cmTC_57d34" links to target "OpenGL::OpenGL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at /usr/share/cmake-3.16/Modules/CheckCXXSourceCompiles.cmake:110 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
CMakeLists.txt:679 (check_cxx_source_compiles)
Do any of you know how to solve this?
Best
Karin