Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

prello23

macrumors newbie
Original poster
Dec 20, 2011
10
0
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)
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
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.
 

chown33

Moderator
Staff member
Aug 9, 2009
10,740
8,416
A sea of green
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.