Hallo zusammen, bei mir ist die Installation des Minecraft-Servers auf dem Raspberry Pi mit folgender Fehlermeldung beim Compilieren gescheitert:
ubuntu@raspberrypi:~/cuberite$ cmake . -DCMAKE_BUILD_TYPE=RELEASE -- The CXX compiler identification is Clang 9.0.0 -- The C compiler identification is GNU 9.2.1 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- broken CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCXXCompiler.cmake:45 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/ubuntu/cuberite/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_fdd9d/fast" /usr/bin/make -f CMakeFiles/cmTC_fdd9d.dir/build.make CMakeFiles/cmTC_fdd9d.dir/build make[1]: Entering directory '/home/ubuntu/cuberite/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_fdd9d.dir/testCXXCompiler.cxx.o /usr/bin/c++ -o CMakeFiles/cmTC_fdd9d.dir/testCXXCompiler.cxx.o -c /home/ubuntu/cuberite/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_fdd9d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fdd9d.dir/link.txt --verbose=1 /usr/bin/c++ -rdynamic CMakeFiles/cmTC_fdd9d.dir/testCXXCompiler.cxx.o -o cmTC_fdd9d /usr/bin/ld: cannot find -lstdc++ clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [CMakeFiles/cmTC_fdd9d.dir/build.make:87: cmTC_fdd9d] Error 1 make[1]: Leaving directory '/home/ubuntu/cuberite/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_fdd9d/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:23 (enable_language) -- Configuring incomplete, errors occurred! See also "/home/ubuntu/cuberite/CMakeFiles/CMakeOutput.log". See also "/home/ubuntu/cuberite/CMakeFiles/CMakeError.log". ubuntu@raspberrypi:~/cuberite$
Was mache ich da falsch?
Gruß, versuchshase.