apollo icon indicating copy to clipboard operation
apollo copied to clipboard

build failed

Open XiaoHongZuLiao opened this issue 7 years ago • 18 comments

when I build the code downloaded from GitHub, there comes a error causing building failed: /apollo/modules/map/relative_map/tools/BUILD:18:1: C++ compilation of rule '//modules/map/relative_map/tools:navigator' failed (Exit 1). so now , who can give me a hand......

XiaoHongZuLiao avatar Sep 03 '19 02:09 XiaoHongZuLiao

@XiaoHongZuLiao could you give us more details about your system as well as the steps you followed to build Apollo?

natashadsouza avatar Sep 03 '19 21:09 natashadsouza

Maybe there was something wrong with the zip file which you downloaded or something went wrong when you unzip the source code ...

Eclipsehelio avatar Sep 05 '19 06:09 Eclipsehelio

@natashadsouza well, now it doesnt throw out any exceptions and indicate "build failed" directly...... the steps I followed to build Apollo seems to accuracy, install docker, git clone Apollo, pull down docker images and then step into docker environment, when it come to this step, all things goes well, but when I type in "bash apollo.sh build", the progress runs for little time, and during this period, I found it also downloads something like libs from Internet, after this ,it turns out "build failed". So now, Im considering whether the RAM of my host should be at least 8G, because my host only exist 4G memory.

XiaoHongZuLiao avatar Sep 16 '19 14:09 XiaoHongZuLiao

@Eclipsehelio I think there shouldnt be someting wrong with the zip file I downloaded from github because Ive tried so many times downloading hahaha .... But whether the code needs to be modified should be carefully taken. I have saw one suggestion that before building the project we should change the value of JOB_AGE to 1. Have you ever heard of this?

XiaoHongZuLiao avatar Sep 16 '19 14:09 XiaoHongZuLiao

@natashadsouza sorry for my late replying!

XiaoHongZuLiao avatar Sep 16 '19 14:09 XiaoHongZuLiao

@Eclipsehelio sorry for my late replying!

XiaoHongZuLiao avatar Sep 16 '19 14:09 XiaoHongZuLiao

well, now Im trying to build the apollo project again and failed again.....the information is : INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling --host_jvm_args=-XX:-UseParallelGC ERROR: (09-16 15:38:53.089) build interrupted. INFO: (09-16 15:38:53.091) Elapsed time: 359.813s The OS I use this time is ubuntu 16.04, does it matter? Or I need to run it on ubuntu18.04? Ill try it tomorrow!!!!

XiaoHongZuLiao avatar Sep 16 '19 15:09 XiaoHongZuLiao

What a pity! Ive tried about two times where the environment and the hardware all meets the requirements, but it turns out still failed without any hint. I dont know how to go next.

XiaoHongZuLiao avatar Sep 20 '19 08:09 XiaoHongZuLiao

@XiaoHongZuLiao did you upgrade your RAM and try again?

natashadsouza avatar Sep 20 '19 18:09 natashadsouza

@natashadsouza Yes, of course. I`ve upgrade my RAM to 8G, but failed again , even worse , without any hint.

XiaoHongZuLiao avatar Sep 23 '19 14:09 XiaoHongZuLiao

@XiaoHongZuLiao I would recommend deleting Apollo completely from your system, and starting over. Since we do not have any error messages, it is almost impossible for me to debug unfortunately. Please try to re-clone and build once more and send me a screenshot of the build failure if you see it again.

natashadsouza avatar Sep 23 '19 18:09 natashadsouza

@natashadsouza All right, I`ll try it again and thank you very much!

XiaoHongZuLiao avatar Sep 24 '19 07:09 XiaoHongZuLiao

@natashadsouza luckily, build successfully, I build the code on cloud platform thus there`s no hardware problem , now how can I run a demo on the dreamview ?

XiaoHongZuLiao avatar Sep 25 '19 09:09 XiaoHongZuLiao

@XiaoHongZuLiao sounds good! Just follow the "How to Build Guide" it will walk you through the process.

natashadsouza avatar Sep 25 '19 18:09 natashadsouza

@natashadsouza Thank you very much! And may I ask you another question? Do you know where I can get the data of High Definition Map used in Apollo, or I made a mistake, the virtual car run Apollo just use normal guide map we usually use in lives?

XiaoHongZuLiao avatar Sep 26 '19 03:09 XiaoHongZuLiao

@XiaoHongZuLiao you can choose the map once Dreamview is set up. There is a drop down menu to choose whichever HD map you would like to use for your testing purposes. The How to document should walk you through the process. Thanks.

natashadsouza avatar Sep 30 '19 22:09 natashadsouza

@natashadsouza All right, thanks again!

XiaoHongZuLiao avatar Oct 02 '19 16:10 XiaoHongZuLiao

@natashadsouza luckily, build successfully, I build the code on cloud platform thus there`s no hardware problem , now how can I run a demo on the dreamview ?

@XiaoHongZuLiao, congrats on your build success. I will appreciate if you can give me some hands. I am struggling with alot of bugs at every given steps, I have tried some recommendations yet build has not been successful. By the way, which virtual platform did you use this time? If you don't mind, I can set up a google handout call for few seconds of your time so I can get some guidance from you. Here is my email id: [email protected]

Thanks for help.

con00 avatar Nov 22 '19 22:11 con00