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

Revision history [back]

I do not really understand the actual problem. What do you mean with 'rosmake files'? I never had problems to build electric nodes under fuerte and vice versa apart of some tf related issues.

If your problem is that you cannot use the builtin rosbuild macros (which should definitely work in both distros), I guess it might be because you are using rospack find to generate cflags and ldflags. Use rospack export instead. For instance, to get the cflags, you can call:

rospack export --lang=cpp --attrib=cflags

and to get the linker flags:

rospack export --lang=cpp --attrib=lflags

Rosbuild uses exactly these commands to infer the correct flags, i.e. it does not use rospack find for generating compiler and linker flags.