<tfoot id='6CoNx'></tfoot>

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

    <small id='6CoNx'></small><noframes id='6CoNx'>

      <bdo id='6CoNx'></bdo><ul id='6CoNx'></ul>

    1. <legend id='6CoNx'><style id='6CoNx'><dir id='6CoNx'><q id='6CoNx'></q></dir></style></legend>

        boost自动链接如何做出选择?

        时间:2023-07-20

        <tfoot id='dsbnB'></tfoot>

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

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

                  <legend id='dsbnB'><style id='dsbnB'><dir id='dsbnB'><q id='dsbnB'></q></dir></style></legend>
                    <tbody id='dsbnB'></tbody>
                1. 本文介绍了boost自动链接如何做出选择?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  当我使用 Visual Studio 2012 时,通过自动链接,我不需要手动添加 boost/POCO/python 库,它们会自动添加.如果我错过任何图书馆,我会收到这样的消息:

                  When I use Visual Studio 2012, with auto-linking, I don't need to add boost / POCO/ python libraries manually, they would be added automatically. And if I miss any library, I get message like that:

                  链接:致命错误 LNK1104:无法打开文件libboost_system-vc110-mt-1_55.lib"

                  LINK : fatal error LNK1104: cannot open file 'libboost_system-vc110-mt-1_55.lib'

                  但是它怎么知道我要链接哪个文件呢?也许我想动态链接,使用 boost_system-vs110-mt-1_55.lib,或者我想要一个带有 gdsgd 的名字?

                  But how it knows which file I want to link? Maybe I want to link dynamically, using boost_system-vs110-mt-1_55.lib, or I want one with gd or sgd in name?

                  它是如何做出选择的?

                  问题是,我的程序在搜索系统、线程等时正在寻找 libboost_ ...(即静态)库,但它想要 python 的 boost_(即动态),我只是不明白为什么?

                  Problem is, that my program is looking for libboost_ ... (i.e. static) libraries, when search for system, threads and etc, but it wants boost_ (i.e. dynamic) for python, and I just don't understand why?

                  推荐答案

                  Visual Studio 允许在源代码中使用 #pragma 指令来设置链接器选项.对于自动链接",Boost 将这些 #pragma's 与现有的宏结合使用.

                  Visual Studio allows #pragma directives in the source code to set linker options. For "auto-linking", Boost uses these #pragma's in combination with existing macro's.

                  特别是,听起来您正在寻找 BOOST_ALL_DYN_LINK 宏.

                  In particular, it sounds like you are looking for the BOOST_ALL_DYN_LINK macro.

                  这篇关于boost自动链接如何做出选择?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:boost::asio UDP 广播 下一篇:Boost Spirit x3:解析为结构体

                  相关文章

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

                  1. <legend id='ktmg4'><style id='ktmg4'><dir id='ktmg4'><q id='ktmg4'></q></dir></style></legend>

                    • <bdo id='ktmg4'></bdo><ul id='ktmg4'></ul>

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

                    <tfoot id='ktmg4'></tfoot>