• 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: How to use dynamic library in the Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use dynamic library in the Xcode


  • Subject: Re: How to use dynamic library in the Xcode
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 26 Jun 2008 21:19:49 -0700


On Jun 26, 2008, at 7:22 PM, Wang Yongqing wrote:
Ld /Users/apple/Desktop/test/SPETest/tdstest/build/Release/tdstest normal i386
    cd /Users/apple/Desktop/test/SPETest/tdstest
    /Developer/usr/bin/gcc-4.0 -o /Users/apple/Desktop/test/SPETest/tdstest/build/Release/tdstest -L/Users/apple/Desktop/test/SPETest/tdstest/build/Release -L/Developer/SDKs/MacOSX10.5.sdk/usr/local/lib -L/usr/local/pcsc/lib -F/Users/apple/Desktop/test/SPETest/tdstest/build/Release -filelist /Users/apple/Desktop/test/SPETest/tdstest/build/tdstest.build/Release/tdstest.build/Objects-normal/i386/tdstest.LinkFileList -lpcsclite.1.0.0 -arch i386 -dynamiclib -mmacosx-version-min=10.5 /usr/local/lib -isysroot /Developer/SDKs/MacOSX10.5.sdk
ld: in /Developer/SDKs/MacOSX10.5.sdk/usr/local/lib, can't map file, errno=22
collect2: ld returned 1 exit status

It appears that you have the directory /usr/local/lib appearing where a file should be.  Did you enter it into Other Linker Flags, or add a folder reference to that directory into your Link Libraries and Frameworks build phase?

(To other posters: please note the excellent information Wang provided that helps us narrow down his problem immediately)

Chris

 _______________________________________________
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: 
 >How to use dynamic library in the Xcode (From: Wang Yongqing <email@hidden>)

  • Prev by Date: Re: Extending Xcode?
  • Next by Date: Re: Error for FSReadFork
  • Previous by thread: How to use dynamic library in the Xcode
  • Next by thread: Re: How to use dynamic library in the Xcode
  • Index(es):
    • Date
    • Thread