PotreeConverter
PotreeConverter copied to clipboard
Configuring incomplete, errors occurred!
-- The C compiler identification is GNU 4.8.5 -- 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 -- Build type is 'Release' -- Performing Test BROTLI_EMSCRIPTEN -- Performing Test BROTLI_EMSCRIPTEN - Failed -- Compiler is not EMSCRIPTEN -- Looking for log2 -- Looking for log2 - not found -- Looking for log2 -- Looking for log2 - found CMake Warning at Converter/libs/brotli/CMakeLists.txt:319 (message): Test file tests/testdata/alice29.txt does not exist.
CMake Warning at Converter/libs/brotli/CMakeLists.txt:319 (message): Test file tests/testdata/asyoulik.txt does not exist.
CMake Warning at Converter/libs/brotli/CMakeLists.txt:319 (message): Test file tests/testdata/lcet10.txt does not exist.
CMake Warning at Converter/libs/brotli/CMakeLists.txt:319 (message): Test file tests/testdata/plrabn12.txt does not exist.
-- Looking for C++ include pthread.h CMake Error in /root/potree/PotreeConverter-2.1/build/CMakeFiles/CMakeTmp/CMakeLists.txt: Target "cmTC_b327d" requires the language dialect "CXX20" (with compiler extensions), but CMake does not know the compile flags to use to enable it.
CMake Error at /usr/share/cmake-3.21/Modules/CheckIncludeFileCXX.cmake:94 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): /usr/share/cmake-3.21/Modules/FindThreads.cmake:148 (CHECK_INCLUDE_FILE_CXX) CMakeLists.txt:57 (find_package)
-- Configuring incomplete, errors occurred! See also "/root/potree/PotreeConverter-2.1/build/CMakeFiles/CMakeOutput.log". See also "/root/potree/PotreeConverter-2.1/build/CMakeFiles/CMakeError.log".
I am facing the same issue. Did you have a solution for this?
you need a C++ compiler that supports C++20
you need upgrade your compiler to GCC8 or later
up grade gcc and g++ to 11