Open FuchtelJockel opened 1 week ago
CMAKE_C_COMPILER_WORKS
CMAKE_CXX_COMPILER_WORKS
What if you skip compiler checks -DCMAKE_CXX_COMPILER_WORKS=1
?
Now it configures until:
-- Looking for C++ include filesystem
-- Looking for C++ include filesystem - not found
-- Looking for C++ include experimental/filesystem
-- Looking for C++ include experimental/filesystem - not found
CMake Error at CMakeLists.txt:167 (message):
<filesystem> was not found.
I have installed both libcxx-devel and libstdc++-devel
$ find /usr/include/c++ -name filesystem
/usr/include/c++/14/experimental/filesystem
/usr/include/c++/14/filesystem
/usr/include/c++/v1/filesystem
I found the issue.
which gcc
/usr/lib64/ccache/gcc
This will set the GCC_BASE_PATH
to /usr/lib64
and CMake will look for /usr/lib64/include
instead of /usr/include
.
Searching for this issue online or asking the AI didn't really help, sadly.