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

Build package in overlay mode failed on Ubuntu22.04 #43

Open
Czl0223 opened this issue Feb 9, 2023 · 5 comments
Open

Build package in overlay mode failed on Ubuntu22.04 #43

Czl0223 opened this issue Feb 9, 2023 · 5 comments

Comments

@Czl0223
Copy link

Czl0223 commented Feb 9, 2023

Refer to the official tutorial in github to build ros2cs in Ubuntu22.04 https://github.com/RobotecAI/ros2cs/blob/master/README-UBUNTU.md,
The installation of test-msgs, cyclonedds and fastrtps packages all works fine.
An error occurred in the ros2cs_common package when building the overlay mode,
The error log is as follows:
image
Can anyone help me to find the error...

@pijaro
Copy link
Collaborator

pijaro commented Feb 9, 2023

We are currently in the process of migrating the c# build tool back to dotnet. It looks like that readme still needs to be updated.

Please try to install .dotnet 6: sudo apt install dotnet-sdk-6.0

or, if that doesn't help, try the last stable version: https://github.com/RobotecAI/ros2cs/tree/1.2.1

@Czl0223
Copy link
Author

Czl0223 commented Feb 10, 2023

Direct execution: sudo apt install dotnet-sdk-6.0 on Ubuntu22.04 will cause conflicts, I refer to the solution in github
#dotnet/sdk#27082,
At this point, ros2cs can be built correctly in overlay mode

@Czl0223 Czl0223 closed this as completed Feb 10, 2023
@Czl0223 Czl0223 reopened this Feb 10, 2023
@Czl0223
Copy link
Author

Czl0223 commented Feb 10, 2023

Now there is a new problem, when I build in coverage mode, the test code is executed:
ros2 run ros2cs_examples ros2cs_performance_talker
produces the following error:
截图 2023-02-10 11-04-36
When I build in test mode--with-tests it produces the following error:
截图 2023-02-10 11-08-18
截图 2023-02-10 11-08-32

@pijaro
Copy link
Collaborator

pijaro commented Mar 29, 2023

The issue should now be fixed - e2aa0cb (currently in develop branch).

@adamdbrw
Copy link
Member

@Czl0223 was this issue fixed for you?

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

3 participants