Open FSet89 opened 5 years ago
same question on Ubuntu16.04, have you solved it?
the same question on jetso nano ..............
@catsostrong have you solve this question? @voyage19941119
Could you please give -fsee
a try? I am not sure if that will solve it
I was able to build on an arm64 architecture (jetson nano with Ubuntu 18.04) using catkin build. Two things:
1) In CMakeLists.txt, note at the top it only does the arm build if the environment variable ARM_ARCHITECTURE is defined. So the first step is do export ARM_ARCHITECTURE=true
in the terminal you will catkin build in.
2) The CMakeList.txt is set up for an old version of the odroid I guess, so replace SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O3 -mfpu=neon -march=armv7-a")
with SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O3 -march=armv8-a")
This worked for me, hope it helps!
I am trying to build on a Aarch64 architecture:
I get the following error on make:
c++: error: unrecognized command line option ‘-mmmx’ c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’? 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 ‘-mssse3’