Thanks for the information; I was able to build a copy of NatJ using the 1.2.5 moe branch.
However, I’m running into an issue when I try and use wrapnatjgen to generation a jar for the osx foundation framework. I cd into ~/.moe/moe-1.2.5/tools and run the tool (which was downloaded from using the IDEA plugin), follow the instructions from https://doc.multi-os-engine.org/multi-os-engine/6_natj/natjgen_binding_generator/NatJGen_Binding_Generator.html but the tool churns away for a while, then finally exits with an error:
java.io.IOException: An error occured during process of bindings compilation
The only output before this are just the usual “Creating compilation unit at…” messages, with the last file name before the error being applicationservices/opaque/ATSFontNotificationInfoRef.java. Is there a way to get more detailed output? --help doesn’t list anything to increase the log level or anything useful.
For reference, I’m running the following command:
java -jar wrapnatjgen.jar --headers /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/ --framework /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework --output-file-path=~/foundation.jar
I added --headers since I noticed some missing header includes for some of the C runtime, but I originally ran the command without it and had the same error.
I have Xcode 8.2.1, running on OSX 10.11.6, incase that’s of any value.