Open victorbnl opened 6 years ago
I get the same problems- I started editing the original code to #include <unistd.h>
, but I get the feeling that downgrading your g++ compiler to <4.7 may be the trick, https://gcc.gnu.org/gcc-4.7/porting_to.html
https://stackoverflow.com/a/37734860
Alternatively -
Just keep bashing your head against adding that '#include
I have many errors like
bluetooth.cpp:291:17: error: ‘close’ was not declared in this scope close(sk); ^~~~~
:/ On Ubuntu 18.04 LTS