Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all 670 articles
Browse latest View live

Catkin insists on using em.py 3.4 and nosetests 3.4, when configured to use python 2.7

$
0
0
When I call catkin_make like this catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so I see this in the output -- Using PYTHON_EXECUTABLE: /usr/bin/python2 -- Using Python nosetests: /usr/bin/nosetests-3.4 -- Using empy: /usr/lib/python3.4/site-packages/em.py Naturally my build process fails because the python 2 executable cannot interpret these versions. How do I force catkin to use the python 2.7 versions?

Catkin library in Rosbuild package

$
0
0
Hi All, **UPDATE: I think I might have resolved the issue. I added the "find_package" and "target_link_library" to the rosbuild CMakeLists.txt** I'm in the process of migrating some of my packages from ROSBUILD to CATKIN. Unfortunately, I cannot migrate all of them at the moment. I have migrated a package that builds a library and now I cannot get the rosbuild package that depends on it to compile. So, my question is: How do I include a library generated in a CATKIN package in a ROSBUILD package? This is the CMakeList of the CATKIN package building a library:

cmake_minimum_required(VERSION 2.8.3)
project(catkin_library_package)

find_package(catkin REQUIRED COMPONENTS
  roscpp
)

include_directories(${CMAKE_CURRENT_BINARY_DIR})

###################################
## catkin specific configuration ##
###################################
catkin_package(
  INCLUDE_DIRS include
  LIBRARIES myCatkinLibrary
  CATKIN_DEPENDS
  roscpp
)

###########
## Build ##
###########

include_directories(
  ${catkin_INCLUDE_DIRS}
  include
)


add_library(myCatkinLibrary myCatkinLibrary.cpp)

target_link_libraries(myCatkinLibrary
                      ${catkin_LIBRARIES}
                      )
                      
install(TARGETS myCatkinLibrary
        ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
        LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
        RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION})
                      
                      
install(DIRECTORY include/${PROJECT_NAME}/
        DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
        FILES_MATCHING PATTERN "*.hpp")
        
And the CMakeList of the Rosbuild package, which includes the library from the catkin package:

cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)

SET(CMAKE_VERBOSE_MAKEFILE ON)

# The name of the project.
PROJECT(rosbuild_package)


rosbuild_find_ros_package(actionlib_msgs)
include(${actionlib_msgs_PACKAGE_PATH}/cmake/actionbuild.cmake)

find_package(catkin_library_package)
include_directories(${catkin_library_package_INCLUDE_DIRS})

genaction()

rosbuild_init()

set(LibraryList
  	${LibraryList}
   )

rosbuild_add_boost_directories()

#set the default path for built executables to the "bin" directory
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#set the default path for built libraries to the "lib" directory
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

rosbuild_genmsg()

rosbuild_add_executable(rosbuild_node src/main.cpp)
target_link_libraries(rosbuild_node ${catkin_library_package_LIBRARIES})

