Reputation: 25938
Hi I'm running a a very simple makefile with one line
g++ -o application main.cpp -lbluetooth
but I get the compile error
g++ -o application main.cpp -lbluetooth
/usr/bin/ld: cannot find -lbluetooth
Could someone tell me what I need to do to fix this? What package do I need to install? Or do I need to fix a symbolic link?
Upvotes: 0
Views: 1707
Reputation: 25938
Ok installing the following packages fixed it:
apt-get install libbluetooth3 libbluetooth3-dbg libbluetooth-dev
Upvotes: 2
Reputation: 864
You need to install package with libraries for bluetooth.
I guess: apt-get install bluez-libs*
Upvotes: 0