apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Apollo, missing input file in ad_rss_lib: build failed

Open arappazzo opened this issue 7 years ago • 4 comments

I'm trying to install Apollo from source. I've been following the guidelines so far, but two important steps had to be done in order to proceed.

  1. Download ad-rss-lib

  2. Download adv-plat

  3. Put ad-rss-lib and adv-plat in a local path

  4. Change the settings in WORKSPACE.in accordingly. EG: that's how the settings for ad-rss-lib should look like this:

#ad-rss-lib new_local_repository( name = "ad_rss_lib", build_file = "third_party/rss_lib.BUILD", path = "/home/tmp", )

Do the same for adv-plat NB: it could be the case that the name of the folder containing the package has to be changed. In particular, the folder containing the equivalent of adv-plat must be called adv-plat.

However, as I try to build Apollo, the build fails. By looking at the log file (see attachment), it seems like there's a missing input file (missing input file '@ad_rss_lib//:src/generated/situation/SituationType.cpp'). Have you got any ideas why this?

Thanks in advance

System information

  • Ubuntu 18.04:
  • Apollo installed from source:

Steps to reproduce the issue:

  • Download apollo
  • Make changes as mentioned above
  • bash docker/scripts/dev_start.sh
  • bash docker/scripts/dev_into.sh
  • bash apollo.sh build

myLog.txt

arappazzo avatar Nov 11 '19 14:11 arappazzo

I've just done it again after clearing the Bazel cache. Build failed but with different error message. See attachment: missing input file '@adv_plat//:include/adv_trigger.h'

myLog_1.txt

arappazzo avatar Nov 13 '19 14:11 arappazzo

log_tmp3.txt

Further logs in case they were needed

arappazzo avatar Nov 18 '19 15:11 arappazzo

The ad_rss_lib and adv_plat have been pre-installed in the docker image. You can try the latest master branch.

changsh726 avatar Sep 02 '20 02:09 changsh726

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.

daohu527 avatar Aug 21 '22 03:08 daohu527