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

[Foxy] ROS2 Development with Visual Studio 2019 #446

Open

Description

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?

Activity

  1. ooeygui commented on Jun 22, 2023

    @ooeygui
    Member

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions