Open gunshi opened 8 years ago
I had this problem and it was due to some overlapping python versions (see this: http://answers.ros.org/question/53110/rviz-runtime-error-in-groovy-at-mac-os-xhomebrew/)
For me, the solution was to brew uninstall --force python
Yes, related to versions of python, on Gentoo usually you have multiple versions, I was lucky unfortunately only with 2.7, 3.4 didn't work. But as per my understanding ROS 1.* supports only 2.7 officially.
Well, I removed the stacktrace issues reported by Python itself, but now facing the second issue (same as you):
zangetsu@ares ~/proj/neural-networks/ORB_SLAM2 $ ./build_ros.sh
Building ROS nodes
mkdir: adresář „build“ nelze vytvořit: Soubor již existuje
[rosbuild] Building package ORB_SLAM2
Failed to invoke /usr/bin/rospack deps-manifests ORB_SLAM2
[rospack] Error: could not find python module 'rosdep2.rospack'. is rosdep up-to-date (at least 0.10.4)?
CMake Error at /usr/share/ros/core/rosbuild/public.cmake:129 (message):
Failed to invoke rospack to get compile flags for package 'ORB_SLAM2'.
Look above for errors from rospack itself. Aborting. Please fix the
broken dependency!
Call Stack (most recent call first):
/usr/share/ros/core/rosbuild/public.cmake:207 (rosbuild_invoke_rospack)
CMakeLists.txt:4 (rosbuild_init)
-- Configuring incomplete, errors occurred!
See also "/home/zangetsu/proj/neural-networks/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build/CMakeFiles/CMakeOutput.log".
make: *** Nezadány žádné cíle a žádné makefily nenalezeny. Konec.
Hi, I am trying to compile ORB_SLAM on OSX 10.11.12 with ROS Indigo. i have opencv 3.1 installed under /usr/local/lib and /usr/local/include (default), and also opencv2.4 under /usr/local/Cellar(through brew), which I can link to, in case opencv 3 is not compatible.
I successfully built g2o and DBoW2 and then on running cmake .. -DROS_BUILD_TYPE=Release, (after appending to ROS_PACKAGE_PATH), I get
I also removed the line "depend package="opencv" " from manifest.xml, as per https://github.com/raulmur/ORB_SLAM/issues/37 but got the same error.
which python gives me : /usr/local/bin/python How can i fix it? I have rosdep 0.11.4. Thanks.