| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Unsurprisingly, all the standard Cocoa headers (NSWhatever.h) use Objective-C syntax. However, if the compiler thinks it's compiling a vanilla C file, all the Objective-Cisms will cause exactly the problems you're seeing.
Try naming the file "MacRipperjnilib.m" (as opposed to ".c"), to tell the compiler that you're including Objective-C code.
| References: | |
| >adding an Existing Framework to a JNI library (From: Ken Hawkins <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.