如何正确添加外部动态链接库? #6198
Unanswered
Extra-Creativity
asked this question in
Q&A
如何正确添加外部动态链接库?
#6198
Replies: 1 comment 1 reply
-
.dll你直接链接是链接不了的,你得有有对应的导出库,a.lib |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
现在有一个外部a.dll,想要链接进当前项目的一个target,但是
add_links
会加上后缀.lib
。。还有似乎如果路径中间有空格,
add_links
不会加额外的引号,造成链接器看到的路径不正确;如果自己加引号,就会出现"xxx".lib
的奇葩情况,还是错的。。Beta Was this translation helpful? Give feedback.
All reactions