Daniele D'Antoni wrote: > 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 .
Can you post the error message(s)? > > 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.... What dows XCode? It generates automaticaly a Java wrapper to a C library? Karsten > > Do you have any suggestion about ? > :-) Try to fix the erros in JPCSC. Maybe this is faster. > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
