我使用 smartfox 在 windows phone 8 上开发游戏,但我无法编译项目,因为 smartfox 的 boost 库不支持 windows phone 8。我找到了这篇文章并关注了:http: //blogs.msdn.com/b /vcblog/archive/2014/07/18/using-boost-libraries-in-windows-store-and-phone-applications.aspx?PageIndex=2#comments但当我使用命令时仍然存在问题: b2 toolset=msvc-11.0变体=发布链接=静态架构=arm windows-api=电话
命令结果:
C:\Program Files (x86)\Microsoft Visual Studio 11.0>cd C:\boost
C:\boost>b2 toolset=msvc-11.0 variant=debug link=static architecture=arm windows
-api=phone
C:/boost/tools/build/src/build\project.jam:262: in find-jamfile from module proj
ect
error: Unable to load Jamfile.
error: Could not find a Jamfile in directory 'libs/config/checks/architecture'.
error: Attempted to find it with pattern '[Bb]uild.jam [Jj]amfile.v2 [Jj]amfile
[Jj]amfile.jam'.
error: Please consult the documentation at 'http://www.boost.org'.
C:/boost/tools/build/src/build\project.jam:280: in load-jamfile from module proj
ect
C:/boost/tools/build/src/build\project.jam:64: in load from module project
C:/boost/tools/build/src/build\project.jam:89: in load-used-projects from module
project
C:/boost/tools/build/src/build\project.jam:75: in load from module project
C:/boost/tools/build/src/build\project.jam:145: in project.find from module proj
ect
C:/boost/tools/build/src\build-system.jam:535: in load from module build-system
C:\boost\tools\build\src/kernel\modules.jam:295: in import from module modules
C:\boost\tools\build\src/kernel/bootstrap.jam:139: in boost-build from module
C:\boost\boost-build.jam:17: in module scope from module
C:\boost>
所以任何人都可以帮助我为窗口电话建立增强库,谢谢!