potree / PotreeConverter

Create multi res point cloud to use with potree
http://potree.org
BSD 2-Clause "Simplified" License
681 stars 424 forks source link

Configuring incomplete, errors occurred! #536

Open iEdric opened 3 years ago

iEdric commented 3 years ago

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

Cornelius000 commented 3 years ago

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

orbitfold commented 3 years ago

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

hide-in-code commented 3 years ago

you need upgrade your compiler to GCC8 or later

hwx19981016 commented 1 year ago

up grade gcc and g++ to 11