OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: R: [Muscle] winscard.h: no file or directory

From: Ludovic Rousseau (ludovic.rousseaugmail.com)
Date: Wed Jul 01 2009 - 14:59:15 CDT


2009/7/1 Andrea Angella <angella.andreagmail.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
_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle