Announcement

Collapse
No announcement yet.

Robotino (2007) pkg compile api2 problem

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Robotino (2007) pkg compile api2 problem

    Hello. I have a robotino, an old one, and i am trying to do the classic "Mapping Application".
    I have encountered a problem. First i need to be able to use the robotino_node. I used the tutorial from this site: " https://github.com/AalborgUniversity-ControlLabs/start-here/blob/master/robotino/readme.md"

    When i run the command "catkin_make" i get this error:
    -- +++ processing catkin package: 'robotino_node'
    -- ==> add_subdirectory(robotino_node)
    -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
    CMake Warning at robotino_node/CMakeLists.txt:19 (find_package):
    By not providing "FindRobotinoAPI2.cmake" in CMAKE_MODULE_PATH this project
    has asked CMake to find a package configuration file provided by
    "RobotinoAPI2", but CMake did not find one.

    Could not find a package configuration file provided by "RobotinoAPI2" with
    any of the following names:

    RobotinoAPI2Config.cmake
    robotinoapi2-config.cmak
    e

    Add the installation prefix of "RobotinoAPI2" to CMAKE_PREFIX_PATH or set
    "RobotinoAPI2_DIR" to a directory containing one of the above files. If
    "RobotinoAPI2" provides a separate development package or SDK, be sure it
    has been installed.


    -- robotino_node: 5 messages, 2 services
    -- Configuring done
    CMake Warning (dev) at robotino_node/CMakeLists.txt:190 (add_dependencies):
    Policy CMP0046 is not set: Error on non-existent dependency in
    add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
    Use the cmake_policy command to set the policy and suppress this warning.

    The dependency target "robotino_msgs_generate_messages_cpp" of target
    "robotino_node" does not exist.
    This warning is for project developers. Use -Wno-dev to suppress it.

    -- Generating done
    -- Build files have been written to: /home/robotino/robotino_ws/build
    ####
    #### Running command: "make -j4 -l4" in "/home/robotino/robotino_ws/build"
    ####
    [ 0%] Built target std_msgs_generate_messages_cpp
    [ 1%] Building CXX object robotino_node/CMakeFiles/robotino_laserrangefinder_node.dir/src/robotino_laserrangefinder_node.cpp.o
    [ 2%] Building CXX object robotino_node/CMakeFiles/robotino_odometry_node.dir/src/robotino_odometry_node.cpp.o
    In file included from /home/robotino/robotino_ws/src/robotino_node/include/RobotinoLaserRangeFinderNode.h:11:0,
    from /home/robotino/robotino_ws/src/robotino_node/src/robotino_laserrangefinder_node.cpp:9:
    /home/robotino/robotino_ws/src/robotino_node/include/ComROS.h:11:35: fatal error: rec/robotino/api2/Com.h: No such file or directory
    compilation terminated.
    robotino_node/CMakeFiles/robotino_laserrangefinder_node.dir/build.make:62: recipe for target 'robotino_node/CMakeFiles/robotino_laserrangefinder_node.dir/src/robotino_laserrangefinder_node.cpp.o' failed
    make[2]: *** [robotino_node/CMakeFiles/robotino_laserrangefinder_node.dir/src/robotino_laserrangefinder_node.cpp.o] Error 1
    In file included from /home/robotino/robotino_ws/src/robotino_node/include/RobotinoOdometryNode.h:11:0,
    from /home/robotino/robotino_ws/src/robotino_node/src/robotino_odometry_node.cpp:9:
    /home/robotino/robotino_ws/src/robotino_node/include/ComROS.h:11:35: fatal error: rec/robotino/api2/Com.h: No such file or directory
    compilation terminated.
    CMakeFiles/Makefile2:1145: recipe for target 'robotino_node/CMakeFiles/robotino_laserrangefinder_node.dir/all' failed
    make[1]: *** [robotino_node/CMakeFiles/robotino_laserrangefinder_node.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    robotino_node/CMakeFiles/robotino_odometry_node.dir/build.make:62: recipe for target 'robotino_node/CMakeFiles/robotino_odometry_node.dir/src/robotino_odometry_node.cpp.o' failed
    make[2]: *** [robotino_node/CMakeFiles/robotino_odometry_node.dir/src/robotino_odometry_node.cpp.o] Error 1
    CMakeFiles/Makefile2:980: recipe for target 'robotino_node/CMakeFiles/robotino_odometry_node.dir/all' failed
    make[1]: *** [robotino_node/CMakeFiles/robotino_odometry_node.dir/all] Error 2
    [ 4%] Building CXX object robotino_node/CMakeFiles/robotino_node.dir/src/robotino_node.cpp.o
    [ 5%] Building CXX object robotino_node/CMakeFiles/robotino_node.dir/src/AnalogInputArrayROS.cpp.o
    [ 7%] Building CXX object robotino_node/CMakeFiles/robotino_node.dir/src/BumperROS.cpp.o
    In file included from /home/robotino/robotino_ws/src/robotino_node/src/BumperROS.cpp:9:0:
    /home/robotino/robotino_ws/src/robotino_node/include/BumperROS.h:11:38: fatal error: rec/robotino/api2/Bumper.h: No such file or directory
    compilation terminated.
    In file included from /home/robotino/robotino_ws/src/robotino_node/src/AnalogInputArrayROS.cpp:8:0:
    /home/robotino/robotino_ws/src/robotino_node/include/AnalogInputArrayROS.h:11:48: fatal error: rec/robotino/api2/AnalogInputArray.h: No such file or directory
    compilation terminated.
    robotino_node/CMakeFiles/robotino_node.dir/build.make:110: recipe for target 'robotino_node/CMakeFiles/robotino_node.dir/src/BumperROS.cpp.o' failed
    make[2]: *** [robotino_node/CMakeFiles/robotino_node.dir/src/BumperROS.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    robotino_node/CMakeFiles/robotino_node.dir/build.make:86: recipe for target 'robotino_node/CMakeFiles/robotino_node.dir/src/AnalogInputArrayROS.cpp.o' failed
    make[2]: *** [robotino_node/CMakeFiles/robotino_node.dir/src/AnalogInputArrayROS.cpp.o] Error 1
    [ 7%] Built target _robotino_node_generate_messages_check_deps_ResetO dometry
    In file included from /home/robotino/robotino_ws/src/robotino_node/include/RobotinoNode.h:11:0,
    from /home/robotino/robotino_ws/src/robotino_node/src/robotino_node.cpp:11:
    /home/robotino/robotino_ws/src/robotino_node/include/AnalogInputArrayROS.h:11:48: fatal error: rec/robotino/api2/AnalogInputArray.h: No such file or directory
    compilation terminated.
    robotino_node/CMakeFiles/robotino_node.dir/build.make:62: recipe for target 'robotino_node/CMakeFiles/robotino_node.dir/src/robotino_node.cpp.o' failed
    make[2]: *** [robotino_node/CMakeFiles/robotino_node.dir/src/robotino_node.cpp.o] Error 1
    CMakeFiles/Makefile2:487: recipe for target 'robotino_node/CMakeFiles/robotino_node.dir/all' failed
    make[1]: *** [robotino_node/CMakeFiles/robotino_node.dir/all] Error 2
    Makefile:138: recipe for target 'all' failed
    make: *** [all] Error 2
    Invoking "make -j4 -l4" failed



    Can you please tell me a solution for this? (I dont't need to say that i am a beginner at this).

    Can you explain the solution step by step?

    Thank you in advance!
Working...
X