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

Revision history [back]

click to hide/show revision 1
initial version

Those instructions sounds pretty specific to rosmake, so they probably aren't designed to work with catkin. I don't use Netbeans so I might not get all this right, but it seems to me the biggest change is that you need to tell Netbeans to run CMake in myworkspace/build/package rather than in myworkspace/src/package where it is now. There may be other issues involved, but that would be the first thing.

If you are working on a single package then you can treat it like a plain cmake package and these instructions will likely work:

http://stackoverflow.com/a/8027379

This doesn't allow it to work with a catkin workspace, but it is a step in the right direction.

If you are using catkin_make then you'll have a boilerplate CMakeLists.txt in myworkspace/src, so if you point Netbeans at that "CMake project" then you can mimic the behavior of catkin_make by:

  • running cmake in myworkspace/build
  • passing -DCATKIN_DEVEL_SPACE=../devel to cmake
  • passing -DCMAKE_INSTALL_PREFIX=../install to cmake

Maybe some of that helps.