Hi All,

I am still trying to compile JPCSC on MacOSX, a wrapper that allow Java programmers to access a smartcard.

First of all, "make" creates class files and C header files for native methods as expected. But later, it fails while including "winscard.h". I updated it to "PCSC/winscard.h" because of Apple's frameworks.

More, "make" was failing on "DWORD" and "LONG" data types coming from Microsoft implementation : I added "PCSC/wintypes.h" into jpcsc.h .

Finally, "make" was failing including "jni.h" : I updated it to "JavaVM/jni.h".

Now, it still doesn't compile. It fails when generating the library libjpcsc.so .

So, I tried to generate a JNI application through XCode but it is hard. XCode wizard creates a libjpcsc.jnilib for you but its wizard generates a JNIWrapper.java file that has to be the main class to be executed (if you rename it, you get environment reference problems). More, it creates a C file where native methods have to be stored and I can't replace it with jpcsc.c coming from the package....

Do you have any suggestion about ?
:-)
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to