Closed wangquandashabi closed 4 months ago
the code ""Boost_VERSION_STRING" "VERSION_GREATER_EQUAL" "1.75"" is on Cmakelist.txt between line 29-31
Which version of CMake are you using?
The cmake version I am using is 3.5.1,is there something matter with it?
It turns out that "VERSION_GREATER_EQUAL" was introduced with CMake 3.7, so please update your CMake version. I will update the minimum required version in Artery's CMakeLists.txt accordingly.
By the way, CMake 3.5 is extremely old. Even Debian Buster (oldoldstable today) ships with CMake 3.13.
thanks for your answer!but after the step"$cmake .."completed successfully,an error occured on the next step "$cmake --build . ". It is reported that: "/home/wangquan/artery/extern/vanetza/vanetza/access/g5_link_layer.cpp:32:45: error: default initialization of an object of const type 'const ieee802::dot11::QosControl' without a user-provided default constructor static const ieee802::dot11::QosControl default_qos_control; ^ {} 1 error generated. " how can I deal with it? the current Cmake version has updated to 3.29.2 you can also know about the error report by view the picture.
Are you using an ancient Linux distribution? Looks like your C++ compiler is also not up-to-date, I suspect something like GCC 4.8 which has only incomplete C++11 support.
while doing the step which run“$cmake ..”,it reported me that “CMake Error at CMakeLists.txt:29 (if): if given arguments:
Unknown arguments specified
” the current boost version on my computer is 1.85,how can i deal with this cmake error?