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

Changing Executable Path

asked 2015-02-12 08:45:38 -0500

zuygar gravatar image

When i built a cpp file in a ros project (after "catkin_make" command) the executable occurs in the path /devel/lib. But i want it to occur in /src . How can i change the built file's directory ?

edit retag flag offensive close merge delete



Why do you want that? It is unlikely that rosrun and other tools will work with that.

dornhege gravatar image dornhege  ( 2015-02-12 08:51:45 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-12 13:24:54 -0500

William gravatar image

I would not recommend putting anything into src , but you can effect the output location of executables in CMake:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-02-12 08:45:38 -0500

Seen: 197 times

Last updated: Feb 12 '15