ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
thanka a lot for your answer exactly i run catkin_make i root as you told , but again i have this problem :
-- Configuring incomplete, errors occurred! See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeOutput.log". See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
and about provide your workspace directory tree and contents of your CMakeList.txt ,, because i am beginner i dont know what you mean could you explain?
2 | No.2 Revision |
thanka a lot for your answer exactly i run catkin_make i root as you told , but again i have this problem :
-- Configuring incomplete, errors occurred! See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeOutput.log". See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
and about provide your workspace directory tree and contents of your CMakeList.txt ,, because i am beginner i dont know what you mean could you explain?
this is CMake lists content :
cmake_minimum_required(VERSION 2.8.3) project(beginner2_tutorials)
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs genmsg)
add_message_files(FILES Num.msg) add_service_files(FILES AddTwoInts.srv)
generate_messages(DEPENDENCIES std_msgs) catkin_package( ... CATKIN_DEPENDS message_runtime ... ...)
catkin_package()
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(talker src/talker.cpp) target_link_libraries(talker ${catkin_LIBRARIES}) add_dependencies(talker beginner2_tutorials_generate_messages_cpp)
add_executable(listener src/listener.cpp) target_link_libraries(listener ${catkin_LIBRARIES}) add_dependencies(listener beginner2_tutorials_generate_messages_cpp)
3 | No.3 Revision |
thanka a lot for your answer exactly i run catkin_make i root as you told , but again i have this problem :
-- Configuring incomplete, errors occurred! See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeOutput.log". See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
and about provide your workspace directory tree and contents of your CMakeList.txt ,, because i am beginner i dont know what you mean could you explain?
this is CMake lists content :
cmake_minimum_required(VERSION 2.8.3)
catkin_package()
include_directories(include ${catkin_INCLUDE_DIRS})
4 | No.4 Revision |
thanka a lot for your answer exactly i run catkin_make i root as you told , but again i have this problem :
-- Configuring incomplete, errors occurred! See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeOutput.log". See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
and about provide your workspace directory tree and contents of your CMakeList.txt ,, because i am beginner i dont know what you mean could you explain?
this is CMake lists content :
cmake_minimum_required(VERSION 2.8.3)
project(beginner2_tutorials)
## Find catkin and any catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs genmsg)
## Declare ROS messages and services
add_message_files(FILES Num.msg)
add_service_files(FILES AddTwoInts.srv)
## Generate added messages and services
generate_messages(DEPENDENCIES std_msgs)
catkin_package( ... CATKIN_DEPENDS message_runtime ... ...)
## Declare a catkin package
catkin_package()
## Build talker and listener
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(talker src/talker.cpp)
target_link_libraries(talker ${catkin_LIBRARIES})
add_dependencies(talker beginner2_tutorials_generate_messages_cpp)
add_executable(listener src/listener.cpp)
target_link_libraries(listener ${catkin_LIBRARIES})
add_dependencies(listener beginner2_tutorials_generate_messages_cpp)
this is my output when i run catkin_make : Base path: /home/fatima/catkin_ws1 Source space: /home/fatima/catkin_ws1/src Build space: /home/fatima/catkin_ws1/build Devel space: /home/fatima/catkin_ws1/devel Install space: /home/fatima/catkin_ws1/install
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /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/fatima/catkin_ws1/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.16 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - beginner2_tutorials -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'beginner2_tutorials' -- ==> add_subdirectory(beginner2_tutorials) -- Using these message generators: gencpp;genlisp;genpy CMake Error at /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:91 (message): add_message_files() directory not found: /home/fatima/catkin_ws1/src/beginner2_tutorials/msg Call Stack (most recent call first): beginner2_tutorials/CMakeLists.txt:8 (add_message_files)
-- Configuring incomplete, errors occurred! See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log". See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
5 | No.5 Revision |
thanka a lot for your answer exactly i run catkin_make i root as you told , but again i have this problem :
-- Configuring incomplete, errors occurred! See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeOutput.log". See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
and about provide your workspace directory tree and contents of your CMakeList.txt ,, because i am beginner i dont know what you mean could you explain?
this is CMake lists content :
cmake_minimum_required(VERSION 2.8.3)
project(beginner2_tutorials)
## Find catkin and any catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs genmsg)
## Declare ROS messages and services
add_message_files(FILES Num.msg)
add_service_files(FILES AddTwoInts.srv)
## Generate added messages and services
generate_messages(DEPENDENCIES std_msgs)
catkin_package( ... CATKIN_DEPENDS message_runtime ... ...)
## Declare a catkin package
catkin_package()
## Build talker and listener
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(talker src/talker.cpp)
target_link_libraries(talker ${catkin_LIBRARIES})
add_dependencies(talker beginner2_tutorials_generate_messages_cpp)
add_executable(listener src/listener.cpp)
target_link_libraries(listener ${catkin_LIBRARIES})
add_dependencies(listener beginner2_tutorials_generate_messages_cpp)
this is my output when i run catkin_make :
Base path: /home/fatima/catkin_ws1
Source space: /home/fatima/catkin_ws1/src
Build space: /home/fatima/catkin_ws1/build
Devel space: /home/fatima/catkin_ws1/devel
Install space: /home/fatima/catkin_ws1/install #
/home/fatima/catkin_ws1/install
####
#### Running command: "make cmake_check_build_system" in "/home/fatima/catkin_ws1/build" #
"/home/fatima/catkin_ws1/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /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/fatima/catkin_ws1/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.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner2_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner2_tutorials'
-- ==> add_subdirectory(beginner2_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
CMake Error at /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:91 (message):
add_message_files() directory not found:
/home/fatima/catkin_ws1/src/beginner2_tutorials/msg
Call Stack (most recent call first):
beginner2_tutorials/CMakeLists.txt:8 (add_message_files) (add_message_files)
-- Configuring incomplete, errors occurred!
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log".
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log".
make: * *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed failed
6 | No.6 Revision |
thanka a lot for your answer exactly i run catkin_make i root as you told , but again i have this problem :
-- Configuring incomplete, errors occurred! See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeOutput.log". See also "/home/fatima/catkin_ws2/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
and about provide your workspace directory tree and contents of your CMakeList.txt ,, because i am beginner i dont know what you mean could you explain?
this is CMake lists content :
cmake_minimum_required(VERSION 2.8.3)
project(beginner2_tutorials)
## Find catkin and any catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs genmsg)
## Declare ROS messages and services
add_message_files(FILES Num.msg)
add_service_files(FILES AddTwoInts.srv)
## Generate added messages and services
generate_messages(DEPENDENCIES std_msgs)
catkin_package( ... CATKIN_DEPENDS message_runtime ... ...)
## Declare a catkin package
catkin_package()
## Build talker and listener
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(talker src/talker.cpp)
target_link_libraries(talker ${catkin_LIBRARIES})
add_dependencies(talker beginner2_tutorials_generate_messages_cpp)
add_executable(listener src/listener.cpp)
target_link_libraries(listener ${catkin_LIBRARIES})
add_dependencies(listener beginner2_tutorials_generate_messages_cpp)
this is my output when i run catkin_make :
Base path: /home/fatima/catkin_ws1
Source space: /home/fatima/catkin_ws1/src
Build space: /home/fatima/catkin_ws1/build
Devel space: /home/fatima/catkin_ws1/devel
Install space: /home/fatima/catkin_ws1/install
####
#### Running command: "make cmake_check_build_system" in "/home/fatima/catkin_ws1/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /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/fatima/catkin_ws1/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.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner2_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner2_tutorials'
-- ==> add_subdirectory(beginner2_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
CMake Error at /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:91 (message):
add_message_files() directory not found:
/home/fatima/catkin_ws1/src/beginner2_tutorials/msg
Call Stack (most recent call first):
beginner2_tutorials/CMakeLists.txt:8 (add_message_files)
-- Configuring incomplete, errors occurred!
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log".
See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
hi , thank you so much for your help but i have that problem yet i solved those thing as you told but another error happen its my CMake list : cmake_minimum_required(VERSION 2.8.3) project(beginner2_tutorials)
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs genmsg message_generation)
add_message_files(FILES Num.msg ) add_service_files(FILES AddTwoInts.srv)
generate_messages(DEPENDENCIES std_msgs) catkin_package( INCLUDE_DIRS include LIBRARIES ${PROJECT_NAME} CATKIN_DEPENDS message_runtime roscpp nodelet DEPENDS eigen opencv )
catkin_package()
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(talker src/talker.cpp) target_link_libraries(talker ${catkin_LIBRARIES}) add_dependencies(talker beginner2_tutorials_generate_messages_cpp)
add_executable(listener src/listener.cpp) target_link_libraries(listener ${catkin_LIBRARIES}) add_dependencies(listener beginner2_tutorials_generate_messages_cpp)
and this is my error : fatima@fatima-K55VD:~$ rosrun rviz rviz ^Cfatima@fatima-K55VD:~$ cd ~/catkin_ws1 fatima@fatima-K55VD:~/catkin_ws1$ catkin_make Base path: /home/fatima/catkin_ws1 Source space: /home/fatima/catkin_ws1/src Build space: /home/fatima/catkin_ws1/build Devel space: /home/fatima/catkin_ws1/devel Install space: /home/fatima/catkin_ws1/install
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /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/fatima/catkin_ws1/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.16 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - beginner2_tutorials -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'beginner2_tutorials' -- ==> add_subdirectory(beginner2_tutorials) -- Using these message generators: gencpp;genlisp;genpy CMake Error at /opt/ros/indigo/share/catkin/cmake/assert.cmake:20 (message):
Assertion failed: file '/home/fatima/catkin_ws1/src/beginner2_tutorials/msg/Message1.msg' does not exist. Message: message file not found
Call Stack (most recent call first): /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:110 (assert_file_exists) beginner2_tutorials/CMakeLists.txt:8 (add_message_files)
-- Configuring incomplete, errors occurred! See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log". See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed fatima@fatima-K55VD:~/catkin_ws1$ catkin_make Base path: /home/fatima/catkin_ws1 Source space: /home/fatima/catkin_ws1/src Build space: /home/fatima/catkin_ws1/build Devel space: /home/fatima/catkin_ws1/devel Install space: /home/fatima/catkin_ws1/install
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /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/fatima/catkin_ws1/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.16 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - beginner2_tutorials -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'beginner2_tutorials' -- ==> add_subdirectory(beginner2_tutorials) -- Using these message generators: gencpp;genlisp;genpy -- beginner2_tutorials: 1 messages, 1 services CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:217 (message): catkin_package() DEPENDS on the catkin package 'message_runtime' which must therefore be listed as a run dependency in the package.xml Call Stack (most recent call first): /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package) beginner2_tutorials/CMakeLists.txt:13 (catkin_package)
-- Configuring incomplete, errors occurred! See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log". See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed fatima@fatima-K55VD:~/catkin_ws1$ catkin_make Base path: /home/fatima/catkin_ws1 Source space: /home/fatima/catkin_ws1/src Build space: /home/fatima/catkin_ws1/build Devel space: /home/fatima/catkin_ws1/devel Install space: /home/fatima/catkin_ws1/install
-- Using CATKIN_DEVEL_PREFIX: /home/fatima/catkin_ws1/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /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/fatima/catkin_ws1/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.16 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - beginner2_tutorials -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'beginner2_tutorials' -- ==> add_subdirectory(beginner2_tutorials) -- Using these message generators: gencpp;genlisp;genpy -- beginner2_tutorials: 1 messages, 1 services CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:217 (message): catkin_package() DEPENDS on the catkin package 'message_runtime' which must therefore be listed as a run dependency in the package.xml Call Stack (most recent call first): /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package) beginner2_tutorials/CMakeLists.txt:13 (catkin_package)
-- Configuring incomplete, errors occurred! See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeOutput.log". See also "/home/fatima/catkin_ws1/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed