ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ROS windows crash while getting NodeHandler

asked 2014-03-05 10:24:40 -0500

Bardo91 gravatar image

updated 2016-10-24 08:59:42 -0500

ngrennan gravatar image


I've got a trouble using ROS in Windows :(. I'm with the publisher and subscriber tutorial in windows. I compiled it fine but while executing it, it crash due to an access violation...

If I execute it with out executing in a console "roscore" it says that cant connect to master

So then I tried with roscore (As I read, it's always necessary). But then I get the access violation inside the line: "ros::NodeHandle n;"

If I debugged inside i got that crash in the line "initRemappings(remappings);"

Can anyone helps me?

Thanks in advance!!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-06-02 09:16:44 -0500

Raitalaama gravatar image


I had same issue with ROS Hydro and Visual studio 2013 express. Don't know what the actual problem was but changing Platform Toolset setting from visual studio 2013 to visual studio 2010 or Windows7.1SDK and building again solved it for me.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-03-05 10:24:40 -0500

Seen: 217 times

Last updated: Jun 02 '14