xcode settings

1.setting relative path
Click on Product -> Scheme -> Edit Scheme.
Then follow instructions: Click "Run", Click on "Options", and check the box "Use custom working directory."

2. linking
Other linker Flags :
mysql client lib  -> -lmysqlclient  
redis client lib -> -lhiredis  

猜你喜欢

转载自catdoc.iteye.com/blog/2059653