On 4/27/05, Geoffrey Elgey <[EMAIL PROTECTED]> wrote:
> G'day,

Hello,

> When I build libmuscle with the prefix /usr/local, it installs
> musclecard.h and mscdefines.h into /usr/local/include/PCSC.
> 
> Applications such as MCardPlugin will include musclecard.h as follows:
> 
>    #include <PCSC/musclecard.h>
> 
> but musclecard.h itself contains the following:
> 
>    #include <mscdefines.h>
> 
> I'm wondering why this isn't
> 
>    #include <PCSC/mscdefines.h>
> 
> which seems to me to be the correct path.

The correct solution is #include <musclecard.h>. The complete path is
given by the command pkg-config --cflags libmusclecard

The musclecardApplet.c already does this:
#ifndef __APPLE__
#include <musclecard.h>
#else
#include <PCSC/musclecard.h>
#endif

You do not have (by default) pkg-config on MacOSX and the way the
includes files are installed is different.

Maybe you are using an old version of MCardPlugin? The version 1.0.3
(included in muscleframework 1.1.5) already contain the code above.

Bye,

-- 
 Dr. Ludovic Rousseau
 For private mail use [EMAIL PROTECTED] and not "big brother" Google

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to