Hi,
I have a problem compiling my packages. When running catkin_make, it crashes with:
-- Generating done
-- Build files have been written to: /home/..../catkin_ws/src
####
#### Running command: "make -j4 -l4" in "/home/.../catkin_ws/build"
####
make: *** No targets specified and no makefile found. Stop.
Invoking "make" failed
Does anybody have any suggestion what the cause could be?
Thank you in advance!
--update--
Hi, I apologize for the little info. I created a catkin work-space as described by the tutorial, I have a src directory in it with the corresponding packages, and the necessary files. I actually had already everything up and running = I had all my packages compiled and up and running. After a git update and some compilation errors I deleted the build and the devel directories in order to build everything again. In the catkin-workspace I used catkin_make to build the packages. It states that the build directory is .....\build and the src directory is...\src so it has the right structure but than it crashes with the error that it does not find the makefiles etc in ...\build. It actually generated all the makefiles but it copied them in the src folder. I have no idea why :(
Thank you for any help!
--update2--
Base path: /home/pr/catkin_ws
Source space: /home/pr/catkin_ws/src
Build space: /home/pr/catkin_ws/build
Devel space: /home/pr/catkin_ws/devel
Install space: /home/pr/catkin_ws/install
####
#### Running command: "cmake /home/pr/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/pr/catkin_ws/devel -
DCMAKE_INSTALL_PREFIX=/home/pr/catkin_ws/install" in "/home/pr/catkin_ws/build"
####
[ ....]
Build files have been written to: /home/pr/catkin_ws/src
Originally posted by eo on ROS Answers with karma: 23 on 2014-11-21
Post score: 0
Original comments
Comment by William on 2014-11-21:
There isn't enough information, how are you invoking catkin_make
?
Comment by Dirk Thomas on 2014-11-23:
You have certainly diverged from the tutorial since the reference of "/home/..../" is wrong. Please post all exact steps you do starting from the very beginning. Only then we can point you to what might be the problem.
Comment by Bhargav on 2014-11-23:
Did you do catkin_init_workspace
in your catkin_ws/src folder? Also catkin_make
should be executed in catkin_ws folder. Please describe the exact steps followed so that we can know where you went wrong.
Comment by eo on 2014-11-24:
Hi,
I have performed catkin_init_workspace in the src directory and also performed catkin_make in the workspace directory. Please see output in the second update of my post. I will create a new workspace and see if it solves the issue.
thank you!