Skip to content
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

Failing to build with ament in isolation #69

Closed
clalancette opened this issue May 4, 2018 · 3 comments
Closed

Failing to build with ament in isolation #69

clalancette opened this issue May 4, 2018 · 3 comments
Assignees
Milestone

Comments

@clalancette
Copy link
Contributor

I have an Ubuntu 16.04 container with ecl_tools, ecl_lite, ecl_core, and sophus checked out in a workspace. If I try to build in isolation:

ament build --isolated --make-flags VERBOSE=1

Then the build fails with:

[ 16%] Building CXX object src/lib/CMakeFiles/ecl_exceptions.dir/standard_exception.cpp.o
cd /home/ubuntu/ecl_ws/build_isolated/ecl_exceptions/src/lib && /usr/bin/c++   -DROS_PACKAGE_NAME=\"ecl_exceptions\" -Decl_exceptions_EXPORTS -isystem /home/ubuntu/ecl_ws/install_isolated/ecl_config/include  -std=c++14 -Wall -Wextra -Wl,--no-as-needed -fPIC   -o CMakeFiles/ecl_exceptions.dir/standard_exception.cpp.o -c /home/ubuntu/ecl_ws/src/ecl_core/ecl_exceptions/src/lib/standard_exception.cpp
In file included from /home/ubuntu/ecl_ws/src/ecl_core/ecl_exceptions/src/lib/standard_exception.cpp:19:0:
/home/ubuntu/ecl_ws/src/ecl_core/ecl_exceptions/src/lib/../../include/ecl/exceptions/standard_exception.hpp:31:35: fatal error: ecl/errors/handlers.hpp: No such file or directory
compilation terminated.

It looks like ecl_exception isn't properly pulling in the include directories for ecl_error, but I'm not quite sure how to fix it.

@stonier
Copy link
Owner

stonier commented May 4, 2018

Switched over my build to use the isolated flag. Naively I assumed ament was doing isolated by default. Error reproduced. Will fix it as I can between meetings today.

@stonier
Copy link
Owner

stonier commented May 4, 2018

@stonier stonier closed this as completed May 4, 2018
@stonier stonier added this to the Ardent milestone May 4, 2018
@stonier stonier self-assigned this May 4, 2018
@clalancette
Copy link
Contributor Author

Just tested it locally, and isolated builds work now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants