Skip to content
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

Error building package #17

Open
PPokorski opened this issue Jun 1, 2017 · 2 comments
Open

Error building package #17

PPokorski opened this issue Jun 1, 2017 · 2 comments

Comments

@PPokorski
Copy link

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
Copy link
Contributor

philko4711 commented Jun 1, 2017 via email

@PPokorski
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants