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

To edit a ROS package using CodeBlocks, one can generate the project file using cmake:

roscd <your_package> mkdir build_codeblocks cd build_codeblocks cmake -G "CodeBlocks - Unix Makefiles" ..

Then open the your_package.cbp using CodeBlocks.

According to http://www.cmake.org/Wiki/CMake_Generator_Specific_Information , you need cmake version at least 2.6.

HTH

To edit a ROS package using CodeBlocks, one can generate the project file using cmake:

roscd <your_package>
mkdir build_codeblocks
build_codeblocks 
cd build_codeblocks
build_codeblocks 
cmake -G "CodeBlocks - Unix Makefiles" ..

..

Then open the your_package.cbp using CodeBlocks.

According to http://www.cmake.org/Wiki/CMake_Generator_Specific_Information , you need cmake version at least 2.6.

HTH

To edit a ROS package using CodeBlocks, one can generate the project file using cmake:

roscd <your_package>
mkdir build_codeblocks 
cd build_codeblocks 
cmake -G "CodeBlocks - Unix Makefiles" ..

Then open the your_package.cbp using CodeBlocks.CodeBlocks. You should be able to compile without any problem. However, you still have to run from the terminal window.

According to http://www.cmake.org/Wiki/CMake_Generator_Specific_Information , you need cmake version at least 2.6.

HTH

To edit a ROS package using CodeBlocks, one can generate the project file using cmake:

roscd <your_package>
mkdir build_codeblocks 
cd build_codeblocks 
cmake -G "CodeBlocks - Unix Makefiles" ..

Then open the your_package.cbp using CodeBlocks. You should be able to compile without any problem. However, you still have When Run, remember to run from choose the terminal window.

right target, <your_pacakge> not the default "all" According to http://www.cmake.org/Wiki/CMake_Generator_Specific_Information , you need cmake version at least 2.6.

HTH

To edit a ROS package using CodeBlocks, one can generate the project file using cmake:

roscd <your_package>
mkdir build_codeblocks 
cd build_codeblocks 
cmake -G "CodeBlocks - Unix Makefiles" ..

Then open the your_package.cbp using CodeBlocks. You should be able to compile without any problem. When Run, remember to choose the right target, <your_pacakge> not the default "all" According to http://www.cmake.org/Wiki/CMake_Generator_Specific_Information , you need cmake version at least 2.6.

Start CodeBlocks from Terminal directly rather than click on the app launcher. In this way, codeblocks will inherit all ROS_* variable from bash shell.

Then open the your_package.cbp using CodeBlocks. You should be able to compile without any problem.

When Run, remember to choose the right target, <your_pacakge> not the default "all"

HTH