Error in building package (cmake) [closed]

asked 2015-04-21 12:58:00 -0600

flam gravatar image

updated 2022-01-22 16:16:30 -0600

Evgeny gravatar image

Hi, i have a problem in building the new package. May be, you know where my error may be. Thanks!

ubuntu@ubuntu:~/catkin_ws$ catkin_make 
Base path: /home/ubuntu/catkin_ws
Source space: /home/ubuntu/catkin_ws/src
Build space: /home/ubuntu/catkin_ws/build
Devel space: /home/ubuntu/catkin_ws/devel
Install space: /home/ubuntu/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/ubuntu/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/ubuntu/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/ubuntu/catkin_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/ubuntu/catkin_ws/devel;/opt/ros/indigo
-- 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/ubuntu/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.11
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 15 packages in topological order:
-- ~~  - rosserial (metapackage)
-- ~~  - rosserial_arduino
-- ~~  - rosserial_client
-- ~~  - rosserial_msgs
-- ~~  - rosserial_python
-- ~~  - rosserial_xbee
-- ~~  - beginner_tutorials
-- ~~  - range
-- ~~  - rosserial_server
-- ~~  - car
-- ~~  - r2d2
-- ~~  - robot_setup_tf
-- ~~  - rosserial_embeddedlinux
-- ~~  - rosserial_windows
-- ~~  - learning_tf
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'rosserial'
-- ==> add_subdirectory(rosserial/rosserial)
-- +++ processing catkin package: 'rosserial_arduino'
-- ==> add_subdirectory(rosserial/rosserial_arduino)
-- Using these message generators: gencpp;genlisp;genpy
-- rosserial_arduino: 1 messages, 1 services
-- +++ processing catkin package: 'rosserial_client'
-- ==> add_subdirectory(rosserial/rosserial_client)
-- +++ processing catkin package: 'rosserial_msgs'
-- ==> add_subdirectory(rosserial/rosserial_msgs)
-- Using these message generators: gencpp;genlisp;genpy
-- rosserial_msgs: 2 messages, 3 services
-- +++ processing catkin package: 'rosserial_python'
-- ==> add_subdirectory(rosserial/rosserial_python)
-- +++ processing catkin package: 'rosserial_xbee'
-- ==> add_subdirectory(rosserial/rosserial_xbee)
-- +++ processing catkin package: 'beginner_tutorials'
-- ==> add_subdirectory(beginner_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner_tutorials: 1 messages, 0 services
-- +++ processing catkin package: 'range'
-- ==> add_subdirectory(range)
-- +++ processing catkin package: 'rosserial_server'
-- ==> add_subdirectory(rosserial/rosserial_server)
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
--   thread
-- +++ processing catkin package: 'car'
-- ==> add_subdirectory(car)
-- Using these message generators: gencpp;genlisp;genpy
-- +++ processing catkin package: 'r2d2'
-- ==> add_subdirectory(r2d2)
-- Using these message generators: gencpp;genlisp;genpy
-- +++ processing catkin package: 'robot_setup_tf'
-- ==> add_subdirectory(robot_setup_tf)
-- Using these message generators: gencpp;genlisp;genpy
-- +++ processing catkin package: 'rosserial_embeddedlinux'
-- ==> add_subdirectory(rosserial/rosserial_embeddedlinux)
-- +++ processing catkin package: 'rosserial_windows'
-- ==> add_subdirectory(rosserial/rosserial_windows)
-- +++ processing catkin package: 'learning_tf'
-- ==> add_subdirectory(learning_tf)
-- Using these message generators: gencpp;genlisp;genpy
-- Configuring done
CMake Error: CMake can not determine linker language for target: car_state_publisher
CMake Error: Cannot determine link language for target "car_state_publisher".
-- Generating done
-- Build files have been written to: /home/ubuntu/catkin_ws/build
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-12-20 00:02:33.434232

Comments

Please format your question a bit next time. For console copy/pastes, use the preformatted text option from the button bar above the editor. It's the button with 101010 on it.

gvdhoorn gravatar image gvdhoorn  ( 2015-04-21 13:57:22 -0600 )edit