使用SVN clang: error: linker command failed with exi

再把项目上传到SVN仓库上,然后再拉到本地编译时出现如下错误

[objc] view plain copy

 在CODE上查看代码片

  1. ld: library not found for -lxxxxxxxxxxxx  

  2. clang: error: linker command failed with exit code 1 (use -v to see invocation)  


原因:

SVN在上传资源服务器时默认配置会把一些第三方的.a库文件等给忽略了,然后就造成这样的错误。


解决办法:

配置global-ignores文件


因为我用的是Cornerstone图像工具,Preferences -->Subversion -->General ,去掉默认的勾选状态,删掉 *.a标签,然后Save即可,如下图


使用SVN clang: error: linker command failed with exi_第1张图片


使用SVN clang: error: linker command failed with exi_第2张图片


你可能感兴趣的:(使用SVN clang: error: linker command failed with exi)