orbbec / OrbbecSDK_v2

Orbbec SDK v2 Open-Source Repo.
https://www.orbbec.com
Other
18 stars 3 forks source link

cpack produces libyuv-0.0.1832-linux-amd-64.deb instead of OrbbecSDK.deb #6

Open Suedocode opened 2 months ago

Suedocode commented 2 months ago

Running cpack produces an odd package named libyuv-0.0.1832-linux-amd-64.deb, and the dpkg name is registered as libyuv.

$ dpkg -S /usr/lib/libOrbbecSDK.so
libyuv: /usr/lib/libOrbbecSDK.so

I can unpack, edit, and repack this debian package to rename it as an OrbbecSDK.deb or something reasonably similar, but is there a way to get the repository to produce a package more normally?

Environment: Ubuntu 22.04.5 LTS (x86_64) g++ 11.4.0 OrbbecSDK-dev 7e05e5805d7181f401ffa5e870352b096b573eb1 Firmware v1.2.9

hzcyf commented 2 months ago

This is because the CMake configuration of the third-party library libyuv includes cpack configuration.

The Orbbec SDK has not yet implemented cpack configuration in CMake and does not support packaging through cpack. We will complete this work in October.