catkin_make failing in Roboware
Hi all;
I have installed the latest Roboware version available (1.1.0), as a new IDE for ROS. Seems to detect my workspace and everything works just fine, except:
1.- When I try to build my packages using ROS->build menu command, I get the error "bash: catkin_make: command not found" . From terminal, it works ok. Any solution?
2.- The command "Debug-> Start debugging" gives the following error: " Failed to load MI Debugger: "/home/alberto/kineticws/src/fegemudemostrator/src/fegemudemostrator.cpp": not in executable format: File format not recognized (from file-exec-and-symbols "/home/alberto/kineticws/src/fegemudemostrator/src/fegemudemostrator.cpp")"
Can anyone help me with these two issues? Thank you in advance,
Alberto
Asked by altella on 2018-03-20 03:05:06 UTC
Answers
Here's my same Github comment about this issue
For some reason terminal which runs catkin_make haven't sourced ros setup file.
Workaround for bash: catkin_make: command not found
- In Roboware Studio open any ROS workspace.
- At the top left corner to the right of drop down menu |Debug \/| click a gear icon. It will open tasks.json file.
- In tasks.json file find "catkin_make". For debug configuration it will look like:
"catkin_make -C ${workspaceRoot} -DCMAKE_BUILD_TYPE=Debug"
- Prefix catkin_make with 'source
; ' and save the file. For me it looks like (note that I use ros melodic and it's installed in /opt directory):"source /opt/ros/melodic/setup.bash; catkin_make -C ${workspaceRoot} -DCMAKE_BUILD_TYPE=Debug"
- Repeat 3rd and 4th steps for other build configurations you want (Release, Debug (isolated), etc.).
- Press build icon and it should work.
Asked by Combinacijus on 2020-07-07 08:02:35 UTC
Comments
Cross-post of tonyrobotics/RoboWare#52.
Asked by gvdhoorn on 2018-03-20 03:09:26 UTC