加速建立窗口/ $ C $个cblocks说明,寻求帮助 [英] Boost build instructions for windows/codeblocks, help sought

查看:230
本文介绍了加速建立窗口/ $ C $个cblocks说明,寻求帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Windows 7 64位,被dl'ing Windows 7的.NET 4 SDK,当我想出如何不履行这些指令后建立bjam.exe文件

I got windows 7 x64, was dl'ing the windows 7 .net 4 sdk when I figured out how to build the bjam.exe file after failing to fulfill these instructions

<一个href=\"http://wiki.$c$cblocks.org/index.php?title=BoostWindowsQuickRef#Set_up_a_$c$c::Blocks_global_variable_for_Boost\" rel=\"nofollow\">http://wiki.$c$cblocks.org/index.php?title=BoostWindowsQuickRef#Set_up_a_$c$c::Blocks_global_variable_for_Boost

但是当我运行的bjam,我依然会出现故障。

but when I run bjam, I still get a failure.

这些都是我做的步骤

不得不添加
F:\\ $ C $个cblocks \\ ​​MinGW的\\ BIN
到路径
然后打开命令提示符以管理员身份(不是路径之前)
然后从boost_1_51_0 \\工具运行\\建立\\ V2 \\发动机\\的build.bat

had to add f:\codeblocks\mingw\bin to path THEN open command prompt as administrator (not before path) then run from boost_1_51_0\tools\build\v2\engine\build.bat

然后我可以做

bjam --toolset=gcc "--prefix=<installpath>" install

但是当我做我得到这个消息

but I get this message when I do

F:\libraries\boost_1_51_0>bjam --toolset=gcc "--prefix=f:\codeblocks" install --
build-type=complete
warning: mismatched versions of Boost.Build engine and core
warning: Boost.Build engine (bjam) is 03.1.18
warning: Boost.Build core (at F:/libraries/boost_1_51_0/tools/build/v2) is 2011.
12-svn
F:/libraries/boost_1_51_0/tools/build/v2/util\path.jam:476: in path.makedirs
rule MAKEDIR unknown in module path.
F:/libraries/boost_1_51_0/tools/build/v2/build\configure.jam:190: in configure.s
et-log-file
F:/libraries/boost_1_51_0/tools/build/v2\build-system.jam:725: in load
F:\libraries\boost_1_51_0\tools\build\v2/kernel\modules.jam:283: in import
F:\libraries\boost_1_51_0\tools\build\v2\kernel\bootstrap.jam:142: in boost-buil
d
F:\libraries\boost_1_51_0\boost-build.jam:17: in module scope

看起来几乎像linux的路径的越来越爬进混合

almost looks like linux path's are getting scrambled into the mix

推荐答案

我想它了。

我重新下载,这是在说明的bjam,它转储到F:\\库\\文件夹中的bjam我最初设置

I redownloaded the bjam that was in the instructions, dumped it to the f:\libraries\bjam folder I had initially setup.

设置path = F:\\图书馆\\的bjam yadad;%PATH $任何命令

set path=f:\libraries\bjam yadad;%PATH$ whatever command

cd到boost_1_51_0 DIR

cd to boost_1_51_0 dir

重新运行构建命令

真正得到的东西来构建
我只好把它添加到其他连接器选项
或者,你必须添加$(#boost.lib)\\ libboost_system-mgw44.lib到其他链接器选项。

to actually get something to build I had to add this to other linker options or , you have to add "$(#boost.lib)\libboost_system-mgw44.lib" into "Other linker options".


HTTP://forums.$c$cblocks.org/index.php ?主题= 11908.5; WAP2

这篇关于加速建立窗口/ $ C $个cblocks说明,寻求帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