在cygwin中增强单线程库
boost single thread libraries in cygwin
我刚刚在cygwin上使用以下代码构建并安装了boost_1_47_0
./bootstrap.sh --with-libraries=chrono,date_time,exception,filesystem,graph,graph_parallel,iostreams,math,program_options,random,serialization,signals,system,test,thread,wave link=static link=shared threading=single threading=multi
然后我运行下面的语句,
./b2 --layout=tagged
和消息表明它:
failed updating 2 targets and skipped 7 targets....
但是我继续跑了
./b2 --layout=tagged install
然而,我在/usr/local/lib中查找,我只有那些后缀为-mt
的库我的程序正在寻找没有-mt后缀的库。但由于它不起作用,我按顺序运行:
bjam --clean debug release
./bootstrap.sh --with-libraries=all
./b2
./b2 --layout=tagged
./b2 --layout=tagged install
但是我仍然只看到/usr/local/lib
中的-mt库谁能建议如何解决这个问题(我的程序寻找libboost_date_time而不是libboost_date_time-mt)…谢谢!
您需要使用"——layout=system"
相关文章:
- 在C/C++中执行"_dl_init"(程序初始化)是单线程的吗
- 特定对象文件的单线程生成
- 如何在类中同时运行某些内容(在单线程平台中)?
- GDB 8.1 无法在单线程简单程序中跟踪 std::string 变量的值
- 双线程应用比单线程应用慢 C++ (VC++ 2010 Express).如何解决?
- OpenMP:共享同一算法的单线程和多线程实现
- std::原子布尔值或普通全局布尔值在单线程中很好吗?
- 重写多线程事件驱动的C 程序以使用单线程Boost :: Asio
- C++多线程操作比单线程慢
- 多线程和单线程代码维护
- 线程池的计时测试:单线程 vs 回调 tp vs 未来 tp
- 在 Linux 中从单独的单线程进程生成多线程进程时出现问题
- C++多线程性能比单线程代码慢
- 即使在单线程程序中,共享指针是否在引用计数中使用原子操作
- 从单线程到多线程图像处理
- 当发送多个同时请求时,单线程异步系统中Beast Boost异步HTTP客户端的行为
- 在单线程中使用 asio::async_write 时获得"the requested resource is in use"
- 在C++中,如何在并发读取和锁定的单线程写入uncodered_map之间进行交替
- wxWidgets-单线程多任务处理
- 在cygwin中增强单线程库