catkin_make fails without warning

asked 2018-05-08 08:26:49 -0600

sidkot gravatar image

updated 2018-05-08 09:01:32 -0600

Hello,

I am trying to do catkin_make, but it fails without warning. Any suggestions whats happening here??

student@udacity:~/catkin_ws$ catkin_make VERBOSE=1
Base path: /home/student/catkin_ws
Source space: /home/student/catkin_ws/src
Build space: /home/student/catkin_ws/build
Devel space: /home/student/catkin_ws/devel
Install space: /home/student/catkin_ws/install
####
#### Running command: "cmake /home/student/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/student/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/student/catkin_ws/install -G Unix Makefiles" in "/home/student/catkin_ws/build"
####
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /home/student/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Found PythonInterp: /usr/bin/python (found version "2.7.12") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/student/catkin_ws/build/test_results
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/local/bin/nosetests-2.7
-- catkin 0.7.6
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - simple_arm
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'simple_arm'
-- ==> add_subdirectory(simple_arm)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Configuring done
-- Generating done
-- Build files have been written to: /home/student/catkin_ws/build
####
#### Running command: "make VERBOSE=1 -j4 -l4" in "/home/student/catkin_ws/build"
####
/usr/bin/cmake -H/home/student/catkin_ws/src -B/home/student/catkin_ws/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/student/catkin_ws/build/CMakeFiles /home/student/catkin_ws/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/student/catkin_ws/build'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/student/catkin_ws/build'
/usr/bin/cmake -E cmake_progress_start /home/student/catkin_ws/build/CMakeFiles 0
edit retag flag offensive close merge delete

Comments

There are no warnings or errors in the output you show.

Why do you believe it has "failed without warning"? What are you expecting to happen?

gvdhoorn gravatar image gvdhoorn  ( 2018-05-08 09:00:25 -0600 )edit

it should start building after the "#### Running command....." it should start showing the build %, Thats what I am looking for.

sidkot gravatar image sidkot  ( 2018-05-08 09:05:41 -0600 )edit

make[1]: Nothing to be done for 'all'.

It doesn't look like there is anything to be built

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-05-08 09:09:18 -0600 )edit

Exactly. According to this output, the directory /home/student/catkin_ws/src contains a single pkg, but it doesn't have any targets defined that are buildable by catkin_make, hence no work is done.

gvdhoorn gravatar image gvdhoorn  ( 2018-05-08 09:10:15 -0600 )edit

It should look a bit like this i assume: https://drive.google.com/file/d/1rwZG...

sidkot gravatar image sidkot  ( 2018-05-08 09:12:15 -0600 )edit

is there something that needs to be changed in CMakeFile.txt?

sidkot gravatar image sidkot  ( 2018-05-08 09:20:50 -0600 )edit

It should look like that if only if there is something to be built! It's working exactly as it should.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-05-08 09:22:37 -0600 )edit
2

I'm not sure, how are we to know if you don't show us your CMakeLists.txt.

re: google drive link: please just include all relevant information in your question text. Edit your question for that (use the edit button).

gvdhoorn gravatar image gvdhoorn  ( 2018-05-08 09:22:44 -0600 )edit