Closed GoogleCodeExporter closed 9 years ago
The arch issue should be solved in the trunk. If you don't mind can you test
it and make sure it compiles for you. I suspect the exception maybe caused by
the cross-compiler.
Original comment by alex%1st...@gtempaccount.com
on 22 Mar 2012 at 10:02
I checked out the trunk. The build now raises the following error:
[echo] Applying gcc on the following files: common/NativeErrors.c;common/NativeGlobals.c;common/org_jnativehook_GlobalScreen.c;osx/JConvertFromNative.c;osx/NativeHelpers.c;osx/NativeThread.c;osx/OSXButtonCodes.c
[apply] llvm-gcc-4.2: Invalid arch name : k8
BUILD FAILED
/Users/graeme/Documents/workspace/zz_ky/build.xml:695: apply returned: 1
Original comment by acey...@gmail.com
on 22 Mar 2012 at 10:13
Ok updated again. I tested building on ppc and i386 on OS X (10.5 & 10.6) and
they appear to compile and run correctly. I am using the regular gcc toolchain
(i686-apple-darwin10-gcc-4.2.1) not llvm-gcc and I am not sure if llvm will
work. Give it another try if you have time and let me know what happens.
As far as the java.lang.UnsatisfiedLinkError, I am having similar problems on
ppc with the cross-compiled binaries. If you can get it to compile from trunk
and the error continues try adding the ant flag -Dproject.debug=true and run
the jar from the console. If the locally built copy works for you just let me
know.
Thanks
Original comment by alex%1st...@gtempaccount.com
on 23 Mar 2012 at 12:02
There is a problem with the unpacker on OS X. I should have a fix out tonight
or tomorrow.
Original comment by heispsyc...@gmail.com
on 23 Mar 2012 at 1:21
I checked out revision 500. Everything now compiles and the demo runs without
error. I've successfully used both llvm-gcc and darwin10-gcc-4.2.1 to compile.
Thanks for fixing the bug so quickly!
Original comment by acey...@gmail.com
on 23 Mar 2012 at 8:25
Original comment by alex%1st...@gtempaccount.com
on 1 Apr 2012 at 4:54
Original issue reported on code.google.com by
acey...@gmail.com
on 22 Mar 2012 at 11:10Attachments: