Tereius / libONVIF

Yet another ONVIF library
GNU General Public License v3.0
164 stars 47 forks source link

Build issue in ubuntu #1

Closed palcode closed 6 years ago

palcode commented 6 years ago

Hi ,

I am trying to build this project on my ubuntu machine and encountered below issue


Could NOT find CommonLibs_DIR (missing: CommonLibs_DIR_DIR) CMake Error at src/CMakeLists.txt:418 (install): install TARGETS given no LIBRARY DESTINATION for shared library target "onvifcommon".

Configuring incomplete, errors occurred! See also "/home/pallab/onvif/libONVIF/build/CMakeFiles/CMakeOutput.log".

The common lib dependency as explained can be met from https://github.com/Tereius/CommonLibs But as per Readme.md its Unix makefiles are still awaiting . Can I get some pointers on how to proceed on this project in ubuntu

Regards Pallab

Tereius commented 6 years ago

Hi,

I fixed some issues affecting unix makefiles 410d9a1d2f7e2b3ca909d4b91edd2e9dbaf04b07. The "CommonLibs" is an optional dependency. CMake won't stop generating the makefile if "CommonLibs" is missing. The mandatory dependencies are openssl and Qt5 (core).

Greetings Björn