autonohm / ohm_tsd_slam

SLAM approach based on truncated signed distance transform
21 stars 25 forks source link

Error building package #17

Open PPokorski opened 7 years ago

PPokorski commented 7 years ago

Hi!

I wanted to test out your package, but unfortunately I ran into a following error while building it:

Errors     << ohm_tsd_slam:check /home/pokor/vb_robot_workspace/catkin_ws/logs/ohm_tsd_slam/build.check.005.log                                                                                                                                    
CMake Warning at /opt/ros/kinetic/share/cmake_modules/cmake/Modules/FindEigen.cmake:62 (message):
  The FindEigen.cmake Module in the cmake_modules package is deprecated.

  Please use the FindEigen3.cmake Module provided with Eigen.  Change
  instances of find_package(Eigen) to find_package(Eigen3).  Check the
  FindEigen3.cmake Module for the resulting CMake variable names.

Call Stack (most recent call first):
  obviously/obcore/CMakeLists.txt:12 (FIND_PACKAGE)

Using gsl for obcore
CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obcore/CMakeLists.txt:72 (INSTALL):
  install DIRECTORY given no DESTINATION!

CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obcore/CMakeLists.txt:73 (INSTALL):
  install TARGETS given no ARCHIVE DESTINATION for static library target
  "obcore".

CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obvision/CMakeLists.txt:69 (INSTALL):
  install DIRECTORY given no DESTINATION!

CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obvision/CMakeLists.txt:70 (INSTALL):
  install TARGETS given no ARCHIVE DESTINATION for static library target
  "obvision".

CMake Warning at /opt/ros/kinetic/share/cmake_modules/cmake/Modules/FindEigen.cmake:62 (message):
  The FindEigen.cmake Module in the cmake_modules package is deprecated.

  Please use the FindEigen3.cmake Module provided with Eigen.  Change
  instances of find_package(Eigen) to find_package(Eigen3).  Check the
  FindEigen3.cmake Module for the resulting CMake variable names.

Call Stack (most recent call first):
  obviously/obgraphic/CMakeLists.txt:12 (FIND_PACKAGE)

CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obgraphic/CMakeLists.txt:54 (INSTALL):
  install DIRECTORY given no DESTINATION!

CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obgraphic/CMakeLists.txt:55 (INSTALL):
  install TARGETS given no ARCHIVE DESTINATION for static library target
  "obgraphic".

I followed your guide on installing and also I ran installObviously script.

Thanks for response in advance! Cheers

philko4711 commented 7 years ago

Hi,

after you ran the installObviously script did you build the lib? Did you run cmake . and make in the build/release folder? After you run the installObviously script you have to source the .bashrc again to activate the environment variable which is set by the script.

Let me know if this helps.

Cheers,

-- M. Sc. Philipp Koch Wissenschaftlicher Mitarbeiter Labor für mobile Robotik Fakultät Eletrotechnik, Feinwerktechnik, Informationstechnik Technische Hochschule Georg-Simon-Ohm Nürnberg

Research Assistant Laboratory of Mobile Robotics Faculty of Electrical Engineering, Precision Engineering and Information Technology Institute of Technology Georg-Simon-Ohm Nuremberg

Keßlerpl. 12, 90489 Nuremberg Germany

On 01.06.2017 14:39, PPokorski wrote:

Hi!

I wanted to test out your package, but unfortunately I ran into a following error while building it:

|Errors << ohm_tsd_slam:check /home/pokor/vb_robot_workspace/catkin_ws/logs/ohm_tsd_slam/build.check.005.log CMake Warning at /opt/ros/kinetic/share/cmake_modules/cmake/Modules/FindEigen.cmake:62 (message): The FindEigen.cmake Module in the cmake_modules package is deprecated. Please use the FindEigen3.cmake Module provided with Eigen. Change instances of find_package(Eigen) to find_package(Eigen3). Check the FindEigen3.cmake Module for the resulting CMake variable names. Call Stack (most recent call first): obviously/obcore/CMakeLists.txt:12 (FIND_PACKAGE) Using gsl for obcore CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obcore/CMakeLists.txt:72 (INSTALL): install DIRECTORY given no DESTINATION! CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obcore/CMakeLists.txt:73 (INSTALL): install TARGETS given no ARCHIVE DESTINATION for static library target "obcore". CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obvision/CMakeLists.txt:69 (INSTALL): install DIRECTORY given no DESTINATION! CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obvision/CMakeLists.txt:70 (INSTALL): install TARGETS given no ARCHIVE DESTINATION for static library target "obvision". CMake Warning at /opt/ros/kinetic/share/cmake_modules/cmake/Modules/FindEigen.cmake:62 (message): The FindEigen.cmake Module in the cmake_modules package is deprecated. Please use the FindEigen3.cmake Module provided with Eigen. Change instances of find_package(Eigen) to find_package(Eigen3). Check the FindEigen3.cmake Module for the resulting CMake variable names. Call Stack (most recent call first): obviously/obgraphic/CMakeLists.txt:12 (FIND_PACKAGE) CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obgraphic/CMakeLists.txt:54 (INSTALL): install DIRECTORY given no DESTINATION! CMake Error at /home/pokor/vb_robot_workspace/catkin_ws/src/ohm_tsd_slam/obviously/obgraphic/CMakeLists.txt:55 (INSTALL): install TARGETS given no ARCHIVE DESTINATION for static library target "obgraphic". |

I followed your guide on installing and also I ran installObviously script.

Thanks for response in advance! Cheers

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/autonohm/ohm_tsd_slam/issues/17, or mute the thread https://github.com/notifications/unsubscribe-auth/ACGCq-GlghDvqw_KtlF381_UhnFVaGgvks5r_rEcgaJpZM4Ns6_N.

PPokorski commented 7 years ago

Alright, I got to build your package. When I made a build directory inside the package and invoked "cmake .." inside, it was fine. Still, trying to build with catkin tools (which I'd like to, but should've mentioned...) still ends up with the error above. Also in the first variant (with build dir) trying to invoke "cmake -D CMAKE_BUILD_TYPE=Release ../" also ends up with an error. I guess that catkin tools invoke some flags that override those inside your packages. Anyway, thanks!