cygwin 中的 boost 单线程库
我刚刚在 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) ...谢谢!
I just built and installed boost_1_47_0 using the following on cygwin
./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
then I ran the below,
./b2 --layout=tagged
and the message indicated that it:
failed updating 2 targets and skipped 7 targets....
but I continued and ran
./b2 --layout=tagged install
however, I look in /usr/local/lib and I only have those libraries with suffix -mt
My programs are looking for the libraries without the -mt suffix.
but since it didn't work, I ran in sequence:
bjam --clean debug release
./bootstrap.sh --with-libraries=all
./b2
./b2 --layout=tagged
./b2 --layout=tagged install
but I still see only the -mt libraries in /usr/local/lib
can anyone please suggest how this can be fixed (my programs look for libboost_date_time and not libboost_date_time-mt)...thx!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要使用“--layout=system”
You need to use "--layout=system"