Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compilation issue] cmake configuration 之后 没有exe文件生成 #23

Open
zhaoBeauty opened this issue May 12, 2024 · 3 comments
Open
Assignees
Labels
compilation issues Problems at compile time

Comments

@zhaoBeauty
Copy link

cmake不报错,也没有执行文件生成


1> 已为默认配置“x64-Debug”启动 CMake 生成。
1> 命令行: "C:\Windows\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="D:\code\SLMaster\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "D:\code\SLMaster" 2>&1"
1> 工作目录: D:\code\SLMaster\out\build\x64-Debug
1> [CMake] -- The C compiler identification is MSVC 19.38.33133.0
1> [CMake] -- The CXX compiler identification is MSVC 19.38.33133.0
1> [CMake] -- Detecting C compiler ABI info
1> [CMake] -- Detecting C compiler ABI info - done
1> [CMake] -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting C compile features
1> [CMake] -- Detecting C compile features - done
1> [CMake] -- Detecting CXX compiler ABI info
1> [CMake] -- Detecting CXX compiler ABI info - done
1> [CMake] -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting CXX compile features
1> [CMake] -- Detecting CXX compile features - done
1> [CMake] CMake Warning (dev) at D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:145 (find_package):
1> [CMake] Policy CMP0144 is not set: find_package uses upper-case _ROOT
1> [CMake] variables. Run "cmake --help-policy CMP0144" for policy details. Use the
1> [CMake] cmake_policy command to set the policy and suppress this warning.
1> [CMake]
1> [CMake] CMake variable EIGEN_ROOT is set to:
1> [CMake]
1> [CMake] D:/Program Files/PCL 1.13.1/3rdParty/Eigen
1> [CMake]
1> [CMake] For compatibility, find_package is ignoring the variable, but code in a
1> [CMake] .cmake module might still use it.
1> [CMake] Call Stack (most recent call first):
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:298 (find_eigen)
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:552 (find_external_library)
1> [CMake] src/algorithm/CMakeLists.txt:7 (find_package)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found Eigen: D:/Program Files/PCL 1.13.1/3rdParty/Eigen/eigen3 (Required is at least version "3.3")
1> [CMake] -- Eigen found (include: D:/Program Files/PCL 1.13.1/3rdParty/Eigen/eigen3, version: 3.4.0)
1> [CMake] CMake Warning (dev) at D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:125 (find_package):
1> [CMake] Policy CMP0144 is not set: find_package uses upper-case _ROOT
1> [CMake] variables. Run "cmake --help-policy CMP0144" for policy details. Use the
1> [CMake] cmake_policy command to set the policy and suppress this warning.
1> [CMake]
1> [CMake] CMake variable BOOST_ROOT is set to:
1> [CMake]
1> [CMake] D:/Program Files/PCL 1.13.1/3rdParty/Boost
1> [CMake]
1> [CMake] For compatibility, find_package is ignoring the variable, but code in a
1> [CMake] .cmake module might still use it.
1> [CMake] Call Stack (most recent call first):
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:296 (find_boost)
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:552 (find_external_library)
1> [CMake] src/algorithm/CMakeLists.txt:7 (find_package)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found Boost: D:/Program Files/PCL 1.13.1/3rdParty/Boost/lib/cmake/Boost-1.82.0/BoostConfig.cmake (found suitable version "1.82.0", minimum required is "1.65.0") found components: system filesystem iostreams serialization
1> [CMake] CMake Warning (dev) at D:/Program Files/PCL 1.13.1/cmake/Modules/FindFLANN.cmake:45 (find_package):
1> [CMake] Policy CMP0144 is not set: find_package uses upper-case _ROOT
1> [CMake] variables. Run "cmake --help-policy CMP0144" for policy details. Use the
1> [CMake] cmake_policy command to set the policy and suppress this warning.
1> [CMake]
1> [CMake] CMake variable FLANN_ROOT is set to:
1> [CMake]
1> [CMake] D:/Program Files/PCL 1.13.1/3rdParty/Flann
1> [CMake]
1> [CMake] For compatibility, find_package is ignoring the variable, but code in a
1> [CMake] .cmake module might still use it.
1> [CMake] Call Stack (most recent call first):
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:255 (find_package)
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:300 (find_flann)
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:552 (find_external_library)
1> [CMake] src/algorithm/CMakeLists.txt:7 (find_package)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found FLANN: D:/Program Files/PCL 1.13.1/3rdParty/FLANN/lib/flann_cpp_s.lib
1> [CMake] -- FLANN found (include: D:/Program Files/PCL 1.13.1/3rdParty/FLANN/include, lib: D:/Program Files/PCL 1.13.1/3rdParty/FLANN/lib/flann_cpp_s.lib)
1> [CMake] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
1> [CMake] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
1> [CMake] -- Looking for pthread_create in pthreads
1> [CMake] -- Looking for pthread_create in pthreads - not found
1> [CMake] -- Looking for pthread_create in pthread
1> [CMake] -- Looking for pthread_create in pthread - not found
1> [CMake] -- Found Threads: TRUE
1> [CMake] -- Found OpenGL: opengl32 found components: OpenGL
1> [CMake] -- Found OpenNI2: D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Lib/OpenNI2.lib (found version "2.2.0.33")
1> [CMake] -- OpenNI2 found (version: 2.2.0.33, include: D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Include, lib: D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Lib/OpenNI2.lib)
1> [CMake] -- Eigen found (include: D:/Program Files/PCL 1.13.1/3rdParty/Eigen/eigen3, version: 3.4.0)
1> [CMake] -- OpenNI2 found (version: 2.2.0.33, include: D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Include, lib: D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Lib/OpenNI2.lib)
1> [CMake] CMake Warning (dev) at D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:157 (find_package):
1> [CMake] Policy CMP0144 is not set: find_package uses upper-case _ROOT
1> [CMake] variables. Run "cmake --help-policy CMP0144" for policy details. Use the
1> [CMake] cmake_policy command to set the policy and suppress this warning.
1> [CMake]
1> [CMake] CMake variable QHULL_ROOT is set to:
1> [CMake]
1> [CMake] D:/Program Files/PCL 1.13.1/3rdParty/Qhull
1> [CMake]
1> [CMake] For compatibility, find_package is ignoring the variable, but code in a
1> [CMake] .cmake module might still use it.
1> [CMake] Call Stack (most recent call first):
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:302 (find_qhull)
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:549 (find_external_library)
1> [CMake] src/algorithm/CMakeLists.txt:7 (find_package)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found Qhull version 8.0.2
1> [CMake] -- looking for PCL_COMMON
1> [CMake] -- Found PCL_COMMON: D:/Program Files/PCL 1.13.1/lib/pcl_common.lib
1> [CMake] -- looking for PCL_KDTREE
1> [CMake] -- Found PCL_KDTREE: D:/Program Files/PCL 1.13.1/lib/pcl_kdtree.lib
1> [CMake] -- looking for PCL_OCTREE
1> [CMake] -- Found PCL_OCTREE: D:/Program Files/PCL 1.13.1/lib/pcl_octree.lib
1> [CMake] -- looking for PCL_SEARCH
1> [CMake] -- Found PCL_SEARCH: D:/Program Files/PCL 1.13.1/lib/pcl_search.lib
1> [CMake] -- looking for PCL_SAMPLE_CONSENSUS
1> [CMake] -- Found PCL_SAMPLE_CONSENSUS: D:/Program Files/PCL 1.13.1/lib/pcl_sample_consensus.lib
1> [CMake] -- looking for PCL_FILTERS
1> [CMake] -- Found PCL_FILTERS: D:/Program Files/PCL 1.13.1/lib/pcl_filters.lib
1> [CMake] -- looking for PCL_2D
1> [CMake] -- Found PCL_2D: D:/Program Files/PCL 1.13.1/include/pcl-1.13
1> [CMake] -- looking for PCL_GEOMETRY
1> [CMake] -- Found PCL_GEOMETRY: D:/Program Files/PCL 1.13.1/include/pcl-1.13
1> [CMake] -- looking for PCL_IO
1> [CMake] -- Found PCL_IO: D:/Program Files/PCL 1.13.1/lib/pcl_io.lib
1> [CMake] -- looking for PCL_FEATURES
1> [CMake] -- Found PCL_FEATURES: D:/Program Files/PCL 1.13.1/lib/pcl_features.lib
1> [CMake] -- looking for PCL_ML
1> [CMake] -- Found PCL_ML: D:/Program Files/PCL 1.13.1/lib/pcl_ml.lib
1> [CMake] -- looking for PCL_SEGMENTATION
1> [CMake] -- Found PCL_SEGMENTATION: D:/Program Files/PCL 1.13.1/lib/pcl_segmentation.lib
1> [CMake] -- looking for PCL_VISUALIZATION
1> [CMake] -- Found PCL_VISUALIZATION: D:/Program Files/PCL 1.13.1/lib/pcl_visualization.lib
1> [CMake] -- looking for PCL_SURFACE
1> [CMake] -- Found PCL_SURFACE: D:/Program Files/PCL 1.13.1/lib/pcl_surface.lib
1> [CMake] -- looking for PCL_REGISTRATION
1> [CMake] -- Found PCL_REGISTRATION: D:/Program Files/PCL 1.13.1/lib/pcl_registration.lib
1> [CMake] -- looking for PCL_KEYPOINTS
1> [CMake] -- Found PCL_KEYPOINTS: D:/Program Files/PCL 1.13.1/lib/pcl_keypoints.lib
1> [CMake] -- looking for PCL_TRACKING
1> [CMake] -- Found PCL_TRACKING: D:/Program Files/PCL 1.13.1/lib/pcl_tracking.lib
1> [CMake] -- looking for PCL_RECOGNITION
1> [CMake] -- Found PCL_RECOGNITION: D:/Program Files/PCL 1.13.1/lib/pcl_recognition.lib
1> [CMake] -- looking for PCL_STEREO
1> [CMake] -- Found PCL_STEREO: D:/Program Files/PCL 1.13.1/lib/pcl_stereo.lib
1> [CMake] -- looking for PCL_OUTOFCORE
1> [CMake] -- Found PCL_OUTOFCORE: D:/Program Files/PCL 1.13.1/lib/pcl_outofcore.lib
1> [CMake] -- looking for PCL_PEOPLE
1> [CMake] -- Found PCL_PEOPLE: D:/Program Files/PCL 1.13.1/lib/pcl_people.lib
1> [CMake] -- Found PCL: pcl_common;pcl_kdtree;pcl_octree;pcl_search;pcl_sample_consensus;pcl_filters;pcl_io;pcl_features;pcl_ml;pcl_segmentation;pcl_visualization;pcl_surface;pcl_registration;pcl_keypoints;pcl_tracking;pcl_recognition;pcl_stereo;pcl_outofcore;pcl_people;Boost::system;Boost::filesystem;Boost::iostreams;Boost::serialization;D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Lib/OpenNI2.lib;VTK::ChartsCore;VTK::CommonColor;VTK::CommonComputationalGeometry;VTK::CommonCore;VTK::CommonDataModel;VTK::CommonExecutionModel;VTK::CommonMath;VTK::CommonMisc;VTK::CommonTransforms;VTK::FiltersCore;VTK::FiltersExtraction;VTK::FiltersGeneral;VTK::FiltersGeometry;VTK::FiltersModeling;VTK::FiltersSources;VTK::ImagingCore;VTK::ImagingSources;VTK::InteractionImage;VTK::InteractionStyle;VTK::InteractionWidgets;VTK::IOCore;VTK::IOGeometry;VTK::IOImage;VTK::IOLegacy;VTK::IOPLY;VTK::RenderingAnnotation;VTK::RenderingCore;VTK::RenderingContext2D;VTK::RenderingLOD;VTK::RenderingFreeType;VTK::ViewsCore;VTK::ViewsContext2D;VTK::RenderingOpenGL2;VTK::RenderingVolumeOpenGL2;VTK::GUISupportQt;VTK::GUISupportQtQuick;VTK::GUISupportQtSQL;VTK::RenderingQt;VTK::ViewsQt;FLANN::FLANN;QHULL::QHULL
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Could NOT find OpenCV (missing: cudev) (found version "4.5.5")
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] CMake Warning at src/algorithm/CMakeLists.txt:9 (find_package):
1> [CMake] Found package configuration file:
1> [CMake]
1> [CMake] D:/opencv/build/OpenCVConfig.cmake
1> [CMake]
1> [CMake] but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
1> [CMake] NOT FOUND.
1> [CMake]
1> [CMake]
1> [CMake] CMake Warning at src/algorithm/CMakeLists.txt:25 (message):
1> [CMake] [SLMaster]: OpenCV dosn't With CUDA module! Just complier CPU Version.
1> [CMake]
1> [CMake]
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Found OpenCV: D:/opencv/build (found version "4.5.5") found components: core
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Found OpenCV: D:/opencv/build (found version "4.5.5")
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] -- Current .git exist
1> [CMake] -- Current git tag: 1.0.0, commit count: 107, describe: v1.2.5
1> [CMake] -- Current semver: major: 1, minor: 0, patch: 0, counter: 10000
1> [CMake] -- Performing Test COMPILER_NEEDS_FLOAT_STORE
1> [CMake] -- Performing Test COMPILER_NEEDS_FLOAT_STORE - Failed
1> [CMake] CMake Warning (dev) at gui/thirdParty/FluentUI/framelesshelper/cmake/utils.cmake:2462 (message):
1> [CMake] generate_project_version: PROJECT_VERSION_TWEAK is not set!
1> [CMake] Call Stack (most recent call first):
1> [CMake] gui/thirdParty/FluentUI/framelesshelper/CMakeLists.txt:200 (generate_project_version)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] ------------------------ FluentUI ------------------------
1> [CMake] Build FluentUI demo applications.: OFF
1> [CMake] Build static library.: OFF
1> [CMake] Path to FluentUI plugin.: D:/py_dev_env/Library/qml/FluentUI
1> [CMake] Building QuickQanava for Qt5
1> [CMake] Building QuickQanava with Qt5
1> [CMake] [SLMaster]: build gui...
1> [CMake] CMake Warning (dev) at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.27/Modules/FetchContent.cmake:1316 (message):
1> [CMake] The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
1> [CMake] not set. The policy's OLD behavior will be used. When using a URL
1> [CMake] download, the timestamps of extracted files should preferably be that of
1> [CMake] the time of extraction, otherwise code that depends on the extracted
1> [CMake] contents might not be rebuilt if the URL changes. The OLD behavior
1> [CMake] preserves the timestamps from the archive instead, but this is usually not
1> [CMake] what you want. Update your project to the NEW behavior or specify the
1> [CMake] DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
1> [CMake] robustness issue.
1> [CMake] Call Stack (most recent call first):
1> [CMake] test/CMakeLists.txt:6 (FetchContent_Declare)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found Python: D:/py_dev_env/python.exe (found version "3.10.9") found components: Interpreter
1> [CMake] [SLMaster]: build test case...
1> [CMake] CMake Warning (dev) at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.27/Modules/FetchContent.cmake:1316 (message):
1> [CMake] The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
1> [CMake] not set. The policy's OLD behavior will be used. When using a URL
1> [CMake] download, the timestamps of extracted files should preferably be that of
1> [CMake] the time of extraction, otherwise code that depends on the extracted
1> [CMake] contents might not be rebuilt if the URL changes. The OLD behavior
1> [CMake] preserves the timestamps from the archive instead, but this is usually not
1> [CMake] what you want. Update your project to the NEW behavior or specify the
1> [CMake] DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
1> [CMake] robustness issue.
1> [CMake] Call Stack (most recent call first):
1> [CMake] perf/CMakeLists.txt:4 (FetchContent_Declare)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.44.0.windows.1")
1> [CMake] -- git version: v1.2.5-dirty normalized to 1.2.5
1> [CMake] -- Google Benchmark version: 1.2.5
1> [CMake] -- Looking for shm_open in rt
1> [CMake] -- Looking for shm_open in rt - not found
1> [CMake] -- Compiling and running to test HAVE_STD_REGEX
1> [CMake] -- Performing Test HAVE_STD_REGEX -- success
1> [CMake] -- Compiling and running to test HAVE_GNU_POSIX_REGEX
1> [CMake] -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
1> [CMake] -- Compiling and running to test HAVE_POSIX_REGEX
1> [CMake] -- Performing Test HAVE_POSIX_REGEX -- failed to compile
1> [CMake] -- Compiling and running to test HAVE_STEADY_CLOCK
1> [CMake] -- Performing Test HAVE_STEADY_CLOCK -- success
1> [CMake] -- Compiling and running to test HAVE_PTHREAD_AFFINITY
1> [CMake] -- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile
1> [CMake] -- Performing Test BENCHMARK_HAS_O3_FLAG
1> [CMake] -- Performing Test BENCHMARK_HAS_O3_FLAG - Failed
1> [CMake] -- Performing Test BENCHMARK_HAS_DEPRECATED_DECLARATIONS_FLAG
1> [CMake] -- Performing Test BENCHMARK_HAS_DEPRECATED_DECLARATIONS_FLAG - Failed
1> [CMake] [SLMaster]: build perfermance case...
1> [CMake] -- Configuring done (19.5s)
1> [CMake] -- Generating done (0.4s)
1> [CMake] -- Build files have been written to: D:/code/SLMaster/out/build/x64-Debug
1> 已提取 CMake 变量。
1> 已提取源文件和标头。
1> 已提取代码模型。
1> 已提取工具链配置。
1> 已提取包含路径。
1> CMake 生成完毕。

