R: [Muscle] winscard.h: no file or directory

Ludovic Rousseau ludovic.rousseau at gmail.com
Wed Jul 1 12:59:15 PDT 2009


2009/7/1 Andrea Angella <angella.andrea at gmail.com>:
> Ok, thanks !!!
>
> I want to add a note.
>
> This package copy the winscard.h file in the /usr/include/PCSC folder.
> winscard.h include <pcsclite.h> that is in the same folder.
> So if you use #include <PCSC/winscard.h> there is an error because
> pcsclite.h is not found.
>
> I think that the best way is to use #include <winscard.h> and then pass the
> include directory at g++
>
> g++ main.cpp -I/usr/include/PCSC
>
> Right ?

Mostly right.
Use "pkg-config --cflags libpcsclite" to get the compile argument. And
"pkg-config --libs libpcsclite" to get the link argument.

Bye

-- 
 Dr. Ludovic Rousseau


More information about the Muscle mailing list