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

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

  • Follow-Ups:
    • RE: XCode 1.5 : settings for building a jnilib
      • From: "Swar Systems" <email@hidden>
References: 
 >Re: Disabling "You are about to undo past the last point this file was saved" sheet? (From: "Mike Pinkerton" <email@hidden>)

  • Prev by Date: Re: problem during link of bundles
  • Next by Date: Build Dependencies... or Why are you Rebuilding.
  • Previous by thread: Re: Disabling "You are about to undo past the last point this file was saved" sheet?
  • Next by thread: RE: XCode 1.5 : settings for building a jnilib
  • Index(es):
    • Date
    • Thread