• 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: XCode 1.5 : settings for building a jnilib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XCode 1.5 : settings for building a jnilib


  • Subject: RE: XCode 1.5 : settings for building a jnilib
  • From: "Swar Systems" <email@hidden>
  • Date: Sat, 25 Jun 2005 13:43:29 +0200
  • Importance: Normal

Forget it. I could solve the problem by creating a new JNI project and
replacing the default files by my own.

Cheers!

Mariano

-----Message d'origine-----
De : xcode-users-bounces+info=email@hidden
[mailto:xcode-users-bounces+info=email@hidden]De la
part de Swar Systems
Envoye : vendredi, 24. juin 2005 16:22
A : email@hidden
Objet : XCode 1.5 : settings for building a jnilib



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

 _______________________________________________
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

References: 
 >XCode 1.5 : settings for building a jnilib (From: "Swar Systems" <email@hidden>)

  • Prev by Date: Re: Disabling "You are about to undo past the last point this file was saved" sheet?
  • Next by Date: Re: DrawMenuBar
  • Previous by thread: XCode 1.5 : settings for building a jnilib
  • Next by thread: Re: Disabling "You are about to undo past the last point this file was saved" sheet?
  • Index(es):
    • Date
    • Thread