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

Broken CMake config in deb package #89

Open
m-pilia opened this issue Jan 17, 2020 · 0 comments
Open

Broken CMake config in deb package #89

m-pilia opened this issue Jan 17, 2020 · 0 comments

Comments

@m-pilia
Copy link

m-pilia commented Jan 17, 2020

The deb package for Ubuntu 16.04 has a broken CMake configuration. When trying to build a CMake project that uses the mynteye package, the following error arises:

CMake Error at /usr/lib/cmake/mynteye/mynteye-targets.cmake:70 (message):
  The imported target "mynteye" references the file

     "/home/gege/MYNT-EYE-S-SDK/_install/lib/libmynteye.so.2.5.0"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/cmake/mynteye/mynteye-targets.cmake"

  but not all the files it references.

How to reproduce

  1. Install deb package
sudo add-apt-repository ppa:slightech/mynt-eye-s-sdk
sudo apt-get update
sudo apt-get install mynt-eye-s-sdk
  1. Build any project that uses mynteye (for example, the ROS wrapper)
git clone https://github.com/slightech/MYNT-EYE-S-SDK.git
cd ./MYNT-EYE-S-SDK/wrappers/ros
catkin build --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo

Package details:

$ apt show mynt-eye-s-sdk 
Package: mynt-eye-s-sdk
Version: 2.1.12-0ubuntu1~xenialppa1
Priority: optional
Section: net
Maintainer: gege <gege@unknown>
Installed-Size: 4 861 kB
Depends: libboost-filesystem1.58.0, libboost-system1.58.0, libc6 (>= 2.15), libgcc1 (>= 1:3.0), libopencv-calib3d2.4v5, libopencv-core2.4v5, libopencv-highgui2.4v5, libopencv-imgproc2.4v5, libstdc++6 (>= 5.2)
Download-Size: 493 kB
APT-Manual-Installed: yes
APT-Sources: http://ppa.launchpad.net/slightech/mynt-eye-s-sdk/ubuntu xenial/main amd64 Packages
Description: MYNT® EYE S SDK is a cross-platform library for MYNT® EYE Standard cameras.
 <insert long description, indented with spaces>
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

1 participant