Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Zhihaibi opened this issue Jun 8, 2024 · 4 comments

Comments

@Zhihaibi
Copy link

Zhihaibi commented Jun 8, 2024

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!

@nanbwrn
Copy link

nanbwrn commented Jul 13, 2024

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

@Zhihaibi
Copy link
Author

Zhihaibi commented Jul 13, 2024 via email

@nanbwrn
Copy link

nanbwrn commented Jul 13, 2024

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.

@af-yi
Copy link

af-yi commented Jul 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants