Http://wiki.ros.org/IDEs#kDevelop
Organize the following: Create a desktop shortcut
Because KDevelop must know the ROS environment variable, you must start KDevelop from a workspace terminal that has already been source, otherwise the build hint cannot find the Catkin package
Follow the below to create a desktop file and generate a shortcut
CD ~/desktop
touch kdevelop.desktop
chmod +x kdevelop.desktop
To open the file with the editor, copy the following code:
[Desktop Entry]
Type=application
terminal=false
exec=bash-i-C "KDevelop"
name=kdevelop
Icon=kdevelop
Import Catkin Workspace First catkin_make Initialize workspace Delete build folder with the shortcut above open kdevelop Select Open Project, find Workspace (~/ADA_WS/SRC), Select CMakeLists.txt to replace the work name (default src), select CMake Project Manager, select Finish CMake Configuration window, choose Build space/home/ada/ada_ws/build/Choose Build Type Add additional parameters to ensure that binaries and libraries are in the correct Catkin space (devel install)
-dcatkin_devel_prefix=. /devel-dcmake_install_prefix=. /install build executes when you select the generated binary file add new