@zhaoBeauty zhaoBeauty added the compilation issues Problems at compile time label May 12, 2024
@Practice3DVision
Copy link
Owner

项目CMakeLists.txt默认为Release编译模式,与你VS项目配置的Debug不同,将这两者更改为一致即可。

其次,生成目录必须设置为项目根目录下,例如${work_space}/build

@zhaoBeauty
Copy link
Author

项目CMakeLists.txt默认为Release编译模式,与你VS项目配置的Debug不同,将这两者更改为一致即可。

其次,生成目录必须设置为项目根目录下,例如${work_space}/build。

按照这个改完也没有生成exe可执行文件。

1> 已为配置“x64-Release”启动 CMake 生成。
1> 命令行: "C:\Windows\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" -DCMAKE_INSTALL_PREFIX:PATH="D:\code\SLMaster\out\install\x64-Release" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "D:\code\SLMaster" 2>&1"
1> 工作目录: D:\code\SLMaster\out\build\x64-Release
1> [CMake] -- The C compiler identification is MSVC 19.38.33133.0
1> [CMake] -- The CXX compiler identification is MSVC 19.38.33133.0
1> [CMake] -- Detecting C compiler ABI info
1> [CMake] -- Detecting C compiler ABI info - done
1> [CMake] -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting C compile features
1> [CMake] -- Detecting C compile features - done
1> [CMake] -- Detecting CXX compiler ABI info
1> [CMake] -- Detecting CXX compiler ABI info - done
1> [CMake] -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting CXX compile features
1> [CMake] -- Detecting CXX compile features - done
1> [CMake] CMake Warning (dev) at D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:145 (find_package):
1> [CMake] Policy CMP0144 is not set: find_package uses upper-case _ROOT
1> [CMake] variables. Run "cmake --help-policy CMP0144" for policy details. Use the
1> [CMake] cmake_policy command to set the policy and suppress this warning.
1> [CMake]
1> [CMake] CMake variable EIGEN_ROOT is set to:
1> [CMake]
1> [CMake] D:/Program Files/PCL 1.13.1/3rdParty/Eigen
1> [CMake]
1> [CMake] For compatibility, find_package is ignoring the variable, but code in a
1> [CMake] .cmake module might still use it.
1> [CMake] Call Stack (most recent call first):
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:298 (find_eigen)
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:552 (find_external_library)
1> [CMake] src/algorithm/CMakeLists.txt:7 (find_package)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found Eigen: D:/Program Files/PCL 1.13.1/3rdParty/Eigen/eigen3 (Required is at least version "3.3")
1> [CMake] -- Eigen found (include: D:/Program Files/PCL 1.13.1/3rdParty/Eigen/eigen3, version: 3.4.0)
1> [CMake] CMake Warning (dev) at D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:125 (find_package):
1> [CMake] Policy CMP0144 is not set: find_package uses upper-case _ROOT
1> [CMake] variables. Run "cmake --help-policy CMP0144" for policy details. Use the
1> [CMake] cmake_policy command to set the policy and suppress this warning.
1> [CMake]
1> [CMake] CMake variable BOOST_ROOT is set to:
1> [CMake]
1> [CMake] D:/Program Files/PCL 1.13.1/3rdParty/Boost
1> [CMake]
1> [CMake] For compatibility, find_package is ignoring the variable, but code in a
1> [CMake] .cmake module might still use it.
1> [CMake] Call Stack (most recent call first):
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:296 (find_boost)
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:552 (find_external_library)
1> [CMake] src/algorithm/CMakeLists.txt:7 (find_package)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found Boost: D:/Program Files/PCL 1.13.1/3rdParty/Boost/lib/cmake/Boost-1.82.0/BoostConfig.cmake (found suitable version "1.82.0", minimum required is "1.65.0") found components: system filesystem iostreams serialization
1> [CMake] CMake Warning (dev) at D:/Program Files/PCL 1.13.1/cmake/Modules/FindFLANN.cmake:45 (find_package):
1> [CMake] Policy CMP0144 is not set: find_package uses upper-case _ROOT
1> [CMake] variables. Run "cmake --help-policy CMP0144" for policy details. Use the
1> [CMake] cmake_policy command to set the policy and suppress this warning.
1> [CMake]
1> [CMake] CMake variable FLANN_ROOT is set to:
1> [CMake]
1> [CMake] D:/Program Files/PCL 1.13.1/3rdParty/Flann
1> [CMake]
1> [CMake] For compatibility, find_package is ignoring the variable, but code in a
1> [CMake] .cmake module might still use it.
1> [CMake] Call Stack (most recent call first):
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:255 (find_package)
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:300 (find_flann)
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:552 (find_external_library)
1> [CMake] src/algorithm/CMakeLists.txt:7 (find_package)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found FLANN: D:/Program Files/PCL 1.13.1/3rdParty/FLANN/lib/flann_cpp_s.lib
1> [CMake] -- FLANN found (include: D:/Program Files/PCL 1.13.1/3rdParty/FLANN/include, lib: D:/Program Files/PCL 1.13.1/3rdParty/FLANN/lib/flann_cpp_s.lib)
1> [CMake] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
1> [CMake] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
1> [CMake] -- Looking for pthread_create in pthreads
1> [CMake] -- Looking for pthread_create in pthreads - not found
1> [CMake] -- Looking for pthread_create in pthread
1> [CMake] -- Looking for pthread_create in pthread - not found
1> [CMake] -- Found Threads: TRUE
1> [CMake] -- Found OpenGL: opengl32 found components: OpenGL
1> [CMake] -- Found OpenNI2: D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Lib/OpenNI2.lib (found version "2.2.0.33")
1> [CMake] -- OpenNI2 found (version: 2.2.0.33, include: D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Include, lib: D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Lib/OpenNI2.lib)
1> [CMake] -- Eigen found (include: D:/Program Files/PCL 1.13.1/3rdParty/Eigen/eigen3, version: 3.4.0)
1> [CMake] -- OpenNI2 found (version: 2.2.0.33, include: D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Include, lib: D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Lib/OpenNI2.lib)
1> [CMake] CMake Warning (dev) at D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:157 (find_package):
1> [CMake] Policy CMP0144 is not set: find_package uses upper-case _ROOT
1> [CMake] variables. Run "cmake --help-policy CMP0144" for policy details. Use the
1> [CMake] cmake_policy command to set the policy and suppress this warning.
1> [CMake]
1> [CMake] CMake variable QHULL_ROOT is set to:
1> [CMake]
1> [CMake] D:/Program Files/PCL 1.13.1/3rdParty/Qhull
1> [CMake]
1> [CMake] For compatibility, find_package is ignoring the variable, but code in a
1> [CMake] .cmake module might still use it.
1> [CMake] Call Stack (most recent call first):
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:302 (find_qhull)
1> [CMake] D:/Program Files/PCL 1.13.1/cmake/PCLConfig.cmake:549 (find_external_library)
1> [CMake] src/algorithm/CMakeLists.txt:7 (find_package)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found Qhull version 8.0.2
1> [CMake] -- looking for PCL_COMMON
1> [CMake] -- Found PCL_COMMON: D:/Program Files/PCL 1.13.1/lib/pcl_common.lib
1> [CMake] -- looking for PCL_KDTREE
1> [CMake] -- Found PCL_KDTREE: D:/Program Files/PCL 1.13.1/lib/pcl_kdtree.lib
1> [CMake] -- looking for PCL_OCTREE
1> [CMake] -- Found PCL_OCTREE: D:/Program Files/PCL 1.13.1/lib/pcl_octree.lib
1> [CMake] -- looking for PCL_SEARCH
1> [CMake] -- Found PCL_SEARCH: D:/Program Files/PCL 1.13.1/lib/pcl_search.lib
1> [CMake] -- looking for PCL_SAMPLE_CONSENSUS
1> [CMake] -- Found PCL_SAMPLE_CONSENSUS: D:/Program Files/PCL 1.13.1/lib/pcl_sample_consensus.lib
1> [CMake] -- looking for PCL_FILTERS
1> [CMake] -- Found PCL_FILTERS: D:/Program Files/PCL 1.13.1/lib/pcl_filters.lib
1> [CMake] -- looking for PCL_2D
1> [CMake] -- Found PCL_2D: D:/Program Files/PCL 1.13.1/include/pcl-1.13
1> [CMake] -- looking for PCL_GEOMETRY
1> [CMake] -- Found PCL_GEOMETRY: D:/Program Files/PCL 1.13.1/include/pcl-1.13
1> [CMake] -- looking for PCL_IO
1> [CMake] -- Found PCL_IO: D:/Program Files/PCL 1.13.1/lib/pcl_io.lib
1> [CMake] -- looking for PCL_FEATURES
1> [CMake] -- Found PCL_FEATURES: D:/Program Files/PCL 1.13.1/lib/pcl_features.lib
1> [CMake] -- looking for PCL_ML
1> [CMake] -- Found PCL_ML: D:/Program Files/PCL 1.13.1/lib/pcl_ml.lib
1> [CMake] -- looking for PCL_SEGMENTATION
1> [CMake] -- Found PCL_SEGMENTATION: D:/Program Files/PCL 1.13.1/lib/pcl_segmentation.lib
1> [CMake] -- looking for PCL_VISUALIZATION
1> [CMake] -- Found PCL_VISUALIZATION: D:/Program Files/PCL 1.13.1/lib/pcl_visualization.lib
1> [CMake] -- looking for PCL_SURFACE
1> [CMake] -- Found PCL_SURFACE: D:/Program Files/PCL 1.13.1/lib/pcl_surface.lib
1> [CMake] -- looking for PCL_REGISTRATION
1> [CMake] -- Found PCL_REGISTRATION: D:/Program Files/PCL 1.13.1/lib/pcl_registration.lib
1> [CMake] -- looking for PCL_KEYPOINTS
1> [CMake] -- Found PCL_KEYPOINTS: D:/Program Files/PCL 1.13.1/lib/pcl_keypoints.lib
1> [CMake] -- looking for PCL_TRACKING
1> [CMake] -- Found PCL_TRACKING: D:/Program Files/PCL 1.13.1/lib/pcl_tracking.lib
1> [CMake] -- looking for PCL_RECOGNITION
1> [CMake] -- Found PCL_RECOGNITION: D:/Program Files/PCL 1.13.1/lib/pcl_recognition.lib
1> [CMake] -- looking for PCL_STEREO
1> [CMake] -- Found PCL_STEREO: D:/Program Files/PCL 1.13.1/lib/pcl_stereo.lib
1> [CMake] -- looking for PCL_OUTOFCORE
1> [CMake] -- Found PCL_OUTOFCORE: D:/Program Files/PCL 1.13.1/lib/pcl_outofcore.lib
1> [CMake] -- looking for PCL_PEOPLE
1> [CMake] -- Found PCL_PEOPLE: D:/Program Files/PCL 1.13.1/lib/pcl_people.lib
1> [CMake] -- Found PCL: pcl_common;pcl_kdtree;pcl_octree;pcl_search;pcl_sample_consensus;pcl_filters;pcl_io;pcl_features;pcl_ml;pcl_segmentation;pcl_visualization;pcl_surface;pcl_registration;pcl_keypoints;pcl_tracking;pcl_recognition;pcl_stereo;pcl_outofcore;pcl_people;Boost::system;Boost::filesystem;Boost::iostreams;Boost::serialization;D:/Program Files/PCL 1.13.1/3rdParty/OpenNI2/Lib/OpenNI2.lib;VTK::ChartsCore;VTK::CommonColor;VTK::CommonComputationalGeometry;VTK::CommonCore;VTK::CommonDataModel;VTK::CommonExecutionModel;VTK::CommonMath;VTK::CommonMisc;VTK::CommonTransforms;VTK::FiltersCore;VTK::FiltersExtraction;VTK::FiltersGeneral;VTK::FiltersGeometry;VTK::FiltersModeling;VTK::FiltersSources;VTK::ImagingCore;VTK::ImagingSources;VTK::InteractionImage;VTK::InteractionStyle;VTK::InteractionWidgets;VTK::IOCore;VTK::IOGeometry;VTK::IOImage;VTK::IOLegacy;VTK::IOPLY;VTK::RenderingAnnotation;VTK::RenderingCore;VTK::RenderingContext2D;VTK::RenderingLOD;VTK::RenderingFreeType;VTK::ViewsCore;VTK::ViewsContext2D;VTK::RenderingOpenGL2;VTK::RenderingVolumeOpenGL2;VTK::GUISupportQt;VTK::GUISupportQtQuick;VTK::GUISupportQtSQL;VTK::RenderingQt;VTK::ViewsQt;FLANN::FLANN;QHULL::QHULL
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Could NOT find OpenCV (missing: cudev) (found version "4.5.5")
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] CMake Warning at src/algorithm/CMakeLists.txt:9 (find_package):
1> [CMake] Found package configuration file:
1> [CMake]
1> [CMake] D:/opencv/build/OpenCVConfig.cmake
1> [CMake]
1> [CMake] but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
1> [CMake] NOT FOUND.
1> [CMake]
1> [CMake]
1> [CMake] CMake Warning at src/algorithm/CMakeLists.txt:25 (message):
1> [CMake] [SLMaster]: OpenCV dosn't With CUDA module! Just complier CPU Version.
1> [CMake]
1> [CMake]
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Found OpenCV: D:/opencv/build (found version "4.5.5") found components: core
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Found OpenCV: D:/opencv/build (found version "4.5.5")
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] -- OpenCV ARCH: x64
1> [CMake] -- OpenCV RUNTIME: vc15
1> [CMake] -- OpenCV STATIC: OFF
1> [CMake] -- Found OpenCV 4.5.5 in D:/opencv/build/x64/vc15/lib
1> [CMake] -- You might need to add D:\opencv\build\x64\vc15\bin to your PATH to be able to run your applications.
1> [CMake] -- Current .git exist
1> [CMake] -- Current git tag: 1.0.0, commit count: 107, describe: v1.2.5
1> [CMake] -- Current semver: major: 1, minor: 0, patch: 0, counter: 10000
1> [CMake] -- Performing Test COMPILER_NEEDS_FLOAT_STORE
1> [CMake] -- Performing Test COMPILER_NEEDS_FLOAT_STORE - Failed
1> [CMake] CMake Warning (dev) at gui/thirdParty/FluentUI/framelesshelper/cmake/utils.cmake:2462 (message):
1> [CMake] generate_project_version: PROJECT_VERSION_TWEAK is not set!
1> [CMake] Call Stack (most recent call first):
1> [CMake] gui/thirdParty/FluentUI/framelesshelper/CMakeLists.txt:200 (generate_project_version)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] ------------------------ FluentUI ------------------------
1> [CMake] Build FluentUI demo applications.: OFF
1> [CMake] Build static library.: OFF
1> [CMake] Path to FluentUI plugin.: D:/py_dev_env/Library/qml/FluentUI
1> [CMake] Building QuickQanava for Qt5
1> [CMake] Building QuickQanava with Qt5
1> [CMake] [SLMaster]: build gui...
1> [CMake] CMake Warning (dev) at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.27/Modules/FetchContent.cmake:1316 (message):
1> [CMake] The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
1> [CMake] not set. The policy's OLD behavior will be used. When using a URL
1> [CMake] download, the timestamps of extracted files should preferably be that of
1> [CMake] the time of extraction, otherwise code that depends on the extracted
1> [CMake] contents might not be rebuilt if the URL changes. The OLD behavior
1> [CMake] preserves the timestamps from the archive instead, but this is usually not
1> [CMake] what you want. Update your project to the NEW behavior or specify the
1> [CMake] DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
1> [CMake] robustness issue.
1> [CMake] Call Stack (most recent call first):
1> [CMake] test/CMakeLists.txt:6 (FetchContent_Declare)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found Python: D:/py_dev_env/python.exe (found version "3.10.9") found components: Interpreter
1> [CMake] [SLMaster]: build test case...
1> [CMake] CMake Warning (dev) at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.27/Modules/FetchContent.cmake:1316 (message):
1> [CMake] The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
1> [CMake] not set. The policy's OLD behavior will be used. When using a URL
1> [CMake] download, the timestamps of extracted files should preferably be that of
1> [CMake] the time of extraction, otherwise code that depends on the extracted
1> [CMake] contents might not be rebuilt if the URL changes. The OLD behavior
1> [CMake] preserves the timestamps from the archive instead, but this is usually not
1> [CMake] what you want. Update your project to the NEW behavior or specify the
1> [CMake] DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
1> [CMake] robustness issue.
1> [CMake] Call Stack (most recent call first):
1> [CMake] perf/CMakeLists.txt:4 (FetchContent_Declare)
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.44.0.windows.1")
1> [CMake] -- git version: v1.2.5-dirty normalized to 1.2.5
1> [CMake] -- Google Benchmark version: 1.2.5
1> [CMake] -- Looking for shm_open in rt
1> [CMake] -- Looking for shm_open in rt - not found
1> [CMake] -- Compiling and running to test HAVE_STD_REGEX
1> [CMake] -- Performing Test HAVE_STD_REGEX -- success
1> [CMake] -- Compiling and running to test HAVE_GNU_POSIX_REGEX
1> [CMake] -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
1> [CMake] -- Compiling and running to test HAVE_POSIX_REGEX
1> [CMake] -- Performing Test HAVE_POSIX_REGEX -- failed to compile
1> [CMake] -- Compiling and running to test HAVE_STEADY_CLOCK
1> [CMake] -- Performing Test HAVE_STEADY_CLOCK -- success
1> [CMake] -- Compiling and running to test HAVE_PTHREAD_AFFINITY
1> [CMake] -- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile
1> [CMake] -- Performing Test BENCHMARK_HAS_O3_FLAG
1> [CMake] -- Performing Test BENCHMARK_HAS_O3_FLAG - Failed
1> [CMake] -- Performing Test BENCHMARK_HAS_DEPRECATED_DECLARATIONS_FLAG
1> [CMake] -- Performing Test BENCHMARK_HAS_DEPRECATED_DECLARATIONS_FLAG - Failed
1> [CMake] [SLMaster]: build perfermance case...
1> [CMake] -- Configuring done (20.4s)
1> [CMake] -- Generating done (0.4s)
1> [CMake] -- Build files have been written to: D:/code/SLMaster/out/build/x64-Release
1> 已提取 CMake 变量。
1> 已提取源文件和标头。
1> 已提取代码模型。
1> 已提取工具链配置。
1> 已提取包含路径。
1> CMake 生成完毕。

@Practice3DVision
Copy link
Owner

你是没用过CMake吧...

  1. CMake配置工程后,在生成目标中(VS中X64-Release旁边)选择SLMasterGUI.exe,生成启动
  2. 你的生成目录显示的仍然是${work_space}/out/build目录:
    1> [CMake] -- Build files have been written to: D:/code/SLMaster/out/build/x64-Release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compilation issues Problems at compile time
Projects
None yet
Development

No branches or pull requests

2 participants