MYNT-EYE-S-SDK icon indicating copy to clipboard operation
MYNT-EYE-S-SDK copied to clipboard

Broken CMake config in deb package

Open m-pilia opened this issue 5 years ago • 0 comments

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>

m-pilia avatar Jan 17 '20 07:01 m-pilia