XCode 1.5 : settings for building a jnilib
XCode 1.5 : settings for building a jnilib
- Subject: XCode 1.5 : settings for building a jnilib
- From: "Swar Systems" <email@hidden>
- Date: Fri, 24 Jun 2005 16:22:07 +0200
- Importance: Normal
Hi,
Thanks to the previous assistance of some members of this group (may they be
blessed;-), I have been able to port and successfully debug a C++ library.
Now the next step is to turn it into a jnilib and use it from within a Java
jar file.
I have first tried to used a static lib for that, just naming it as
libxxx.jnilib, but I get an error message when launching the jar file as
follows:
dyld : ... malformed library ... (not a Mach-O library file, bad filetype
value)
I have tried linking the lib with the "bundle" setting, but I get the same
error.
The jar file seems to be trying to load the lib, because if I name it in a
different way, I get another kind of error.
Could you please let me know what exact settings need to be used in XCode
1.5 to create a proper jnilib? Or any hint as to why I am getting this
problem?
File Type and Creator values are "", but this seems to be the case with
other .jnilib files on my system, so I don't think that's the issue.
Thanks again for your help.
Mariano
_______________________________________________
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