qiayuanl/legged_control

Build in A1 (nvidia tegra xavier (nvgpu)/integrated, armv8, ubuntu 18.04)

Zhihaibi opened this issue · 4 comments

Hi,

I am trying to compile hpipm on Arm (nvidia tegra xavier (nvgpu)/integrated, armv8, ubuntu 18.04 )

and meet these error: Unrecognized command line option '-m64' and '-mavx'

9630b789c645be070e45f001ce36885

I have already switched to the GENERIC target in HPIPM in Cmakelist.txt:

Target architecture

#set(TARGET AVX CACHE STRING "Set CPU architecture target")
set(TARGET GENERIC CACHE STRING "Set CPU architecture target")

and in makefile.rule, I modify to:

Target architecture

#TARGET = AVX512
#TARGET = AVX
TARGET = GENERIC

But I still get this error, do you know how to solve it? Thank you very much!

hi,@Zhihaibi
I encountered the same issue as you. Have you resolved it? Thank you very much for your response.

I am using the Jetson AGX Orin with system version ubuntu 20.04, but I'm still encountering the same error as you. It's likely due to compiling for the ARM64 architecture. The code compiles fine on my laptop, but I encounter errors when compiling it on the Orin.

image

Hi,

I am trying to compile hpipm on Arm (nvidia tegra xavier (nvgpu)/integrated, armv8, ubuntu 18.04 )

and meet these error: Unrecognized command line option '-m64' and '-mavx'

9630b789c645be070e45f001ce36885

I have already switched to the GENERIC target in HPIPM in Cmakelist.txt:

Target architecture

#set(TARGET AVX CACHE STRING "Set CPU architecture target") set(TARGET GENERIC CACHE STRING "Set CPU architecture target")

and in makefile.rule, I modify to:

Target architecture

#TARGET = AVX512 #TARGET = AVX TARGET = GENERIC

But I still get this error, do you know how to solve it? Thank you very much!

set(TARGET GENERIC CACHE STRING "Set CPU architecture target")
At the same time, it is necessary to delete the compilation history of hpipm_catkin in the build and develop folders, and then compile the catkin build hpipm_catkin. The system uses Ubuntu 20.04