Hello,I am having trouble cross compiling liblouisutdml with its Java bindings on linux and mingw-w64.
Having done some reading it appears that JNI requires a particular set of link options and calling conventions. I found a document online discussing compiling JNI libraries with mingw.
http://www.transmissionzero.co.uk/computing/advanced-mingw-dll-topics/According to that I need to pass --kill-at to the linker, so I added -Wl,--kill-at to the LDFALAGS.
However now compilation is failing with link errors like:/home/mwhapples/liblouisutdml/tools/file2brl.c:311: undefined reference to `_lbu_backTranslateFile@24'
I take it that this is related to Java's linkage requirements as when I compile without java bindings (and thus without the options for JNI) liblouisutdml compiles fine without issue.
What do I need to do to get the Java bindings to compile with mingw? Michael Whapples For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com