ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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
2 | No.2 Revision |
To edit a ROS package using CodeBlocks, one can generate the project file using cmake:
roscd <your_package>
mkdir 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
3 | No.3 Revision |
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
4 | No.4 Revision |
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
5 | No.5 Revision |
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