• 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
problems linking with dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems linking with dylib


  • Subject: problems linking with dylib
  • From: Kaveh Kardan <email@hidden>
  • Date: Thu, 30 Jun 2005 22:12:14 -1000

I have a library:

/usr/local/lib/gauche/0.8.4/powerpc-apple-darwin7.8.0/libgauche.dylib

which I drag into the External Frameworks and Libraries of XCode, but when building, I get the following error:

Libtool /Users/kaveh/Development/bronze/build/libbronze.a
cd /Users/kaveh/Development/bronze
/usr/bin/libtool -static -o /Users/kaveh/Development/bronze/build/libbronze.a -L/Users/kaveh/Development/bronze/build -L/usr/lib/gcc/darwin/3.3 -L/usr/local/lib/gauche/0.8.4/powerpc-apple-darwin7.8.0 /usr/lib/libstdc++.a -framework OpenGL -framework QuickTime -framework GLUT -framework CoreServices -framework OpenAL -framework Foundation gauche -framework Carbon -filelist /Users/kaveh/Development/bronze/build/bronze.build/bronzelib.build/ Objects-normal/bronze.LinkFileList
/usr/bin/libtool: can't open file: gauche (No such file or directory)


Two questions:

1) Is there some other way of linking with a dylib?

2) I also tried to manually create a Framework for the dylib, but XCode ignores it when linking. Is there a command-line way of generating a Framework from a dylib? Apple's developer site contains no documentation to this effect, only explaining how to build a Framework using XCode.

Kaveh Kardan                 Chief Technologist
email@hidden             Academy for Creative Media
(808)956-5302                University of Hawaii

_______________________________________________
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: problems linking with dylib
      • From: Chris Espinosa <email@hidden>
    • Re: problems linking with dylib
      • From: james tittle <email@hidden>
  • Next by Date: Re: Don't understand this compiler warning [solved]
  • Next by thread: Re: problems linking with dylib
  • Index(es):
    • Date
    • Thread