Library search paths

Discussion in 'iOS Programming' started by prello23, Apr 7, 2014.

  1. prello23 macrumors newbie

    Joined:
    Dec 20, 2011
    #1
    i am doing something wrong can you help me with the library search paths
    now it is like that :
    $(SRCROOT) Volumes/750 gb/Elvar/Documents/xcode/Webcam Iceland

    But it does show error:
    ld: warning: directory not found for option '-LVolumes/750'
    ld: warning: directory not found for option '-Lgb/Elvar/Documents/xcode/Webcam'
    ld: warning: directory not found for option '-LIceland'
    ld: library not found for -lGoogleAdMobAds
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    Looks like it doesn't like spaces in that path. Having a space in the name of a volume is just asking for trouble. This certainly looks like a bug, and you could file one with Apple, but removing all the spaces in the path might get you what you want. Replace with '_' if you like.
     
  3. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #3
    In addition, Unix paths start with a "/". As posted, your paths are relative; they should be absolute.
    http://en.wikipedia.org/wiki/Path_(computing)

    Quoting should fix the embedded space. Otherwise convert the spaces in the pathname ('750 gb') to a hyphen ('750-gb'), by changing the name of the drive and the lib, and then set the path accordingly.
     

Share This Page