timmerk / nfc-tools

Automatically exported from code.google.com/p/nfc-tools
0 stars 0 forks source link

reuires nfc.h but not included! #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After a

/usr/src/desknfc/Content.cpp: In member function ‘QString 
Content::makeFile(QByteArray, QString)’:
/usr/src/desknfc/Content.cpp:103:56: error: ‘getlogin’ was not declared in 
this scope
make[2]: *** [CMakeFiles/plasma_applet_desknfc.dir/Content.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_desknfc.dir/all] Error 2
make: *** [all] Error 2

I corrected assigning "root" as value to the getlogin function
I get 

/usr/src/desknfc/NfcTarget.cpp:6:21: fatal error: nfc/nfc.h: No such file or 
directory
compilation terminated.
make[2]: *** [CMakeFiles/plasma_applet_desknfc.dir/NfcTarget.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_desknfc.dir/all] Error 2
make: *** [all] Error 2

Where do I have to find it? Why it is not in the trunk?
Thank you.

Original issue reported on code.google.com by evazzo...@gmail.com on 27 Apr 2014 at 11:27

GoogleCodeExporter commented 9 years ago
You need libnfc and libnfc dev headers to be installed on your system or make 
them available locally to desknfc

apt-get install libnfc5 libnfc-dev

Original comment by yob...@gmail.com on 28 Apr 2014 at 12:29