Ich versuche Module mit CMake und C ++ 20. Aber CMake kann kein Clang-Scan-Deps-Programm finden. Aber ich kann es in meinem Terminal verwenden, damit ich nicht weiß, warum es es nicht finden kann.
Ich versuche Module mit CMake und C ++ 20. Aber CMake kann kein Clang-Scan-Deps-Programm finden. Aber ich kann es in meinem Terminal verwenden, damit ich nicht weiß, warum es es nicht finden kann.[code]~/coding/cpp-modules > cmake --build ./build/Debug --target all [1/8] Scanning /usr/include/vulkan/vulkan.cppm for CXX dependencies FAILED: CMakeFiles/VulkanHppModule.dir/usr/include/vulkan/vulkan.cppm.o.ddi "CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND" -format=p1689 -- /usr/bin/clang++-17 -g -std=gnu++20 -x c++ /usr/include/vulkan/vulkan.cppm -c -o CMakeFiles/VulkanHppModule.dir/usr/include/vulkan/vulkan.cppm.o -MT CMakeFiles/VulkanHppModule.dir/usr/include/vulkan/vulkan.cppm.o.ddi -MD -MF CMakeFiles/VulkanHppModule.dir/usr/include/vulkan/vulkan.cppm.o.ddi.d > CMakeFiles/VulkanHppModule.dir/usr/include/vulkan/vulkan.cppm.o.ddi.tmp && mv CMakeFiles/VulkanHppModule.dir/usr/include/vulkan/vulkan.cppm.o.ddi.tmp CMakeFiles/VulkanHppModule.dir/usr/include/vulkan/vulkan.cppm.o.ddi /bin/sh: 1: CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND: not found [2/8] Scanning /home/lastlost/coding/cpp-modules/main.cpp for CXX dependencies FAILED: CMakeFiles/CppModulesTest.dir/main.cpp.o.ddi "CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND" -format=p1689 -- /usr/bin/clang++-17 -g -std=gnu++20 -x c++ /home/lastlost/coding/cpp-modules/main.cpp -c -o CMakeFiles/CppModulesTest.dir/main.cpp.o -MT CMakeFiles/CppModulesTest.dir/main.cpp.o.ddi -MD -MF CMakeFiles/CppModulesTest.dir/main.cpp.o.ddi.d > CMakeFiles/CppModulesTest.dir/main.cpp.o.ddi.tmp && mv CMakeFiles/CppModulesTest.dir/main.cpp.o.ddi.tmp CMakeFiles/CppModulesTest.dir/main.cpp.o.ddi /bin/sh: 1: CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS-NOTFOUND: not found ninja: build stopped: subcommand failed. < /code> Wenn ich Clang-scan-Deps eingeben: < /p> ~/coding/cpp-modules > clang-scan-deps --version clang-scan-deps Ubuntu LLVM version 17.0.6 Optimized build. [/code] Versuchte, cmake_cxx_compiler_clang_scan_deps variable auf "/usr/local/bin/clang-scan-Deps" oder "clang-scan-Deps" festzulegen und nicht funktioniert.
Immer wenn ich versuche, meinen Code auszuführen, sagt es mir, dass er sich anmeldet, und dann hat er einen Benutzeragenten gefunden, nach dem es mir einen Fehler bietet. Wann immer ich versuchte,...
Ich erstelle eine WPF-App in C#. Ich versuche, deps.json und runtimeconfig.json einzubetten. Ich habe überall gesucht, konnte aber keine Antwort darauf finden. Ich möchte nur, dass die .exe- und...
Ich erstelle ein Projekt mit Maven 3.9.9 auf Mac Sequoia und erhalte diese Fehlermeldung:
...(internal dep chain)...
-> org.glassfish.hk2:hk2-locator:jar:2.4.0-b31 (compile)
=>...
Ich erstelle eine WPF-App in C#. Ich versuche, deps.json und runtimeconfig.json einzubetten. Ich habe überall gesucht, konnte aber keine Antwort darauf finden. Ich möchte nur, dass die Dateien .exe...
Ich arbeite an einer Java Spring -Boot -Anwendung, die mit Azure IoT Hub interagiert. Wenn ich meinen Test ausführe, erhalte ich den folgenden Fehler
java.lang.NoClassDefFoundError:...