Apollo, missing input file in ad_rss_lib: build failed
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.
-
Download ad-rss-lib
-
Download adv-plat
-
Put ad-rss-lib and adv-plat in a local path
-
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
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'
The ad_rss_lib and adv_plat have been pre-installed in the docker image. You can try the latest master branch.
Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.