PotreeConverter icon indicating copy to clipboard operation
PotreeConverter copied to clipboard

Configuring incomplete, errors occurred!

Open iEdric opened this issue 3 years ago • 4 comments

-- 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".

iEdric avatar Sep 22 '21 03:09 iEdric

I am facing the same issue. Did you have a solution for this?

Cornelius000 avatar Oct 18 '21 12:10 Cornelius000

you need a C++ compiler that supports C++20

orbitfold avatar Nov 03 '21 09:11 orbitfold

you need upgrade your compiler to GCC8 or later

hide-in-code avatar Nov 03 '21 11:11 hide-in-code

up grade gcc and g++ to 11

hwx19981016 avatar Sep 02 '23 03:09 hwx19981016