![]() ![]() CMake will not be able to correctly generate this project. gmake: Verzeichnis „/home/odin/Schreibtisch/zweites-projekt/build/CMakeFiles/CMakeTmp“ wird verlassen clang: error: linker command failed with exit code 1 (use -v to see invocation) usr/bin/ld: -lstdc++ kann nicht gefunden werden: Datei oder Verzeichnis nicht gefunden usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0d052.dir/link.txt -verbose=1 usr/bin/clang++ -MD -MT CMakeFiles/cmTC_0d052.dir/ -MF CMakeFiles/cmTC_0d052.dir/.d -o CMakeFiles/cmTC_0d052.dir/ -c /home/odin/Schreibtisch/zweites-projekt/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Building CXX object CMakeFiles/cmTC_0d052.dir/ gmake: Verzeichnis „/home/odin/Schreibtisch/zweites-projekt/build/CMakeFiles/CMakeTmp“ wird betreten Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_0d052/fast & /usr/bin/gmake -f CMakeFiles/cmTC_0d052.dir/build.make CMakeFiles/cmTC_0d052.dir/build ![]() Change Dir: /home/odin/Schreibtisch/zweites-projekt/build/CMakeFiles/CMakeTmp is not able to compile a simple test program. CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message): See also "/home/odin/Schreibtisch/zweites-projekt/build/CMakeFiles/CMakeError.log". See also "/home/odin/Schreibtisch/zweites-projekt/build/CMakeFiles/CMakeOutput.log". Configuring incomplete, errors occurred! Check for working CXX compiler: /usr/bin/clang++ - broken Check for working CXX compiler: /usr/bin/clang++ Detecting CXX compiler ABI info - failed Check for working C compiler: /usr/bin/clang - skipped The CXX compiler identification is Clang 14.0.0 The C compiler identification is Clang 14.0.0 Not searching for unused variables given on the command line. Executing command: /usr/bin/cmake -no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ -S/home/odin/Schreibtisch/zweites-projekt -B/home/odin/Schreibtisch/zweites-projekt/build -G "Unix Makefiles" ![]() In the CMake extension from VSCode the CMake files no longer appear and I am receiving the following error when trying to use the configure all projects button of the extension: Configuring project: zweites-projekt The compilation used to work, but suddenly stopped working and I don't know the cause. I'm using the CMake extension in VSCode and am trying to compile a C++ code (on an Ubuntu virtual machine). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |