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

Barebone Compile of Repository Fails #337

Closed
Carter12s opened this issue Oct 24, 2023 · 3 comments
Closed

Barebone Compile of Repository Fails #337

Carter12s opened this issue Oct 24, 2023 · 3 comments

Comments

@Carter12s
Copy link
Contributor

Steps to reproduce:

Create a docker image with Dockerfile in repo & iron:
docker build -t rclrs-iron .

Mount repo into that docker image:
docker run -it --mount type=bind,target=/workspace,src="$(pwd)" rclrs-iron bash

Attempt compile:
colcon build

Failure:

Starting >>> rclrs_tests
--- stderr: examples_rclrs_message_demo                                                                                  
error: no matching package named `rclrs_example_msgs` found
location searched: registry `crates-io`
required by package `examples_rclrs_message_demo v0.3.1 (/workspace/examples/message_demo)`
---

I'll attempt a quick fix to this.

@Carter12s
Copy link
Contributor Author

Huh I may be misunderstanding how to compile this crate. I thought that this issue was simply going to be the crate hadn't be published on crates.io, and that by specifying its location with "path" in cargo.toml. I may be able to correct the issue, looks like there is something deeper going on with how cargo.toml and colcon interact. Digging.

@Carter12s
Copy link
Contributor Author

Digging in it looks like I screwed up the workspace layout with vcs import messing around

@Carter12s
Copy link
Contributor Author

Yeah closing this, was led astray by a few factors (and some misreading of the documentation) Ignore my stupidity.

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

No branches or pull requests

1 participant