大佬教程收集整理的这篇文章主要介绍了使用 Cygwin 在 Windows 上构建 Boost,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我无法构建 boost 库。我采取了以下步骤:
boost_1_75_0.zip
并且
在 C:\Program files\Boost
拆开它。$ cd "C:\Program files\Boost\boost_1_75_0"
$ ./bootstrap.sh
Building B2 ENGIne..
###
###
### Using 'gcc' toolset.
###
###
> g++ --version
g++ (GCC) 10.2.0
copyright (C) 2020 Free Software Foundation,Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABIliTY or fitness FOR A PARTIculaR PURPOSE.
###
###
> g++ -x c++ -std=gnu++11 -O2 -s -DNDEBUG builTins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp deBUG.cpp deBUGger.cpp execcmd.cpp filesys.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam.cpp jamgram.cpp Lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathsys.cpp regexp.cpp rules.cpp scan.cpp search.cpp jam_Strings.cpp startup.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp execunix.cpp fileunix.cpp pathunix.cpp -o b2
> cp b2 bjam
tools/build/src/ENGIne/b2
DetecTing Python version... 3.8
DetecTing Python root... /usr
Unicode/ICU support for Boost.Regex?... not found.
GeneraTing B2 configuration in project-config.jam for gcc...
bootstrapPing is done. To build,run:
./b2
To generate header files,run:
./b2 headers
To adjust configuration,edit 'project-config.jam'.
Further information:
- Command line Help:
./b2 --Help
- GetTing started guIDe:
http://www.boost.org/more/getTing_started/unix-variants.HTML
- B2 documentation:
http://www.boost.org/build/
$ ./b2
terminate called after throwing an instance of 'std::logic_error'
what(): basic_String::_S_construct null not valID
Aborted (core dumped)
我做错了什么?
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)
以上是大佬教程为你收集整理的使用 Cygwin 在 Windows 上构建 Boost全部内容,希望文章能够帮你解决使用 Cygwin 在 Windows 上构建 Boost所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。