Re: How to determine import statements to use for a Cocoa class for a JNI method?
Re: How to determine import statements to use for a Cocoa class for a JNI method?
- Subject: Re: How to determine import statements to use for a Cocoa class for a JNI method?
- From: Rob Ross <email@hidden>
- Date: Mon, 11 Sep 2006 16:37:41 -0700
Well it turns out in my specific example I was spelling
NSAutoreleasePool incorrectly. arrg.
But my general question still holds. If I want to use the NSFoo
class, how do I determine what framework it belongs to so I know what
#include to use, and what -F flag to use?
Thanks,
Rob
On Sep 11, 2006, at 4:32 PM, Shawn Erickson wrote:
On 9/11/06, Rob Ross <email@hidden> wrote:
Then I try to compile from the command line:
gcc -c -I/System/Library/Frameworks/JavaVM.framework/Headers -I/
System/Library/Frameworks/Cocoa.framework/Headers
NSStringProcessing.m
Try...
gcc -c -FJavaVM -FCocoa NSStringProcessing.m
(off the top of my head)
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden