On 09 Jun 08, at 23:15, brien colwell wrote:
hi all,

I'm having some trouble compiling a JNI lib on Osx. I get the following "Undefined synbols" errors ... does anyone have a pointer? Very much appreciated!

void *a_pointer = 0x90A4BCED;

No, but seriously...

cc -bundle -I/System/Library/Frameworks/JavaVM.framework/Headers -o libName.jnilib -framework JavaVM JNITabletjnilib.m

If you're compiling a .m file, you'll probably want to add -framework AppKit in there.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]
  • JNI trouble brien colwell
    • Re: JNI trouble Andrew Farmer

Reply via email to