-
Notifications
You must be signed in to change notification settings - Fork 5
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
Building examples out-of-workspace #8
Comments
It seems to be a problem with For example, if the main workspace has been built in
will try and run the underlying
which fails with
Note how the Compare that to running
where the If I manually pass in those same arguments when building in |
Reproducible example: https://gist.github.com/johnmarkwayve/5764dc0f24f71e54a4f85dd9fecd615c |
How can these examples (or, indeed, any project that uses ros2_android) be built without existing within the ros2_android workspace?
I have
ament_java
andros2_android
built in their own directories, as per the instructions here: https://github.com/esteve/ros2_javaHaving sourced
{ament_java|ros2_android}/install/local_setup.bash
, I then want to build these examples.I've tried:
ament build .
from the root of this repo (fails withExecution failed for task ':copyNativeLibs'. > path may not be null or empty string. path=''
)ament build
from theros2_listener_android
subdir (`All selected packages are being skipped. Nothing to do)ament build .
from theros2_listener_android
subdir. This one causesament
to try and recusively copyros2_listener_android/
intoros2_listener_android/build
-- not fun.--ament-gradle-args
section from https://github.com/esteve/ros2_javaMy guess is that I'm supposed to be copying these examples into the
ros2_android
workspace, and building the lot. But I really don't want to embed my project in the directory structure of one of its dependencies, that feels very backwards.Edit: To answer the obvious question, yes the correct version of
ament
(the one fromament_java
) is being runThe text was updated successfully, but these errors were encountered: