labapart / gattlib

Library to access GATT information from BLE (Bluetooth Low Energy) devices
http://labapart.com/
436 stars 157 forks source link

cmake error #217

Open xiaoruiDu opened 3 years ago

xiaoruiDu commented 3 years ago

Hello, there

I got this uuid_unparse@UUID_1.0 error when I was trying to compile the gattlib. Any ideas? Thanks in advance!

The HTML pages are in docs/gattlib/sphinx. [ 58%] Built target Sphinx [ 60%] Built target gattlib-doxygen [ 63%] Linking C executable advertisement_data //lib/x86_64-linux-gnu/libblkid.so.1: undefined reference to `uuid_unparse@UUID_1.0' collect2: error: ld returned 1 exit status examples/advertisement_data/CMakeFiles/advertisement_data.dir/build.make:85: recipe for target 'examples/advertisement_data/advertisement_data' failed make[2]: [examples/advertisement_data/advertisement_data] Error 1 CMakeFiles/Makefile2:239: recipe for target 'examples/advertisement_data/CMakeFiles/advertisement_data.dir/all' failed make[1]: [examples/advertisement_data/CMakeFiles/advertisement_data.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2