简体   繁体   English

是否可以在Visual Studio 2008 64位版本中使用Boost库?

[英]Is it possible to use boost library in visual studio 2008 64 bit version?

I tried to use boost library in 64 bit mode of VS2008 but I'm getting "header file not found" errors. 我试图在VS2008的64位模式下使用Boost库,但出现“找不到头文件”错误。
is it any possible to use boost library under 64 bit mode of VS2008? 在VS2008的64位模式下是否可以使用boost库?
it worked fine in 32 bit mode. 它在32位模式下工作正常。 that's why I'm suspicuous bout 64 but ;( 这就是为什么我怀疑第64次,但是;(

Or anybody have good link to show setting up 64 bit mode to use boost? 还是有人有很好的链接来显示设置64位模式以使用Boost?
thanks 谢谢

Boost works fine with VS2008. Boost与VS2008配合良好。 Are you sure you have your include paths set up correctly? 您确定正确设置了包含路径吗?

I usually a reference to the boost libraries to the Options|Projects and Solutions|VC++ Directories settings. 我通常会在“选项” |“项目和解决方案” |“ VC ++目录”设置中引用Boost库。 Make sure you set the "Include Files" setting for both win32 and x64. 确保为win32和x64都设置了“包含文件”设置。

Most of the libraries are header only and it doesn't matter if you're building 32-bit or 64-bit. 大多数库仅是标头,并且无论您构建的是32位还是64位。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM