天天看點

使用SVN clang: error: linker command failed with exit code 1 (use -v to see invocation)

再把項目上傳到SVN倉庫上,然後再拉到本地編譯時出現如下錯誤

原因:

SVN在上傳資源伺服器時預設配置會把一些第三方的.a庫檔案等給忽略了,然後就造成這樣的錯誤。

解決辦法:

配置global-ignores檔案

因為我用的是Cornerstone圖像工具,Preferences -->Subversion -->General ,去掉預設的勾選狀态,删掉 *.a标簽,然後Save即可,如下圖。

使用SVN clang: error: linker command failed with exit code 1 (use -v to see invocation)
使用SVN clang: error: linker command failed with exit code 1 (use -v to see invocation)

繼續閱讀