-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve problems to install of ROS in MacOS for the HDE visualization #93
Comments
I have this problem, which a part of it is :
I followed suggestions provided here, but still threre is the problem. |
Sorry, I just read this now. @kouroshD did you solved this issue? |
After discussing f2f, I pointed @kouroshD to this Travis build that install ROS lunar in macOS HS. I just restarted the build to check that everything still works even today, and the build succeeded. |
I guess @lrapetti was checking out https://github.com/mikepurvis/ros-install-osx . |
I have not tried yet, but I will in the next days. As reference, it seems that there are still some problems (and fixes) in |
@diegoferigo What you have written is similar what is mentioned in ros official website and https://github.com/mikepurvis/ros-install-osx; but I had a lot of problems to install it. At the end, I could not install 3 packages, so I exclude them from my ros installation: diagnostics, pcl_ros, stereo_image_proc. |
Error in brew tap ros/deps: Related to a deprecated function call: I have forked the repo and made changes. $ install --from-paths src --ignore-src --rosdistro lunar -y $ sudo pip install -U wxpython $ rosdep install --from-paths src --ignore-src --skip-keys google-mock --rosdistro lunar -y $ brew install wxpython $ rosdep install --from-paths src --ignore-src --skip-keys google-mock python-wxtools --rosdistro lunar -y $ rosdep install --from-paths src --ignore-src --skip-keys google-mock --skip-keys python-wxtools --rosdistro lunar -y —> Error: $ brew info pyqt5 $ brew install pyqt $ brew info pyqt5 $ brew install qt5 $ rosdep install --from-paths src --ignore-src --skip-keys google-mock --skip-keys python-wxtools --rosdistro lunar -y ==> Installing ogre from osrf/simulation $ brew cask install xquartz xquartz was successfully installed! $ brew install ogre $ rosdep install --from-paths src --ignore-src --skip-keys google-mock --skip-keys python-wxtools --rosdistro lunar -y Error: Cannot install osrf/simulation/ogre1.9 because conflicting formulae are installed. Please Unlinking removes a formula's symlinks from /usr/local. You can $ brew unlink ogre $ rosdep install --from-paths src --ignore-src --skip-keys google-mock --skip-keys python-wxtools --rosdistro lunar -y ==> Pouring gazebo7-7.14.0_5.mojave.bottle.tar.gz kdarvish@/Users/kdarvish/Desktop/ros_ws$ brew install ogre To force the link and overwrite all conflicting files: To list all files that would be deleted: kdarvish@/Users/kdarvish/Desktop/ros_ws$ brew unlink ogre1.9 $ rosdep install --from-paths src --ignore-src --skip-keys google-mock --skip-keys python-wxtools --rosdistro lunar -y $ rosdep install --from-paths src --ignore-src --skip-keys google-mock --skip-keys python-wxtools --rosdistro lunar -y $ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
but this file does not exist. Possible reasons include:
but not all the files it references. Call Stack (most recent call first): -- Configuring incomplete, errors occurred! Reproduce this error by running: Command failed, exiting. $ brew install qt In file included from /Users/kdarvish/Desktop/ros_ws/src/opencv3/opencv_contrib/text/src/erfilter.cpp:43: Follow the instructions here: https://github.com/opencv/opencv_contrib/tree/3.4/modules/text For tesseract $ make What it works was this one at the end: Then there was this problem: Solution: For this error: /Users/kdarvish/Desktop/ros_ws/src/geometry2/tf2/src/buffer_core.cpp:221:5: error: use of undeclared identifier 'logError' /src/geometry2/tf2/src/buffer_core.cpp: Referring to this PR: Add CONSOLE_BRIDGE_ before logWarn, logError, Or look at here: Error: export LIBRARY_PATH=/usr/local/lib I have the same issue with ROS Kinetic, OSX 10.11.6 and assimp-3.3.1. Fix:
sudo catkin build geometric_shapes --limit-status-rate 1 Had this error: In file included from /Users/kdarvish/Desktop/ros_ws/src/bond_core/bondcpp/src/timeout.cpp:30: I followed the steps here to resolve: -DCMAKE_FIND_FRAMEWORK=LAST found the culprit to be the FindUUID CMake module. It is located at ${ros_ws}/src/cmake_modules/cmake/Modules/FindUUID.cmake. Changing from find_path(UUID_INCLUDE_DIRS uuid/uuid.h) to find_path(UUID_INCLUDE_DIRS ossp/uuid.h) worked for me. Be sure to install ossp-uuidvia homebrew first. Add this to the catkin_make_isolated -DGETTEXT_LIB_DIR=/opt/local/lib https://gist.github.com/lubiluk/361a018b267ca4e3ce10cdc68b17363d ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/usr/local/opt/qt;/Users/lubiluk/Development/ros_catkin_ws_lunar/install_isolated" -DCMAKE_FIND_FRAMEWORK=LAST -DPYTHON_INCLUDE_DIR="/usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Headers" -DPYTHON_LIBRARY="/usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib" -DCMAKE_MACOSX_RPATH=ON -DCMAKE_INSTALL_RPATH="/Users/lubiluk/Development/ros_catkin_ws_lunar/install_isolated/lib" I have added following to the path env variable Error on boost_python could not find the following boost libraries: boost_python solution Explanation: andrewssobral/bgslibrary#96 Continue with following command: NEW ERROR in camera_calibration_parser Solution: ERROR: Response: //cloud_condition_.timed_wait(lock, boost::posix_time::milliseconds(1000.0f)); Error: -- Checking to see if CXX compiler accepts flag -Wl,--version-script,"/Users/kdarvish/Desktop/ros_ws/build_isolated/pcl_ros/class_loader_hide_library_symbols__pcl_ros_io.script" Add this to args of the catkin_make -DCATKIN_ENABLE_TESTING=0 ./src./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCATKIN_ENABLE_TESTING=0 Error CMake Error at /Users/kdarvish/Desktop/ros_ws/install_isolated/share/catkin/cmake/test/tests.cmake:18 (message): if(CATKIN_ENABLE_TESTING)
endif() Call Stack (most recent call first): -DCATKIN_ENABLE_TESTING=1 Error: CMake Error at CMakeLists.txt:199 (target_link_libraries): -- Configuring incomplete, errors occurred! Solution: ============================================================================================================================== Linking /usr/local/Cellar/numpy/1.8.0... To list all files that would be deleted: pip uninstall numpy Error: test.h std:make_tuple Errors << diagnostic_aggregator:make /Users/kdarvish/Documents/ros-install-osx/lunar_desktop_full_ws/logs/diagnostic_aggregator/build.make.003.log I have added set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") https://en.cppreference.com/w/cpp/utility/tuple/make_tuple After install opencv3, the cmake find package can not detect and find opencv3. find_package( OpenCV 3 REQUIRED ) The error output shows: CMake Error at CMakeLists.txt:5 (find_package): Solution: brew ln opencv3 --force brew ln opencv3 --force error "OpenCV 4.x+ requires enabled C++11 support"^ brew update && brew install opencv3 brew install opencv3 -v --c++11 --with-python3 /Users/kdarvish/Documents/ros-install-osx/lunar_desktop_full_ws/src/opencv3/modules/python/src2/cv2.cpp:885:11: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char ' Solution: Error: Errors << camera_info_manager:make /Users/kdarvish/Documents/ros-install-osx/lunar_desktop_full_ws/logs/camera_info_manager/build.make.004.log Solution : add_executable(unit_test tests/unit_test.cpp)target_link_libraries(unit_test ${PROJECT_NAME} ${GTEST_LIBRARIES} ${catkin_LIBRARIES})add_rostest(tests/unit_test.test DEPENDENCIES unit_test)Errors << tf:make /Users/kdarvish/Documents/ros-install-osx/lunar_desktop_full_ws/logs/tf/build.make.001.log Comment the line in cmakelists of the tf #add_executable(transform_listener_unittest test/transform_listener_unittest.cpp) #add_executable(test_message_filter EXCLUDE_FROM_ALL test/test_message_filter.cpp) #add_executable(transform_listener_unittest test/transform_listener_unittest.cpp) I have commented all the processes with GTEST dependency. Check later: Errors << stereo_image_proc:make /Users/kdarvish/Documents/ros-install-osx/lunar_desktop_full_ws/logs/stereo_image_proc/build.make.001.log set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") Nodelet library#add_library(${PROJECT_NAME} src/libstereo_image_proc/processor.cpp src/nodelets/disparity.cpp src/nodelets/point_cloud2.cpp) Check later this pull request: resolve this problem: https://github.com/ros-perception/image_pipeline/pull/96/files Errors << pcl_ros:make /Users/kdarvish/Documents/ros-install-osx/lunar_desktop_full_ws/logs/pcl_ros/build.make.000.log librviz_tutorial [ Unrelated job failed ] kdarvish@/opt/ros/lunar/bin$ rviz EDITOR='open -Wne' sudo -e /Users/kdarvish/Documents/ros-install-osx/lunar_desktop_full_ws/build/pcl_ros/CMakeFiles/pcl_ros_features.dir/link.txt |
I was able to install I have installed the
those packages were giving some problems and should not be required for Then the other problem I have faced during the installation are the following:
Solved by commenting out
Solved by adding
Solved by editing
(check ros/console_bridge#56)
When this error comes out, you just have to continue the
Same as before:
It can be solved by
|
I checked again with @Yeshasvitvs, and I was able to visualize the model (the problem was probably due to the way I was launching it). So I would say the installation of |
closing #93 |
I was experiencing again the model not being loaded. At the moment I don't know what it is due to, since I am not getting any error. However in case it is not visualized, it is sufficient to try to run again |
Currently the usage of
(this in combination with some of the fixies described in #93 (comment) and in https://github.com/mikepurvis/ros-install-osx/issues) I am able to run everything (roscore, publisher) a part for the visualization. In order to be able to compile also |
Unfortunately, in order to install ROS, it is required to tap an older version of |
Update wrappers CMakeLists to autogenerate .ini files
I Want to install ROS on Mac (Mojave, Version 10.14) in order to visualize the outcomes of HDE, and in my case human state provider, and I have face several issues.
So I post it here the future issues I will face, later, I will add the issues I faced before and how I solved it.
CC @traversaro @diegoferigo @S-Dafarra @lrapetti @claudia-lat
The text was updated successfully, but these errors were encountered: