Skip to content
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

ROS Noetic Windows 10 runtime 'Debug Error' #288

Open
cimbar opened this issue Aug 19, 2021 · 2 comments
Open

ROS Noetic Windows 10 runtime 'Debug Error' #288

cimbar opened this issue Aug 19, 2021 · 2 comments

Comments

@cimbar
Copy link

cimbar commented Aug 19, 2021

Hi,
ROS Noetic on Windows 10 fails whenever I try to execute any function with ros namespace. You can find the error dialogue below. It shows Debug Error! and abort() has been called. I don't face with this issue on python, it is produced only in c++ nodes. I have met with this issue when I called any instruction below, I mean single instruction with ros namespace enough to produce this error. The ROS built version is ros-noetic-desktop_full v20201214.0.0.2104301300.

ros::init(remappings, "sadad"); or
ros::NodeHandle nh; or
ros::Rate r(20); or
ros::NodeHandle nh_private("~"); or
ros::Duration(1).sleep(); gives this error:

ros runtime error

@hidmic
Copy link
Collaborator

hidmic commented Sep 10, 2021

@cimbar we'll need a bit more information on your platform (including package versions) plus a small example to reproduce.

@cimbar
Copy link
Author

cimbar commented Sep 11, 2021

I find out the problem occurs when debug mode enabled in CMakeLists file. When I removed the set(CMAKE_BUILD_TYPE Debug), the issue is solved.

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

No branches or pull requests

2 participants