I have insalled ROS melodic on Ubuntu 18.04. I abruptly started facing this issue. When I run catkin_make the system hangs on BUILD_SHARED_LIBS is on. This command was working perfectly earlier. I have also tried removing build and devel directories and running catkin_make.
The catkin workspace was made following the tutorial on ROS wiki - http://wiki.ros.org/catkin/Tutorials/create_a_workspace
pooja:~/catkin_ws$ catkin_make
Base path: /home/pooja/catkin_ws
Source space: /home/pooja/catkin_ws/src
Build space: /home/pooja/catkin_ws/build
Devel space: /home/pooja/catkin_ws/devel
Install space: /home/pooja/catkin_ws/install
####
#### Running command: "cmake /home/pooja/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/pooja/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/pooja/catkin_ws/install -G Unix Makefiles" in "/home/pooja/catkin_ws/build"
####
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.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/pooja/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/pooja/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.17")
-- 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
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.23
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
On stopping the process following message is generated
^CTraceback (most recent call last):
File "/opt/ros/melodic/bin/catkin_make", line 306, in <module>
sys.exit(main())
File "/opt/ros/melodic/bin/catkin_make", line 209, in main
run_command_colorized(cmd, build_path)
File "/opt/ros/melodic/lib/python2.7/dist-packages/catkin/builder.py", line 189, in run_command_colorized
run_command(cmd, cwd, quiet=quiet, colorize=True, add_env=add_env)
File "/opt/ros/melodic/lib/python2.7/dist-packages/catkin/builder.py", line 211, in run_command
line = proc.stdout.readline()
KeyboardInterrupt
I list the packages withrospack list-names. All package names start with lower case.
I have insalled ROS melodic on Ubuntu 18.04. I abruptly started facing this issue. When I run
catkin_make
the system hangs onBUILD_SHARED_LIBS is on
. This command was working perfectly earlier. I have also tried removing build and devel directories and runningcatkin_make
. The catkin workspace was made following the tutorial on ROS wiki - http://wiki.ros.org/catkin/Tutorials/create_a_workspaceHere is the console output -
On stopping the process following message is generated
I list the packages with
rospack list-names
. All package names start with lower case.