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

再把项目上传到SVN仓库上,而后再拉到本地编译时出现以下错误服务器

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


缘由:
ide

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


解决办法:spa

配置global-ignores文件code


由于我用的是Cornerstone图像工具,Preferences -->Subversion -->General ,去掉默认的勾选状态,删掉 *.a标签,而后Save便可,以下图。orm

wKiom1OGnh7iQ1bMAAMPivhrMjM346.jpg

wKioL1OGnfLz0rh2AALDkOMp1tU982.jpg

相关文章
相关标签/搜索