Frustrated compiling a simple .m file which uses JNI
Frustrated compiling a simple .m file which uses JNI
- Subject: Frustrated compiling a simple .m file which uses JNI
- From: Kustaa Nyholm <email@hidden>
- Date: Sun, 07 Oct 2012 11:08:36 +0300
- Acceptlanguage: en-US, fi-FI
- Thread-topic: Frustrated compiling a simple .m file which uses JNI
Hi,
I need to debug and compile a simple objC file that uses JNI.
The code is here:
http://java.net/projects/appbundler/sources/svn/content/appbundler/native/m
ain.m
I've now been trying to compile this with Xcode for three hours trying
various
approaches from command line clang to creating a Coco application from
template, googling like mad, but always there is a snag.
Is there somewhere an example how to setup latest Xcode to compile
a simple single file objC code that uses JNI and some basic Cocoa stuff?
I must be doing something wrong, it should not be that hard...
I'm on Mac OS X 10.8.2 with Xcode 4.5.1 and JDK7 in
/Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home
Really, all I need to do is to compile the code and run it,
I don't even necessarily need have a debugger attached, I'm an
old hand so I can get by with just console output to debug
what's the matter with this code and why it fails to launch
JRE under Mountain Lion.
br Kusti
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden