Windows: jpen-2.dll (original) (raw)
Open a command window, go to your prepared jpen-2-150301\c\windows directory, and run:
> c:\mingw\bin\gcc -Wall -c -mrtd -D_JNI_IMPLEMENTATION
-Ic:\javaSdk\include -Ic:\javaSdk\include\win32 *.c
Replace c:\mingw and c:\javaSdk according to your environment (c:\mingw is the MinGW installation directory and c:\javaSdk is the jdk installation directory). Finally, run:
> c:\mingw\bin\gcc -Wall -Wl,-kill-at -shared
-o jpen-2.dll *.o -Llib -lWintab32
and you will get jpen-2.dll.