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

@yerkgb

Description

@yerkgb

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?

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