<small id='lSicT'></small><noframes id='lSicT'>

      <bdo id='lSicT'></bdo><ul id='lSicT'></ul>

    <tfoot id='lSicT'></tfoot>
  • <legend id='lSicT'><style id='lSicT'><dir id='lSicT'><q id='lSicT'></q></dir></style></legend>

        <i id='lSicT'><tr id='lSicT'><dt id='lSicT'><q id='lSicT'><span id='lSicT'><b id='lSicT'><form id='lSicT'><ins id='lSicT'></ins><ul id='lSicT'></ul><sub id='lSicT'></sub></form><legend id='lSicT'></legend><bdo id='lSicT'><pre id='lSicT'><center id='lSicT'></center></pre></bdo></b><th id='lSicT'></th></span></q></dt></tr></i><div id='lSicT'><tfoot id='lSicT'></tfoot><dl id='lSicT'><fieldset id='lSicT'></fieldset></dl></div>
      1. VC++中如何添加外部库进行编译?

        时间:2023-12-03

            <tbody id='HWVGE'></tbody>
            <tfoot id='HWVGE'></tfoot>
              <legend id='HWVGE'><style id='HWVGE'><dir id='HWVGE'><q id='HWVGE'></q></dir></style></legend>

                <i id='HWVGE'><tr id='HWVGE'><dt id='HWVGE'><q id='HWVGE'><span id='HWVGE'><b id='HWVGE'><form id='HWVGE'><ins id='HWVGE'></ins><ul id='HWVGE'></ul><sub id='HWVGE'></sub></form><legend id='HWVGE'></legend><bdo id='HWVGE'><pre id='HWVGE'><center id='HWVGE'></center></pre></bdo></b><th id='HWVGE'></th></span></q></dt></tr></i><div id='HWVGE'><tfoot id='HWVGE'></tfoot><dl id='HWVGE'><fieldset id='HWVGE'></fieldset></dl></div>
                  <bdo id='HWVGE'></bdo><ul id='HWVGE'></ul>

                  <small id='HWVGE'></small><noframes id='HWVGE'>

                • 本文介绍了VC++中如何添加外部库进行编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我使用过几个 Visual C++ 编译器(VC97、VC2005、VC2008),但我还没有真正找到将外部库添加到我的构建中的明确方法.我来自 Java 背景,Java 库就是一切!

                  I've worked with a couple of Visual C++ compilers (VC97, VC2005, VC2008) and I haven't really found a clearcut way of adding external libraries to my builds. I come from a Java background, and in Java libraries are everything!

                  我从在我的 Linux 机器上编译开源项目了解到,该库的所有源代码似乎都需要包含在内,但那些 .so 文件除外.

                  I understand from compiling open-source projects on my Linux box that all the source code for the library seems to need to be included, with the exception of those .so files.

                  我也听说过 .lib 静态库和 .dll 动态库,但我仍然不完全确定如何将它们添加到构建中并使它们工作.这是怎么回事?

                  Also I've heard of the .lib static libraries and .dll dynamic libraries, but I'm still not entirely sure how to add them to a build and make them work. How does one go about this?

                  推荐答案

                  在我看来,您可能会问如何将 lib 添加到 IDE 中的项目/解决方案的机制...

                  In I think you might be asking the mechanics of how to add a lib to a project/solution in the IDEs...

                  在 2003、2005 和 2008 年,它类似于:

                  In 2003, 2005 and 2008 it is something similar to:

                  来自解决方案资源管理器 - 右键单击项目选择属性(通常是最后一个)我通常选择顶部的所有配置...链接器输入

                  from the solution explorer - right click on the project select properties (typically last one) I usually select all configurations at the top... Linker Input

                  额外的依赖进入那里

                  我希望我可以为此做一个屏幕截图.

                  I wish I could do a screen capture for this.

                  在 VC6 中对我来说是不同的,因为这一切都来自记忆

                  In VC6 it is different bear with me as this is all from memory

                  项目设置或属性,然后转到链接器选项卡并找到可以添加库的位置.

                  project settings or properties and then go to the linker tab and find where the libs can be added.

                  请原谅这篇文章的随意性.我认为这就是你想要的.

                  Please excuse the haphazard nature of this post. I think that is what you want though.

                  这篇关于VC++中如何添加外部库进行编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何在 Visual Studio 2008 中创建自定义清理(清理后)事件? 下一篇:va_copy——移植到visual C++?

                  相关文章

                • <i id='Qqw4S'><tr id='Qqw4S'><dt id='Qqw4S'><q id='Qqw4S'><span id='Qqw4S'><b id='Qqw4S'><form id='Qqw4S'><ins id='Qqw4S'></ins><ul id='Qqw4S'></ul><sub id='Qqw4S'></sub></form><legend id='Qqw4S'></legend><bdo id='Qqw4S'><pre id='Qqw4S'><center id='Qqw4S'></center></pre></bdo></b><th id='Qqw4S'></th></span></q></dt></tr></i><div id='Qqw4S'><tfoot id='Qqw4S'></tfoot><dl id='Qqw4S'><fieldset id='Qqw4S'></fieldset></dl></div>
                • <small id='Qqw4S'></small><noframes id='Qqw4S'>

                    <bdo id='Qqw4S'></bdo><ul id='Qqw4S'></ul>
                    <legend id='Qqw4S'><style id='Qqw4S'><dir id='Qqw4S'><q id='Qqw4S'></q></dir></style></legend>
                  1. <tfoot id='Qqw4S'></tfoot>