I compiled, built and packaged GATTLIB library files in Raspberry Pi 3 as directed in https://github.com/labapart/gattlib. But when trying to install the library from the build folder (/home/pi/Downloads/gattlib-src-root/gattlib-master/build
) by using
sudo apt-get install gattlib
I got error
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gattlib
Please advise me what is the correct way to install GATTLIB in Raspberry pi 3.
sudo dpkg -i pkg-name.deb
to install it. – mikewhatever Apr 19 '18 at 21:051- \<Board IP Address>\usr\lib into Project->Configuration Properties->VC++ Directories->Library Directories 2- gattlib into Project->Configuration Properties->->Linker->Input 3- -lpthread to Project->Configuration Properties->Linker->Command Line
solved the problem with referencing a remote .so library in a VS 2017 VC++ for Linux project. Hopefully this summary will help somebody else.
– Paul Tomov Apr 20 '18 at 19:36