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

catkin_make failing in Roboware

asked 2018-03-20 03:05:06 -0500

altella gravatar image

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/kinetic_ws/src/fegemu_demostrator/src/fegemu_demostrator.cpp": not in executable format: File format not recognized (from file-exec-and-symbols "/home/alberto/kinetic_ws/src/fegemu_demostrator/src/fegemu_demostrator.cpp")"

Can anyone help me with these two issues? Thank you in advance,

Alberto

edit retag flag offensive close merge delete

Comments

gvdhoorn gravatar image gvdhoorn  ( 2018-03-20 03:09:26 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2020-07-07 08:02:35 -0500

Combinacijus gravatar image

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_

  1. In Roboware Studio open any ROS workspace.
  2. At the top left corner to the right of drop down menu |Debug     \/| click a gear icon. It will open tasks.json file.
  3. In tasks.json file find "catkin_make". For debug configuration it will look like: "catkin_make -C ${workspaceRoot} -DCMAKE_BUILD_TYPE=Debug"
  4. Prefix catkin_make with 'source <ros_installation_setup.bash_path>; ' 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"
  5. Repeat 3rd and 4th steps for other build configurations you want (Release, Debug (isolated), etc.).
  6. Press build icon and it should work.
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-03-20 03:05:06 -0500

Seen: 847 times

Last updated: Jul 07 '20