zippy1978 / ghost4j

Java wrapper for Ghostscript C API + PS/PDF document handling API
http://www.ghost4j.org
GNU Lesser General Public License v3.0
64 stars 38 forks source link

Invalid calling convention 63 exceptions on Ubuntu #57

Open nguyenq opened 7 years ago

nguyenq commented 7 years ago

ghost4j would throw the exception if used with JNA > 4.1.0.

kcbaltz commented 7 years ago

I'm also seeing this and it's hard to work around because Spring Boot is forcing the JNA version to 4.2.2. Is it possible to upgrade Ghost4J to use JNA 4.2.2?

nguyenq commented 5 years ago

Similar problem and potential fix?

https://groups.google.com/forum/#!topic/jna-users/aGxbNtanTSU https://github.com/matthiasblaesing/javatellstick/commit/e7e14ce7465859e4dc8c507545f42041ddb0e086

Preliminary testing indicated that it would work in Linux but break in Windows.