[SOLVED] Error 127 when importing project into Eclipse
Hello,
I'm having trouble importing my package into Eclipse. It worked before, but since a few days it causes trouble. When I open resp. try to import my project the following error message is displayed:
Description Resource Path Location Type
Error 127 occurred while running autoreconf follow_me -1 Configure Problem
I removed my previous version of Eclipse and installed the newest version: Eclipse IDE for C/C++ Version: 2019-03 (4.11.0). Previously I used Eclipse 2018-09 (4.9.0).
According to this tutorial on the wiki page I performed the following steps to import the project:
- In folder catkin_ws:
catkin_make --force-cmake -G"Eclipse CDT4 - Unix Makefiles"
awk -f $(rospack find mk)/eclipse.awk build/.project > build/.project_with_env && mv build/.project_with_env build/.project
- Started Eclipse in a new terminal by:
bash -i -c ~/Software/Eclipse/eclipse/eclipse
(Note: I sourced ~/catkin_ws/devel/setup.bash in ~/.bashrc ) - In Eclipse: File > Import... > General > Existing Projects into Workspace > Next > As root directory: /home/username/catkin_ws/src/follow_me > No other option selected > Finish
The Console output tells:
CDT Build Console [follow_me]
Build stopped
()
And the aforementioned error is shown under the "Problems" tab. Also the "src" folder is grayed out as well as the containing source files.
I've already tried to reimport my package. Also I can't finish step 4 when I create a new empty package in catkin_ws.
I'm using ROS Kinetic under Ubuntu 16.04 (64 bit) with kernel version 4.15.0-47-generic.
What can I do to properly import and use my package in Eclipse?
Thanks in advance for any help!
UPDATE: (See my answer below.)
Please post your
UPDATE
as an answer and accept your own answer.Done. Except accepting my own answer, since I do not have 10 points yet.