ApolloAuto / apollo

An open autonomous driving platform
Apache License 2.0
25.01k stars 9.67k forks source link

how to build on nvidia jetson AGX xavier #11761

Closed zhangxingjing closed 3 years ago

zhangxingjing commented 4 years ago

11513 # System information

Steps to reproduce the issue:

1,run docker/script/cyber_start.sh 2,run docker/script/cyber_into.sh 3,run apollo.sh build

When I build Apollo in docker, it reminds me that it lacks many dependencies, so I installed various dependencies according to the sh files of /apollo/docker/build/installers/ , but some libraries couldn't be installed with install_*.sh, for example, qp_oases, PCL, QT and so on, I download the source code of these libraries from the Internet to compile, and moved the compiled files into /usr/local/lib as in the sh file showed , and then compilation will still prompt can not find these dependent libraries, so I would like to ask if there is a faster or easier way to install Apollo under the arm architecture.

by the way , I can build some module singlely by use ./apollo.sh build , like contrib,data,v2x,transform,moniter,guardian,calibration,third_party_perception, but I cant build any other module by use this method, because lack of dependencies.

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

Screenshot from 2020-07-13 18-10-07 Screenshot from 2020-07-13 18-09-48 Screenshot from 2020-07-13 18-09-32

storypku commented 4 years ago

11513 # System information

When I build Apollo in docker, it reminds me that it lacks many dependencies, so I installed various dependencies according to the sh files of /apollo/docker/build/installers/ , but some libraries couldn't be installed with install_*.sh, for example, qp_oases, PCL, QT and so on, I download the source code of these libraries from the Internet to compile, and moved the compiled files into /usr/local/lib as in the sh file showed , and then compilation will still prompt can not find these dependent libraries, so I would like to ask if there is a faster or easier way to install Apollo under the arm architecture.

This reason for this issue is that our dev.aarch64 docker image was not ready. And cyber.{aarch64,x86_64} docker images was only used to build and test and run our CyberRT module. As other modules (planning, prediction, planning, control) has various dependencies not available in the cyber image, the build will surely fail.

Thank you for your attention to Apollo. And hopes that our dev.aarch64 image would be ready in the next few months.

zhangxingjing commented 4 years ago

@storypku Thank you for your reply!I noticed that your low-speed kit is installed on TX2. Can I install the low-speed version of apollo on TX2 by myself?

storypku commented 4 years ago

@storypku Thank you for your reply!I noticed that your low-speed kit is installed on TX2. Can I install the low-speed version of apollo on TX2 by myself?

You mean D-Kit ? Maybe @diegohu could help on that.

zhangxingjing commented 4 years ago

@storypku yap, D-kit

diegohu commented 4 years ago

@zhangxingjing D-KIT is installed on X86 based IPC, not TX2.

zhangxingjing commented 4 years ago

@diegohu Oh,I made a mistake,maybe It is low speed micro vehicle kit.

diegohu commented 4 years ago

low speed micro vehicle kit.

Yeap, Micro-KIT is installed on TX2. However, It only supports navigation mode based on Apollo 3.0 and I don't think it's an open source version.

zhangxingjing commented 4 years ago

@diegohu Ok,thank you very much!

storypku commented 3 years ago

@zhangxingjing It seems that your question was resolved, and I am going to close this issue now. If you have other questions, feel free to create another issue. Thanks for supporting Apollo.