Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

[Foxy] ROS2 Development with Visual Studio 2019 #446

Open
yerkgb opened this issue Jun 21, 2023 · 1 comment
Open

[Foxy] ROS2 Development with Visual Studio 2019 #446

yerkgb opened this issue Jun 21, 2023 · 1 comment

Comments

@yerkgb
Copy link

yerkgb commented Jun 21, 2023

Hello,

I am trying to create ROS2 project on VISUAL STUDIO 2019 on top of existing project. My existing project successfully build in ROS with colcon_build. VS solution is working fine. However, once I include ROS libraries I can run it on Command Line, but it cannot run on VS19. I cant even debug with breakpoints as it is Release. Once i run this error appears:

Unhandled exception at 0x00007FFC1E7A536C in datamanager.exe: Microsoft C++ exception: rclcpp::exceptions::RCLError at memory location 0x00000032154FE3D0.

My system:
Windows 11
Type of installation: Windows (source)
VS19
Steps from #310 is done

Is it even possible to debug ROS2 Project on VS 2019?
I need to be able to publish topics from a program developed in C++ from VS 2019. Do you know any solution?

@ooeygui
Copy link
Member

ooeygui commented Jun 22, 2023

Hello There,
I'm sorry, but this scenario is not supported. I had attempted to build a nuget package which would work for you, but that project was not funded to completion. If you want to see how that was done, check out http://aka.ms/ros/mrtk_native. It was a ROS nuget package, which would work for Desktop C++, UWP and Hololens.

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

No branches or pull requests

2 participants