我都是按照步骤做的,但是出现这个问题:
CMake Error at C:/boost/lib/cmake/Boost-1.79.0/BoostConfig.cmake:141 (find_package):
Found package configuration file:
C:/boost/lib/cmake/boost_date_time-1.79.0/boost_date_time-config.cmake
but it set boost_date_time_FOUND to FALSE so package “boost_date_time” is
considered to be NOT FOUND. Reason given by package:
No suitable build variant has been found.
The following variants have been tried and rejected:
-
libboost_date_time-vc143-mt-gd-x64-1_79.lib (vc143, detected vc142, set
Boost_COMPILER to override) -
libboost_date_time-vc143-mt-x64-1_79.lib (vc143, detected vc142, set
Boost_COMPILER to override)
Call Stack (most recent call first):
C:/boost/lib/cmake/Boost-1.79.0/BoostConfig.cmake:262 (boost_find_component)
D:/TSBrowserDownloads/cmake-3.22.3-windows-x86_64/share/cmake-3.22/Modules/FindBoost.cmake:594 (find_package)
roscpp_core/rostime/CMakeLists.txt:8 (find_package)
– Configuring incomplete, errors occurred!
See also “D:/catkin_ws/CMakeFiles/CMakeOutput.log”.
See also “D:/catkin_ws/CMakeFiles/CMakeError.log”.
请问下搂主遇到过没呢?