• 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
Linker warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linker warning


  • Subject: Linker warning
  • From: Christopher Trainor <email@hidden>
  • Date: Thu, 23 Jun 2011 17:48:04 +0000
  • Thread-topic: Linker warning

I want my target files to be in a non-standard location.  I want my executable to be in a subfolder of the folder where the project file lives.  I made the following change to my build settings:

TARGET_BUILD_DIR = $(PROJECT_DIR)/$CONFIGURATION


I also changed LIBRARY_SEARCH_PATHS to specify the locations of my needed libraries.


This almost works correctly.  The executables get put into projectdir/Debug and projectdir/Release.

The problem I have now is that I am getting a linker warning:

ld: warning: directory not found for option '-L/ (path to project dir)/build/Debug'


This makes sense, since that directory is no longer getting created now that the target file is going to a different location.  Is there some other setting I have to change to get it to stop looking in this directory for library files?


Thanks,

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

  • Follow-Ups:
    • Re: Linker warning
      • From: Christiaan Hofman <email@hidden>
  • Prev by Date: path problem with Xcode 2.4 project...
  • Next by Date: Re: Linker warning
  • Previous by thread: Re: path problem with Xcode 2.4 project...
  • Next by thread: Re: Linker warning
  • Index(es):
    • Date
    • Thread