====================[ 构建 | 10_2_Sqlist_deleteshan_chu | Debug ]================= "C:\Program Files\JetBrains\CLion 2021.1.3\bin\cmake\win\bin\cmake.exe" --build "E:\code\10\10.2 Sqlist delete(shan chu)\cmake-build-debug" --target 10_2_Sqlist_deleteshan_chu -- -j 6 CMake Error: The source directory "E:/code/10/10.2 Sqlist delete锛坰han chu锛�/cmake-build-debug/chu閿涘 cmake-build-debug --check-build-system CMakeFiles/Makefile.cmake 0" does not exist. Specify --help for usage, or press the help button on the CMake GUI. mingw32-make.exe: *** [Makefile:194: cmake_check_build_system] Error 1 出现构建在100ms失败 但是新建文件就能运行成功
时间: 2023-09-03 17:06:18 浏览: 277
It seems that there is an issue with the build process of your project. The error message indicates that the source directory specified does not exist.
There could be a few reasons for this error. Here are a few steps you can try to resolve the issue:
1. Make sure that the source directory path specified in your CMakeLists.txt file is correct. Double-check the path and ensure that it matches the actual location of your source code.
2. Verify that the necessary files and directories are present in the specified source directory. It's possible that the required files are missing or have been moved.
3. If you have recently renamed or moved your project files, try deleting the existing build directory and rebuilding the project from scratch. This will ensure that the build process starts fresh and picks up any changes made to the project structure.
4. If you are using an IDE like CLion, try using the built-in clean and rebuild options to clear any cached build artifacts and perform a clean build.
If these steps do not resolve the issue, please provide more information about your project structure, CMakeLists.txt file, and any relevant code snippets so that I can assist you further.
阅读全文