Open jiangjun0105 opened 7 years ago
Hello,
actually I only worked with Ubuntu 14 and ROS Indigo. Therefore I think you need to adjust the ROS buiding files. Besides you need the used libraries of PCL and OpenCV.
Best regards,
Rainer Koch
----- "Jiang Jun" notifications@github.com wrote:
From: "Jiang Jun" notifications@github.com To: "autonohm/ohm_mirror_detector" ohm_mirror_detector@noreply.github.com Cc: "Subscribed" subscribed@noreply.github.com Sent: Tuesday, March 21, 2017 11:35:18 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: [autonohm/ohm_mirror_detector] catkin_make error (#1)
Hi, I tried to compile your package ohm_mirror_detector , but get the following error. Can you help me to work it out?
My environment information:
Ubuntu 16.04
ROS: kinetic
In fact this was not the fist time I compiled and got error. Before this I tried more than 20 times, and solved some other errors by installing PCL and OpenCV on my computer. And I am sure these two works well with ROS by run the ros tutorial program.
Besides, I also installed VTK by compiling from source by following this page , but I didn't find a detailed tutorial about it in ros wiki, so I haven't made sure whether it works well in ros. Now the error didn't give detailed information which way I should go to solve it, I hope you can give me some direction, such as which package is not working well or the VTK_DIR or PCL_DIR is not correct.
Thanks!
`jiang@jiang-ThinkPad-P50:~/catkin_ws$ catkin_make -DCATKIN_WHITELIST_PACKAGES="ohm_mirror_detector"
Base path: /home/jiang/catkin_ws Source space: /home/jiang/catkin_ws/src Build space: /home/jiang/catkin_ws/build Devel space: /home/jiang/catkin_ws/devel Install space: /home/jiang/catkin_ws/install Running command: "cmake /home/jiang/catkin_ws/src -DCATKIN_WHITELIST_PACKAGES=ohm_mirror_detector -DCATKIN_DEVEL_PREFIX=/home/jiang/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/jiang/catkin_ws/install -G Unix Makefiles" in "/home/jiang/catkin_ws/build"
-- Using CATKIN_DEVEL_PREFIX: /home/jiang/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/jiang/catkin_ws/devel;/opt/ros/kinetic -- This workspace overlays: /home/jiang/catkin_ws/devel;/opt/ros/kinetic -- 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/jiang/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.6 -- BUILD_SHARED_LIBS is on -- Using CATKIN_WHITELIST_PACKAGES: ohm_mirror_detector --
~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - ohm_mirror_detector --~~~~~~~~~~~~~ -- +++ processing catkin package: 'ohm_mirror_detector' -- ==> add_subdirectory(ohm_mirror_detector) -- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- chrono -- atomic -- regex WARNING io features related to pcap will be disabled WARNING io features related to png will be disabled -- looking for PCL_COMMON -- looking for PCL_KDTREE -- looking for PCL_OCTREE -- looking for PCL_SEARCH -- looking for PCL_IO -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_GEOMETRY -- looking for PCL_FEATURES -- looking for PCL_SEGMENTATION -- looking for PCL_SURFACE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_KEYPOINTS -- looking for PCL_VISUALIZATION -- looking for PCL_PEOPLE -- looking for PCL_OUTOFCORE -- looking for PCL_TRACKING -- looking for PCL_APPS -- looking for PCL_MODELER -- looking for PCL_IN_HAND_SCANNER -- looking for PCL_POINT_CLOUD_EDITOR -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- ohm_mirror_detector: 2 messages, 0 services CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'system_lib' but neither 'system_lib_INCLUDE_DIRS' nor 'system_lib_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) ohm_mirror_detector/CMakeLists.txt:112 (catkin_package)
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:303 (message):
catkin_package() include dir 'include' does not exist relative to '/home/jiang/catkin_ws/src/ohm_mirror_detector' Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) ohm_mirror_detector/CMakeLists.txt:112 (catkin_package)
-- Configuring incomplete, errors occurred!
See also "/home/jiang/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/jiang/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed `
—
You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or mute the thread .
--
mit besten Grüßen, best regards, tanti saluti, meilleurs salutations
Rainer Koch
M.Eng. Rainer Koch
Technische Hochschule Nürnberg Georg Simon Ohm Postfach, 90121 Nürnberg
Besucheradresse: Keßlerplatz 12, 90489 Nürnberg Gebäude KA, Raum KA.548
Telefon: +49 911/5880-1411 Telefax: +49 911/5880-5822 E-Mail: Rainer.Koch@th-nuernberg.de www.th-nuernberg.de
Hi, I tried to compile your package
ohm_mirror_detector
, but get the following error. Can you help me to work it out? My environment information:In fact this was not the fist time I compiled and got error. Before this I tried more than 20 times, and solved some other errors by installing PCL and OpenCV on my computer. And I am sure these two works well with ROS by run the ros tutorial program. Besides, I also installed VTK by compiling from source by following this page, but I didn't find a detailed tutorial about it in ros wiki, so I haven't made sure whether it works well in ros. Now the error didn't give detailed information which way I should go to solve it, I hope you can give me some direction, such as which package is not working well or the VTK_DIR or PCL_DIR is not correct.
Thanks!