你如何建立在Windows x64的Boost库? [英] How do you build the x64 Boost libraries on Windows?
本文介绍了你如何建立在Windows x64的Boost库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经建立了86 Boost库很多次,但我似乎无法建立64位的库。我开始了Visual Studio 2005中的x64跨工具命令提示符,然后运行我平时的构建:
I've built the x86 Boost libraries many times, but I can't seem to build x64 libraries. I start the "Visual Studio 2005 x64 Cross Tools Command Prompt" and run my usual build:
bjam --toolset=msvc --build-type=complete --build-dir=c:\build install
但它仍然会产生86 .lib文件(我验证这个与DUMPBIN /头)。 我究竟做错了什么?
But it still produces x86 .lib files (I verified this with dumpbin /headers). What am I doing wrong?
推荐答案
您需要添加地址模型= 64
参数。
看着如href="http://devsql.blogspot.com/2007/05/building-boost-134-for-x86-x64-and-ia64.html">这里
Look e.g. here.
这篇关于你如何建立在Windows x64的Boost库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文