c++ - Visual Studio如何将第三方库链接到静态库中?
PHP中文网
PHP中文网 2017-04-17 15:27:37
0
1
453

有一个第三方静态库A,一个静态库工程B,以及可执行程序C
按照常规方法,如果C只引用B则会报链接错误
如何将A一起链接到B里面,从而使得C只需要引用B就可以了?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
Peter_Zhu

Static libraries do not have a linking process, they are object packaging.
Configure static project B and add static library A in Properties->Library Manager->Additional Library Directory/Additional Dependencies to package the two libraries together.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template