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

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

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

        错误:提升禁用线程

        error : BOOST DISABLE THREADS(错误:提升禁用线程)
      2. <i id='XKDhl'><tr id='XKDhl'><dt id='XKDhl'><q id='XKDhl'><span id='XKDhl'><b id='XKDhl'><form id='XKDhl'><ins id='XKDhl'></ins><ul id='XKDhl'></ul><sub id='XKDhl'></sub></form><legend id='XKDhl'></legend><bdo id='XKDhl'><pre id='XKDhl'><center id='XKDhl'></center></pre></bdo></b><th id='XKDhl'></th></span></q></dt></tr></i><div id='XKDhl'><tfoot id='XKDhl'></tfoot><dl id='XKDhl'><fieldset id='XKDhl'></fieldset></dl></div>

        • <legend id='XKDhl'><style id='XKDhl'><dir id='XKDhl'><q id='XKDhl'></q></dir></style></legend>
          1. <tfoot id='XKDhl'></tfoot>
              <tbody id='XKDhl'></tbody>

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

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

                  本文介绍了错误:提升禁用线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我的 boost 库有问题.我正在使用 freebsd 并使用端口安装了我的 boost.Boost 版本是:1.45,我使用 g++47 作为编译器.另外我从来没有在那里定义 BOOST DISABLE THREADS :/usr/local/include/boost/config/user.hpp .另外我的错误是:

                  i have some problem with my boost library. i m using freebsd and installed my boost using ports. Boost version is : 1.45 and i use g++47 as compiler. Also i have never defined BOOST DISABLE THREADS at there : /usr/local/include/boost/config/user.hpp .Also exactly my error is :

                   /usr/local/include/boost/config/requires_threads.hpp:29:4: error: #error "Threading    support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS" 
                  

                  明确但在哪里??还有我的编译命令;

                  explicitly but where ?? And my compile command;

                   g++47 -O3 -Wall -std=c++0x   -I. -Iinclude -I../include -I/usr/local/include   -c -o     Application.o src/Application.cpp
                  

                  谢谢

                  推荐答案

                  实验性 GCC 4.7 版禁用了 Boost.Threads.请参阅:https://svn.boost.org/trac/boost/ticket/6165

                  The experimental GCC version 4.7 disables Boost.Threads. See: https://svn.boost.org/trac/boost/ticket/6165

                  需要注意的是,从 GCC 4.7 的发布版本开始,Boost 高于 1.48(Boost_1_48_0 仍然不工作),线程再次工作.

                  It should be noted that as of the release version of GCC 4.7, and Boost higher than 1.48 (Boost_1_48_0 is still not working), threads works again.

                  这篇关于错误:提升禁用线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to limit the number of running instances in C++(C++中如何限制运行实例的数量)
                  Using boost::asio::async_read with stdin?(将 boost::asio::async_read 与 stdin 一起使用?)
                  How to find out what dependencies (i.e other Boost libraries) a particular Boost library requires?(如何找出特定 Boost 库需要哪些依赖项(即其他 Boost 库)?)
                  What#39;s the purpose of a leading quot;::quot; in a C++ method call(引导“::的目的是什么?在 C++ 方法调用中)
                  Boost Spirit x3: parse into structs(Boost Spirit x3:解析为结构体)
                  How boost auto-linking makes choice?(boost自动链接如何做出选择?)

                • <tfoot id='x1Z1z'></tfoot>
                • <small id='x1Z1z'></small><noframes id='x1Z1z'>

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