2014-04-09 21 views
1

我完成了我的遊戲,但是當我運行時,我得到這些錯誤:如何修復xcode中的這些錯誤?

我需要將「JohnsPC」更改爲我的名字!

ld: warning: directory not found for option '-L/Users/JohnsPC/Desktop/Logo Mania?/Code/Yeah/PuzzleGame' 

ld: library not found for -lChartboost 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

而第二個錯誤我不知道

如何解決這些?

+0

你有沒有通過項目生成設置看? – Wain

回答

1

檢查目標 - 構建設置 - >在Mac庫搜索路徑,並設置適當的路徑庫

還使用宏$(SOURCE_ROOT)來避免這種問題

0

試試這個:

  • 轉到目標 - >構建階段 - >鏈接庫二進制文件
  • 點擊+符號& pres ■添加其他
  • 選擇庫