The `CatkinLibraryPackage` contains (amongst other) `/include/catkin_library_package/mylibrary.hpp`, which I'm trying to include in a ROSBUILD package. The rosbuild_package contains `/src/main.cpp` which specifies in the top: `#include "catkin_library_package/myLibrary.hpp"` All names are substitutes. The catkin package compiles fine, but when trying to compile the ROSBUILD package, it cannot find the mylibrary.hpp file (a header in the catkin package). UPDATE: I've been trying to find the answer to the question before submitting the question here, but without luck. However, today I somehow came across [this post](http://answers.ros.org/question/201977/include-header-file-from-another-package-indigo/). I added the `find_package(CatkinLibraryPackage)` and the `target_link_libraries(rosbuild_node ${CatkinLibraryPackage_LIBRARIES})` to the CMakeList of the ROSBUILD package. This way, I was able to get the rosbuild package to compile. **Any inputs on whether this is the correct way is appreciated...** Thanks to all for your input! Best regards Casper

Can't find python scripts after sourcing

$
0
0
package.xml knex_ros knex_ros jfstephaBSDhttp://ros.org/wiki/kinex_ros 0.0.0andrecatkintfrospystd_msgsrobot_state_publisherdifferential_drivetfrospystd_msgsrobot_state_publisherdifferential_drive CMakeLists.txt cmake_minimum_required(VERSION 2.8.3) project(knex_ros) find_package(catkin REQUIRED COMPONENTS rospy std_msgs tf roscpp robot_state_publisher differential_drive ) catkin_package( # INCLUDE_DIRS include # LIBRARIES motor_control # CATKIN_DEPENDS ros_control roscpp rospy std_msgs # DEPENDS system_lib ) include_directories( ${catkin_INCLUDE_DIRS} ) catkin_install_python(PROGRAMS scripts/knex_arduino_connector.py scripts/knex_scratch_connector.py scripts/range_filter.py scripts/range_to_laser.py DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) After I catkin_make under [ws], I did . [ws]/devel/setup.bash When I run rospack find, I can find knex_ros, but when I rosrun knex_ros whatever.py, I got ~/catkin_ws/src/knex_ros$ rosrun knex_ros knex_arduino_connector.py [rosrun] Couldn't find executable named knex_arduino_connector.py below /home/andre/catkin_ws/src/knex_ros [rosrun] Found the following, but they're either not files, [rosrun] or not executable: [rosrun] /home/andre/catkin_ws/src/knex_ros/scripts/knex_arduino_connector.py I tried tab to show available executable from knex_ros package, it doesn't show anything. Other package under the same workspace work fine. One weird thing I noticed happening along with not able to find executable is that I have to source devel/setup.bash every time I open a new terminal, and I didn't have to do this before. update: I ran catkin_make install and . install/setup.bash, and rosrun can find the executables. Not sure why only running catkin_make, rosrun works for other package containing python scripts, but not for knex_ros

Is there an easy way to "embed" all my pip dependencies into a "catkin generated" deb ?

$
0
0
I want to release a package depending on a lot of pip dependencies. I do not want to create and have to maintain a deb package for each one of my dependencies. So I was wondering if there is any way to embed all my pip dependencies into a "catkin-generated" deb ?

Velodyne driver installation

$
0
0
I am trying to install the drivers for Velodyne 32E. I downloaded the folder from https://github.com/ros-drivers/velodyne and then I am typing cmake ../ to build it. I am getting an error: --from catkin.environment_cache import generate_environment_script --ImportError: No module named catkin.environment_cache I have installed catkin_pkg using pip. What should I do?

Invalid package manifest "package.xml"

$
0
0
Hi! I found a some entries but none seem to help with my problem. I am currently following the instructions to install turtlebot on this site: http://wiki.ros.org/turtlebot/Tutorials/indigo/Turtlebot%20Installation when running following command under point 2.2: rosdep install --from-paths src -i -y I get following stack trace: nicolas@myworkstation:~/rocon$ rosdep install --from-paths src -i -y ERROR: Rosdep experienced an error: Invalid package manifest "/opt/ros/indigo/share/catkin/package.xml": Error(s) in /opt/ros/indigo/share/catkin/package.xml: - The manifest must not contain the following tags: depend, build_export_depend, buildtool_export_depend Please go to the rosdep page [1] and file a bug report with the stack trace below. [1] : http://www.ros.org/wiki/rosdep rosdep version: 0.11.2 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 136, in rosdep_main exit_code = _rosdep_main(args) File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 345, in _rosdep_main return _package_args_handler(command, parser, options, args) File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 416, in _package_args_handler pkgs = find_catkin_packages_in(path, options.verbose) File "/usr/lib/python2.7/dist-packages/rosdep2/catkin_packages.py", line 33, in find_catkin_packages_in packages = find_packages(path) File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/packages.py", line 87, in find_packages package = parse_package(os.path.join(basepath, path)) File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/package.py", line 315, in parse_package return parse_package_string(f.read(), filename) File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/package.py", line 448, in parse_package_string raise InvalidPackage('Error(s) in %s:%s' % (filename, ''.join(['\n- %s' % e for e in errors]))) InvalidPackage: Invalid package manifest "/opt/ros/indigo/share/catkin/package.xml": Error(s) in /opt/ros/indigo/share/catkin/package.xml: - The manifest must not contain the following tags: depend, build_export_depend, buildtool_export_depend There must be a problem with my package.xml file. It seems that the package version 2 might cause the error but I honestly don't know how to fix it. Does anyone have any ideas? Thanks in advance!

How to change workspace and build environment?

$
0
0
I use ros-indigo and ubuntu 14.04. I install ros and create catkin. But now, I want to use rosbuild not catkin build. How can I do it? Should I add new package to ROS? Should I reinstall ROS?

catkin build autocompletion

$
0
0
Hello everyone. This is not an urgent issue, but is quite annoying at time. So, the problem is the following. I am using the python catkin_tools instead of ordinary catkin_make in ros indigo. When I do: catkin build [tab][tab] I expect to have the completions of the packages currently in the workspace to pop up, but this is not happening. I am not 100% sure, but I guess I had the indended behaviour before. Instead I get catkin build usage: catkin [-h] [-a] [--test-colors] [build | clean | config | create | init | list | profile] ... catkin: error: unrecognized arguments: --no-color --unformatted --quiet usage: catkin [-h] [-a] [--test-colors] [build | clean | config | create | init | list | profile] ... catkin: error: unrecognized arguments: --no-color --unformatted --quiet So the question is - where should I look for it? Any pointer appreciated. Thanks!

PCL and ROS Indigo: No such file or directory

$
0
0
I'm trying to compile a package that uses ROS Indigo and PCL trunk. This is the error: /home/andreas/baxter_ws/src/object_grasping/src/lccp_clustering.cpp:58:48: fatal error: pcl/segmentation/lccp_segmentation.h: No such file or directory #include The header lccp_segmentation.h is in: */usr/local/include/pcl-1.8/pcl/segmentation/* The CMakeLists.txt has this: http://wiki.ros.org/hydro/Migration#PCL and the package.xml has this: https://github.com/ros-perception/pcl_conversions/commit/a868e1a16e442c135f66a9738619d290bc4ee896 Why does the package not find the header?

ROS Error: Cannot Launch Node of Type

$
0
0
Hi, I am running Ubuntu 14.04. I've successfully installed ROS Indigo. There is this open source program called ORB-SLAM that I am trying to run but I getting an error. Instructions I am following: - In Terminal 1: `roscore` - In Terminal 2: `roslaunch ExampleGroovyHydro.launch` - In Terminal 3: `rosbag play --pause Example/ Example.bag` Wait for Terminal 2 to finish loading the vocabulary file, then press “space” in terminal 3. The error that I am getting: ERROR: cannot launch node of type [ORB_SLAM/ORB_SLAM]: ORB_SLAM ROS path [0]=/opt/ros/indigo/share/ros ROS path [1]=/home/ria/catkin_ws/src ROS path [2]=/opt/ros/indigo/share ROS path [3]=/opt/ros/indigo/stacks (Note: I am guessing this is coming from my `ROS_PACKAGE_PATH`) What's inside the launch file: I am fairly new to ROS so I have a few questions: 1. I found a ROS link to install a catkin workspace. I've installed a workspace in the folder `catkin_ws`. This is a folder in my parent directory. It's not in my project folder. Am I supposed to have the workspace in my project folder? (Note: I think I might have installed a workspace from the source instead of using the pre-existing one provided by ROS. That's because I didn't know how to use/run/install the pre-existing workspace. I would like to know how to do this.) 1. My `catkin_ws` folder doesn't have a `package.xml` and `CMakeLists.txt` in its folder. I found a `CMakeLists.txt` but that's in its `src` folder. I found both these files inside 'Beginner's tutorial' folder. Where are these supposed to be? Did I install the workspace incorrectly?

Setting up ROS catkin/rosbuild simultaneously

$
0
0
I have both a catkin_ws and a rosbuild_ws. However, when I use the command roscd I can only go to the one I've sourced last, i.e.: -When I do source ~/rosbuild_ws/setup.bash, I the packages inside rosbuild are known, hence I can roscd to them. -When I do ". ~/catkin_ws/devel/setup.bash", the packages inside catkin are known. But I stop being able to roscd into rosbuild. This also means that rosbuild cannot use catkin packages and vice versa. What can I do?

catkin export definitions

$
0
0
packages that use PCL need to add those 2 lines in the CMakeLists: add_definitions(${PCL_DEFINITIONS}) link_directories(${PCL_LIBRARY_DIRS}) Is there an option to pass those flags and apply them automatically to all packages that use PCL indirectly, by depending on a package that uses PCL? e.g. let's a package A that uses PCL and so it has the 2 lines above in its CMakeLists, and a package B that uses package A, but does not use PCL directly. It's CMakeLists thus does not include those 2 lines. I does not seem practical to request a package developer to check all the packages depended upon and check what flags they require... So I bet there is a solution...

Failed to process package 'compressed_depth_image_transport'

$
0
0
Hi I'm trying to install ROS Indigo on OS X Yosemite, and executing $ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release I have come across the following error. How can I resolve it? ==> Processing catkin package: 'compressed_depth_image_transport' ==> Building with env: '/Users/Zoe/ros_catkin_ws/install_isolated/env.sh' Makefile exists, skipping explicit cmake invocation... ==> make cmake_check_build_system in '/Users/Zoe/ros_catkin_ws/build_isolated/compressed_depth_image_transport' ==> make -j4 -l4 in '/Users/Zoe/ros_catkin_ws/build_isolated/compressed_depth_image_transport' [ 25%] Built target compressed_depth_image_transport_gencfg Linking CXX shared library /Users/Zoe/ros_catkin_ws/devel_isolated/compressed_depth_image_transport/lib/libcompressed_depth_image_transport.dylib ld: library not found for -ltbb clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/Zoe/ros_catkin_ws/devel_isolated/compressed_depth_image_transport/lib/libcompressed_depth_image_transport.dylib] Error 1 make[1]: *** [CMakeFiles/compressed_depth_image_transport.dir/all] Error 2 make: *** [all] Error 2<== Failed to process package 'compressed_depth_image_transport': Command '['/Users/Zoe/ros_catkin_ws/install_isolated/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2 Reproduce this error by running: ==> cd /Users/Zoe/ros_catkin_ws/build_isolated/compressed_depth_image_transport && /Users/Zoe/ros_catkin_ws/install_isolated/env.sh make -j4 -l4

Best way to add/use directories inside of /msg?

$
0
0
I've been struggling with this for a few days now, and I can't seem to find any answers involving this. I'm working with a relatively large project with hundreds of messages, and there's no way it's reasonable to just put them all in the base msg directory. However, I can't find any reasonable way to implement multiple directories which rely on eachother using the catkin build system/default CMake macros given. I'd rather not have to create many packages containing only messages, it seems like creating a hierarchy would be difficult that way and it doesn't make sense.

roslaunch can't find launch files with "catkin build"

$
0
0
If I use "catkin_make" to build my workspace, and re-source my bashrc, then roslaunch is able to find my launch files and the nodes launch just fine. If I do a "cakin clean -a" and a "cakin build," and re-source my bashrc, roslaunch can't autocomplete my launch files, or run any of the nodes in my workspace. Here are the ROS related lines from my .bashrc: export ROS_HOSTNAME=localhost export ROS_MASTER_URI=http://localhost:11311 export ROS_ROOT=/opt/ros/indigo export PATH=/opt/ros/indigo/bin:$PATH source /opt/ros/indigo/setup.bash source ~/catkin_ws/devel/setup.bash export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/indigo/lib The difference in my environment is only in the ROS_PACKAGE_PATH variable: with catkin tools ("catkin make"): ROS_PACKAGE_PATH=/home/awagner/catkin_ws/install/share:/home/awagner/catkin_ws/install/stacks:/home/awagner/catkin_ws/src/image_retriever:/home/awagner/catkin_ws/src/ros-indigo-openni2-camera-0.2.4:/home/awagner/catkin_ws/src/bear_detector:/opt/ros/indigo/share:/opt/ros/indigo/stacks with catkin_make: ROS_PACKAGE_PATH=/home/awagner/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks so catkin tools is appending ROS_PACKAGE_PATH with all of the subdirectories of my packages, rather than just the parent package. Is this just a bug in the newer "python-catkin-tools" catkin front-end? Anyone else running into this? $ rospack profile Full tree crawl took 0.018942 seconds. Directories marked with (*) contain no manifest. You may want to delete these directories. To get just of list of directories without manifests, re-run the profile with --zombie-only ------------------------------------------------------------- 0.015500 /opt/ros/indigo/share 0.001762 /home/awagner/catkin_ws/install/share 0.000158 * /home/awagner/catkin_ws/install/share/libautocalib 0.000139 * /home/awagner/catkin_ws/install/share/libplanview 0.000066 * /home/awagner/catkin_ws/install/share/bearvis 0.000042 * /home/awagner/catkin_ws/install/share/libautocalib/data 0.000027 * /home/awagner/catkin_ws/install/share/libdmd 0.000026 * /home/awagner/catkin_ws/install/share/libpdetect 0.000025 * /opt/ros/indigo/share/doc 0.000023 * /home/awagner/catkin_ws/install/share/libplanview/data 0.000023 * /home/awagner/catkin_ws/install/share/libbeardetect 0.000023 * /home/awagner/catkin_ws/install/share/libdepthio 0.000005 * /opt/ros/indigo/share/doc/liborocos-kdl My version of catkin tools: $ apt-cache show python-catkin-tools Package: python-catkin-tools Version: 0.3.0-1 I am running ROS Indigo on Ubuntu 14.04

catkin_make builds executable in the wrong directory?

$
0
0
Hello! I have a package I have been able to successfully build using catkin_make after setting up my package.xml and CMakeLists.txt. However, I have one problem. When I run catkin_make, it successfully makes the executable, but places the executable in catkin_ws/build/package_name. For example, I have made a small example below (**tbrandom and tbsub are my executables**): may@MooMoo:~/Desktop/Tree/Programming/ros/TurtleBotRandom$ ls build devel src may@MooMoo:~/Desktop/Tree/Programming/ros/TurtleBotRandom$ cd build may@MooMoo:~/Desktop/Tree/Programming/ros/TurtleBotRandom/build$ ls catkin catkin_make.cache cmake_install.cmake Makefile catkin_generated CMakeCache.txt CTestTestfile.cmake test_results CATKIN_IGNORE CMakeFiles gtest turtle_bot_random may@MooMoo:~/Desktop/Tree/Programming/ros/TurtleBotRandom/build$ cd turtle_bot_random may@MooMoo:~/Desktop/Tree/Programming/ros/TurtleBotRandom/build/turtle_bot_random$ ls catkin_generated cmake_install.cmake Makefile tbsub CMakeFiles CTestTestfile.cmake tbrandom When I source the devel/setup.bash, and try to run the executable through the package, ROS cannot find the executable unless I copy the executable(s) made (in this example, tbrandom and tbsub) and copy them into `Desktop/Tree/Programming/ros/TurtleBotRandom/src/turtle_bot_random`. This is really annoying for bigger projects which require more compile time, and then require me to copy paste files in between to actually start testing to see if my code even works. What could be the reason or a potential fix? Am I doing something wrong? I've only started toying with catkin last night. MY CMAKELISTS.TXT FILE: http://www.pastebin.ca/3086592

third party library

$
0
0
i compiled a project with catkin and it worked fine and now i'm trying to write some more code that i'm going to use variables in the previous code (read and write) i've opened cmakelist in qtcreator IDE and also managed to bring it up in eclipse IDE but neither work when i add my lib.so and includepath i think i should somehow manipulate the cmakelist for it to work but when i search i don't see anywhere adding a lib.so file or path in cmakelist its wearing me out cause its not working can anyone help me or point me in the right direction? --- Edit: i added following two lines. find_library(Fuzzy fuzzylited /home/soshiant/fuzzylite-5.0/fuzzylite-5.0/fuzzylite/debug/bin/) target_link_libraries(talker1 ${catkin_LIBRARIES} ${Fuzzy}) it worked perfectly in qtcreator but not in eclipse it didn't recognized the library because it gave me err like invalid argument in my code that qt seems not to mined alles in ordnung danke

Invoking "make" failed

$
0
0
I'm using Ubuntu 12.04 & ROS Hydro. While going through this tutorial [here](http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28c%2B%2B%29) i encountered the following error upon typing: `catkin_make` asaad@VAIO:~/catkin_ws$ catkin_make Base path: /home/asaad/catkin_ws Source space: /home/asaad/catkin_ws/src Build space: /home/asaad/catkin_ws/build Devel space: /home/asaad/catkin_ws/devel Install space: /home/asaad/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/asaad/catkin_ws/build" #### #### #### Running command: "make -j4 -l4" in "/home/asaad/catkin_ws/build" #### [ 0%] [ 8%] Built target std_msgs_generate_messages_py [ 16%] [ 16%] Built target std_msgs_generate_messages_cpp Building CXX object begginer_tutorials/CMakeFiles/add_two_ints_server.dir/src/add_two_ints_server.cpp.o Building CXX object begginer_tutorials/CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.cpp.o [ 16%] Built target std_msgs_generate_messages_lisp [ 25%] Built target listener [ 33%] Built target talker [ 50%] Built target begginer_tutorials_generate_messages_cpp [ 83%] Built target begginer_tutorials_generate_messages_py [100%] Built target begginer_tutorials_generate_messages_lisp [100%] Built target begginer_tutorials_generate_messages /home/asaad/catkin_ws/src/begginer_tutorials/src/add_two_ints_server.cpp:2:43: fatal error: beginner_tutorials/AddTwoInts.h: No such file or directory compilation terminated. /home/asaad/catkin_ws/src/begginer_tutorials/src/add_two_ints_client.cpp:2:43: fatal error: beginner_tutorials/AddTwoInts.h: No such file or directory compilation terminated. make[2]: *** [begginer_tutorials/CMakeFiles/add_two_ints_server.dir/src/add_two_ints_server.cpp.o] Error 1 make[1]: *** [begginer_tutorials/CMakeFiles/add_two_ints_server.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** [begginer_tutorials/CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.cpp.o] Error 1 make[1]: *** [begginer_tutorials/CMakeFiles/add_two_ints_client.dir/all] Error 2 make: *** [all] Error 2 Invoking "make" failed I saw the other answers related to this but couldn't find the error myself.

ROS in Arch linux

$
0
0
I'm trying to install ROS in Arch - and I was able to get https://aur4.archlinux.org/packages/ros-indigo-desktop-full/ installed. After that I used the following in my bashrc and run `rosenv` before running ros commands: rosenv2 () { source /opt/ros/indigo/setup.bash export PYTHONPATH=/opt/ros/indigo/lib/python2.7/site-packages:$PYTHONPATH export ROS_PACKAGE_PATH=/opt/OGRE-1.8/lib/pkgconfig:/opt/ros/indigo/lib/pkgconfig:$ROS_PACKAGE_PATH export LD_LIBRARY_PATH=/opt/OGRE-1.8/lib:$LD_LIBRARY_PATH export CMAKE_MODULE_PATH=/opt/OGRE-1.8/lib/OGRE:$CMAKE_MODULE_PATH # Useful aliases alias catkin_make="catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so" # If you use Gazebo: #source /usr/share/gazebo/setup.sh } When I do `catkin_make` in one of my workspaces - I get the following error: CMake Error at /usr/lib64/cmake/gazebo/gazebo-config.cmake:46 (find_package): By not providing "FindOGRE.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "OGRE", but CMake did not find one. Could not find a package configuration file provided by "OGRE" with any of the following names: OGREConfig.cmake ogre-config.cmake Add the installation prefix of "OGRE" to CMAKE_PREFIX_PATH or set "OGRE_DIR" to a directory containing one of the above files. If "OGRE" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): gazebo_ros_pkgs/gazebo_ros/CMakeLists.txt:26 (find_package) -- Configuring incomplete, errors occurred! I've installed https://aur4.archlinux.org/packages/ogre-1.8/ also (as suggested on the wiki page in ROS+Arch) Any help on how to fix this ?

Catkin_make fails due to Bzip2 libraries on Raspberry Pi

$
0
0
Hi, I'm using Ros Indigo installed on a Raspberry Pi model B. When I run catkin_make I get an error during the compilation of RosBag-storage package. The BZIP2_LIBRARIES BZIP2_INCLUDE_DIR are missing. -- +++ processing catkin package: 'rosbag_storage' -- ==> add_subdirectory(ros_comm/rosbag_storage) -- Boost version: 1.49.0 -- Found the following Boost libraries: -- date_time -- filesystem -- program_options -- regex CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindBZip2.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) ros_comm/rosbag_storage/CMakeLists.txt:8 (find_package) -- Configuring incomplete, errors occurred! Invoking "cmake" failed How can I add these libraries?
Viewing all 670 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>