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

Apollo 9.0 Failed Build Perception in x86(4090). #15243

Closed
Hgsil opened this issue Dec 22, 2023 · 9 comments
Closed

Apollo 9.0 Failed Build Perception in x86(4090). #15243

Hgsil opened this issue Dec 22, 2023 · 9 comments
Labels
Apollo 9.0 Infra System/Infrastructure related Module: Build Indicates build related issues

Comments

@Hgsil
Copy link

Hgsil commented Dec 22, 2023

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 18.04): ubuntu 22.04
  • Apollo installed from (source or binary): source
  • **Apollo version **: 9.0 release

Steps to reproduce the issue:

I compiled apollo9.0 in 4090 as described in the url and the following error was output.

Supporting materials (screenshots, command lines, code/script snippets):

image

@ScottDeng114514
Copy link

2023-12-22 17-38-55 的屏幕截图
Emm, I've just built apollo-9.0.0 on my 4090 x86 machine, but I didn't meet any problem. What's the output of command "bash /apollo/apollo.sh config -n" in your docker?

@Hgsil
Copy link
Author

Hgsil commented Dec 22, 2023

the output is like this.
image

@ScottDeng114514
Copy link

Then how about "lscpu"?
By the way, my hardware:
cpu: 12th Gen Intel® Core™ i7-12700 × 20
gpu: NVIDIA GeForce RTX 4090
And os: ubuntu 20.04.1

@Hgsil
Copy link
Author

Hgsil commented Dec 25, 2023

the output is like this.
image

lscpu
my hardware:
cpu: Intel(R) Xeon(R) Platinum 8336C CPU
gpu: NVIDIA GeForce RTX 4090 * 4
And os: ubuntu 22.04.1
Could the difference in Ubuntu version be the cause of this problem?
The output of "lscpu" is :
image

@ScottDeng114514
Copy link

Seems nothing wrong, and I don't think the ubuntu version matters.
Try disable the c option "--copt=-mavx2 --host_copt=-mavx2" in /apollo/scripts/apollo_base.sh, line 744
and then clean and rebuild:
./apollo.sh clean -a
./apollo.sh build_opt_gpu perception
Hope this work...

@Hgsil
Copy link
Author

Hgsil commented Dec 25, 2023

Seems nothing wrong, and I don't think the ubuntu version matters. Try disable the c option "--copt=-mavx2 --host_copt=-mavx2" in /apollo/scripts/apollo_base.sh, line 744 and then clean and rebuild: ./apollo.sh clean -a ./apollo.sh build_opt_gpu perception Hope this work...

Unfortunately, this problem still exists, so please ask if you have changed it according to the url .

image

@ScottDeng114514
Copy link

No, I just download 9.0, unzip, dev_start and dev_into and modified files as that url indicates, then build.

@Hgsil
Copy link
Author

Hgsil commented Dec 25, 2023

No, I just download 9.0, unzip, dev_start and dev_into and modified files as that url indicates, then build.

Thank you very much for your help, have you encountered this problem?
image

I tried using the use of find / -name "libnvinfer" but I didn't find it.

@Hgsil
Copy link
Author

Hgsil commented Dec 25, 2023

No, I just download 9.0, unzip, dev_start and dev_into and modified files as that url indicates, then build.

Thank you very much for your help, have you encountered this problem? image

I tried using the use of find / -name "libnvinfer" but I didn't find it.

No, I just download 9.0, unzip, dev_start and dev_into and modified files as that url indicates, then build.

I managed to solve this problem, thank you very much for your help.

@lykling lykling added Module: Build Indicates build related issues Infra System/Infrastructure related Apollo 9.0 labels Dec 25, 2023
@Hgsil Hgsil closed this as completed Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apollo 9.0 Infra System/Infrastructure related Module: Build Indicates build related issues
Projects
None yet
Development

No branches or pull requests

3 participants