-
Notifications
You must be signed in to change notification settings - Fork 57
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 error on win 10 #75
Comments
Hi @michaelchi08, I am also facing the same error. rcldotnet_common fails to be built without any explicit error log. |
Hi @berkayalpcakal , no unfortunately not yet 😞 |
Hi again, I was able to build this repository in a ros2 workspace on my Ubuntu 18.04 machine. Then I wanted to build these packages in a ros2 workspace on my Win 10 machine. But 'rcldotnet_common' does not build for some reasons, and gives the aforementioned build output. Then I decided to follow the way as described in here (using Linux kernel based docker on my Win 10 machine). Finally I successfully built the ros2dotnet on Win 10. |
Hi, thanks for letting me know. I'll give it a try. it'll be nice if we could run this natively though. Do yo know if it's possible to run just this in docker and the all other ros2 nodes natively on windows? |
Hello. I tried building ros2_dotnet on my windows 10 system today (with Foxy release of ROS2 installed), and I have been seeing the same errors previously mentioned here. I decided to run the colcon build command with an extra flag (
So then I poked around the install location for ROS2 and I noticed that To verify this was the issue, I tried moving the event_callback_type.h file to the parent directory. Doing this still resulted in a build failure but with new error messages that appear to be syntax issues: See attached file for a larger snapshot of the build output. I am out of my depth in debugging this further, but maybe someone else can figure out what's going wrong from my findings. |
Win10 and .NET Core 3.1 is installed
Starting >>> rcldotnet_common
--- stderr: rcldotnet_common
CMake Warning (dev) at C:/opt/ros/foxy/x64/Lib/site-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
The package name passed to
find_package_handle_standard_args
(DOTNET_CORE) does not match the name of the calling package (DotNetCore).
This can lead to problems in calling code that expects
find_package
result variables (e.g.,
_FOUND
) to follow a certain pattern.Call Stack (most recent call first):
C:/dev/ros2_dotnet_ws/install/share/dotnet_cmake_module/cmake/Modules/dotnet/FindDotNetCore.cmake:37 (find_package_handle_standard_args)
C:/dev/ros2_dotnet_ws/install/share/dotnet_cmake_module/cmake/Modules/FindCSBuild.cmake:20 (find_package)
C:/dev/ros2_dotnet_ws/install/share/dotnet_cmake_module/cmake/Modules/FindDotNETExtra.cmake:15 (find_package)
CMakeLists.txt:9 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
Failed <<< rcldotnet_common [8.31s, exited with code 1]
Aborted <<< rosidl_generator_c [10.1s]
Summary: 7 packages finished [28.3s]
1 package failed: rcldotnet_common
1 package aborted: rosidl_generator_c
1 package had stderr output: rcldotnet_common
28 packages not processed
Anybody knows what's going on and how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: