Closed Deric-W closed 1 year ago
I tried to reproduce the issue but without success.
I created a custom message package from the mentioned tutorial (pijaro/tutorial_interfaces) and set it up in a custom messages file ros2_for_unity_custom_messages.repos
:
# NOTE: Use this file if you want to build with custom messages that reside in a separate remote repo.
# NOTE: use the following format
repositories:
# src/ros2cs/custom_messages/<package_name>:
# type: git
# url: <repo_url>
# version: <repo_branch>
# custom_messages/<package2_name>:
# ...
# ...
src/ros2cs/custom_messages/tutorial_interfaces:
type: git
url: git@github.com:pijaro/tutorial_interfaces.git
version: main
then .\pull_repositories.ps1
and .\build.ps1
. Build succeeded without errors.
Did you check the Windows important notices? A lot of strange errors are most often caused by Windows path restrictions.
Also, It is always a good idea to clear the build
and install
directories if the workspace dir changed substantially.
A full build log could be useful as well. Maybe the package and repos are correct, but the problem is that the geometry_msgs
did not build successfully.
Sorry for the long delay, I cleared the build
and install
directories and it worked, sorry for bothering you.
Describe the bug The following error occurs while building a part of this package:
To Reproduce Steps to reproduce the behavior:
Num.msg
andAddThreeInts.srv
inmsg
andCMakeLists.txt
)ros2_for_unity_custom_messages.repos
:Expected behavior The build succeeds
Desktop:
Fix The build succeeds when adding the following to
ros2_for_unity_custom_messages.repos
: