• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JNI trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JNI trouble


  • Subject: Re: JNI trouble
  • From: Andrew Farmer <email@hidden>
  • Date: Mon, 9 Jun 2008 23:28:18 -0700

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 (email@hidden)

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:
This email sent to email@hidden


References: 
 >JNI trouble (From: brien colwell <email@hidden>)

  • Prev by Date: Re: Detect editing a outline view cell
  • Next by Date: Re: Updating a progress bar from a code loop
  • Previous by thread: JNI trouble
  • Next by thread: Updating a progress bar from a code loop
  • Index(es):
    • Date
    • Thread