Hi there,
I am trying out ikvm-monotouch for the first time. I followed all of the building steps before the JNI section in the directions: https://github.com/samskivert/ikvm-monotouch
The five nant phases reported that they completed successfully, and the following files were created in bin/
ICSharpCode.SharpZipLib.dll
IKVM.Reflection.dll
ikvmc.exe
ikvmstub.exe
However, when I cd bin and run ./ikvmc.exe myjar.jar it says "./ikvmc.exe: cannot execute binary file". I don't think it's a problem with my JAR because I tested that ikvmc.exe myjar.jar works properly on Win7 using the standard ikvmc. I tried "chmod +x" in case it was an executable problem, but that didn't solve the problem.
I am on OSX 10.7.4. I thought it might be a 32-bit vs 64-bit problem. The command "uname -a" tells me I am running 32-bit. When I booted holding down the "6" and "4" keys it still came up in 32-bit mode though according to uname. Are the binaries 64-bit binaries, and if so, is there a way to compile for 32-bit (if you think this is the problem?)
Any ideas or suggestions would be appreciated! Thanks for your time,
Sam
bash$ mono ikvmc.exe myjar.jar
Note IKVMC0004: using main class "edu.colorado.phet.javaversionchecker.JavaVersionChecker" based on jar manifest
Note IKVMC0002: output file is "myjar.exe"
Error: unable to find assembly 'System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'
(a dependency of 'IKVM.OpenJDK.Core, Version=0.46.0.1, Culture=neutral, PublicKeyToken=null')
Googling around suggested pointing to the System.Core.dll file directly with a "-r:" flag, but that had the same result. I also get this error when running from the prebuilt binaries someone posted on dropbox on the PlayN group. Any thoughts? I'm not sure what to try next.