Open jsYangCode opened 4 years ago
did you solve this? if you have soled, pease tell me how to do
does u guys solve this problem
You need to remove the -msse from the cmakelists.txt. See below for example just comment it out.
if("$ENV{ROS_DISTRO}" STRGREATER "melodic") add_definitions(-std=c++17)
set(CMAKE_CXX_FLAGS "-std=c++17") else()
add_definitions(-std=c++11)
set(CMAKE_CXX_FLAGS "-std=c++11") endif()
i have the same problem, someone can solve it?
hello,friends. today, i compile this on Xavier which is NVIDIA's product, it is the ARM architecture different from the intel‘s x86_64. when i build it on Xavier, some errors occur!! like these: c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’? c++: error: unrecognized command line option ‘-msse2’ c++: error: unrecognized command line option ‘-msse3’ c++: error: unrecognized command line option ‘-msse4’ c++: error: unrecognized command line option ‘-msse4.1’ c++: error: unrecognized command line option ‘-msse4.2’ c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’? c++: error: unrecognized command line option ‘-msse2’ c++: error: unrecognized command line option ‘-msse3’ c++: error: unrecognized command line option ‘-msse4’ c++: error: unrecognized command line option ‘-msse4.1’ c++: error: unrecognized command line option ‘-msse4.2’
In the CMakeLists.txt is "add_definitions(-std=c++11 -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2) set(CMAKE_CXX_FLAGS "-std=c++11 -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2")". which is OK on the intel‘s x86_64 architecture. Can you give me some help ? THANK YOU FIRST!!