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

Are you trying to integrate rosjava code or roscpp code? Those instructions were written for roscpp code.

The instructions for rosjava (in progress) are here:

http://www.ros.org/wiki/rosjava/Build/Eclipse

click to hide/show revision 2
more explanation of roscpp

Are you trying to integrate rosjava code or roscpp code? Those instructions were written for roscpp code.

The instructions for rosjava (in progress) are here:

http://www.ros.org/wiki/rosjava/Build/Eclipse

For roscpp, your project needs to follow the standard package template, where the Makefile looks like:

 include $(shell rospack find mk)/cmake.mk

And nothing more (i.e. the rest of your bulid is configured via CMake). The above cmake.mk file declares the eclipse-project target.

If you don't wish to use the cmake.mk file, then you can grab the necessary Makefile rul from mk/cmake.mk and adapt it to your needs.

Are you trying to integrate rosjava code or roscpp code?

The instructions for rosjava (in progress) are here:

http://www.ros.org/wiki/rosjava/Build/Eclipse

For roscpp, your project needs to follow the standard package template, where the Makefile looks like:

 include $(shell rospack find mk)/cmake.mk

And nothing more (i.e. the rest of your bulid is configured via CMake). The above cmake.mk file declares the eclipse-project target.

If you don't wish to use the cmake.mk file, then you can grab the necessary Makefile rul rule from mk/cmake.mk and adapt it to your needs.