Fork me on GitHub

  2014年9月1日
摘要: -L 编译时查找动态链接库的路径-lxxx(小写) e.g -lcudart = link libcudart.so ,-I(大写) 头文件的路径-rpath (-R), 编译时指定链接动态库的路径可以用ldd 看看是不有 ‘not found’在你链接的库后面,解决方法是通过-Wl,rpath=... 阅读全文
posted @ 2014-09-01 17:27 huashiyiqike 阅读(470) 评论(0) 推荐(0) 编辑