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

简介:

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

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


原因:

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


解决办法:

配置global-ignores文件


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

wKiom1OGnh7iQ1bMAAMPivhrMjM346.jpg

wKioL1OGnfLz0rh2AALDkOMp1tU982.jpg




     本文转自新风作浪 51CTO博客,原文链接:http://blog.51cto.com/duxinfeng/1418988,如需转载请自行联系原作者




相关文章
|
数据库管理
SVN 执行cleanup报错:Cleanup failed to process the following paths : 解决方法
引用:https://www.cnblogs.com/pinpin/p/11395438.html 在SVN更新时提示文件被锁住了,要求执行 clean up操作,执行clean up时又报clean up failed。造成的原因是在某次更新后,点击了cancel按钮,操作没有完成所以会锁住。解决方法如下:
1565 0
|
5月前
|
数据库
SVN ERROR(E120106、E155009、E000122)|4-11
SVN ERROR(E120106、E155009、E000122)|4-11
|
8月前
svn: E175002: Commit failed (details follow): svn: E175002: Unexpected HTTP status 502Bad Gateway on
svn: E175002: Commit failed (details follow): svn: E175002: Unexpected HTTP status 502Bad Gateway on
226 1
【异常】svn: E200009: Commit failed (details follow)/both sides of the move must be committed together的解决办法
svn: E200009: Commit failed (details follow)/both sides of the move must be committed together的解决办法
737 0
|
缓存
SVN检出项目时 Authorization failed(下)
注意!有效朋友可能不说第一次在电脑上安装svn所以还是可能登陆失败,需要做如下动作。
219 2
SVN检出项目时 Authorization failed(下)
|
数据安全/隐私保护
SVN检出项目时 Authorization failed(上)
由于前断时间和几个朋友组成了一个团队,今天早上我突然发现我们的服务器上的svn只要知道地址就能直接拉源码,我当时心里就突突了一下,因为我当时搭好服务的时候拉项目的时候都是要输入账号密码的,今天突然出现这种情况,头一下就懵了…话不多说…上解决方案
275 0
SVN检出项目时 Authorization failed(上)
svn: E155036: Please see the ‘svn upgrade‘
svn: E155036: Please see the ‘svn upgrade‘
259 0
|
数据库管理
svnkit 异常:Exception in thread "main" org.tmatesoft.svn.core.SVNException: svn: E200030: SQLite error
https://stackoverflow.com/questions/16063105/org-tmatesoft-sqljet-core-sqljetexception-busy-error-code-is-busy     Exception in thread "main" org.
2299 0