建立与VS2012 RC提振 [英] Build boost with VS2012 RC

查看:256
本文介绍了建立与VS2012 RC提振的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载的Visual Studio 2012 RC的Windows 8 64位。我试着编译Boost库(版本1.51),但是当我做,在Visual Studio提示命令里面,我有一个错误。我张贴BOOTSTRAP.LOG在帖子的末尾。我想知道什么是在Windows 8候选发布版的基础上提升VS2012RC正确步骤。

在此先感谢您的答复。

  ###
###使用VC11工具集。
###C:\\用户\\ XXX \\下载\\ boost_1_51_0 \\ boost_1_51_0 \\工具\\编译\\ V2 \\发动机GT;如果
存在引导RD / S / Q引导C:\\用户\\ XXX \\下载\\ boost_1_51_0 \\ boost_1_51_0 \\工具\\编译\\ V2 \\发动机GT; MD
引导C:\\用户\\ XXX \\下载\\ boost_1_51_0 \\ boost_1_51_0 \\工具\\编译\\ V2 \\发动机GT; CL
/ NOLOGO / RTC1 /紫/ MTD / Fobootstrap / / Fdbootstrap / -DNT -DYYDEBUG
-wd4996 KERNEL32.LIB advapi32.lib USER32.LIB / Febootstrap \\ jam0
COMMAND.C compile.c constants.c debug.c execnt.c filent.c function.c
glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c
make.c make1.c object.c option.c output.c parse.c pathunix.c regexp.c
rules.c scan.c SEARCH.C subst.c timestamp.c variable.c modules.c
strings.c filesys.c builtins.c md5.c pwd.c class.c w32_getreg.c
native.c模块/ set.c模块/ path.c模块/ regex.c
模块/财产set.c模块/ sequence.c模块/ order.c
COMMAND.C
compile.c
constants.c
debug.c
execnt.c
filent.c
function.c
glob.c
hash.c
hdrmacro.c
headers.c
jam.c
jambase.c
jamgram.c
lists.c
make.c
make1.c
object.c
option.c
output.c
Generazione德尔codice在科索...
Compilazione在科索...
parse.c
pathunix.c
regexp.c
rules.c
scan.c
SEARCH.C
subst.c
timestamp.c
variable.c
modules.c
strings.c
filesys.c
builtins.c
md5.c
pwd.c
class.c
w32_getreg.c
native.c
set.c
path.c
Generazione德尔codice在科索...
Compilazione在科索...
regex.c
财产set.c
sequence.c
order.c
Generazione德尔codice在科索...C:\\用户\\ XXX \\下载\\ boost_1_51_0 \\ boost_1_51_0 \\工具\\编译\\ V2 \\发动机的GT; \\引导\\ jam0。
-f build.jam中--toolset = VC11--toolset根= C:\\ Program Files文件
(x86)的\\微软的Visual Studio 11.0 \\ Common7 \\工具\\ .. \\ .. \\ VC \\干净
......找到1目标...
...更新1目标...
...更新1目标...C:\\用户\\ XXX \\下载\\ boost_1_51_0 \\ boost_1_51_0 \\工具\\编译\\ V2 \\发动机的GT; \\引导\\ jam0。
-f build.jam中--toolset = VC11--toolset根= C:\\ Program Files文件
(x86)的\\微软的Visual Studio 11.0 \\ Common7 \\工具\\ .. \\ .. \\ VC \\
不知道如何使COMMAND.C
不知道如何使compile.c
不知道如何使constants.c
不知道如何使debug.c
不知道如何使function.c
不知道如何使glob.c
不知道如何使hash.c
不知道如何使hcache.c
不知道如何使headers.c
不知道如何使hdrmacro.c
不知道如何使jam.c
不知道如何使jambase.c
不知道如何使jamgram.c
不知道如何使lists.c
不知道如何使make.c
不知道如何使make1.c
不知道如何使mem.c
不知道如何使object.c
不知道如何使option.c
不知道如何使output.c
不知道如何使parse.c
不知道如何使regexp.c
不知道如何使rules.c
不知道如何使scan.c
不知道如何使SEARCH.C
不知道如何使subst.c
不知道如何使w32_getreg.c
不知道如何使timestamp.c
不知道如何使variable.c
不知道如何使modules.c
不知道如何使strings.c
不知道如何使filesys.c
不知道如何使builtins.c
不知道如何使pwd.c
不知道如何使class.c
不知道如何使native.c
不知道如何使md5.c
不知道如何使模块/ set.c
不知道如何使模块/ path.c
不知道如何使模块/ regex.c
不知道如何使模块/财产set.c
不知道如何使模块/ sequence.c
不知道如何使模块/ order.c
不知道如何使execnt.c
不知道如何使filent.c
不知道如何使pathunix.c
......找到了50个目标...
...更新1目标...
...无法找到目标46 ...
......无法让2个目标...
[MKDIR] bin.ntx86_64
...跳过b2.exe缺乏COMMAND.C的...
...跳过bjam.exe缺乏b2.exe的...
...跳过2个目标...
...更新1目标...


解决方案

解决方法:


  1. 目录更改为boost_1_51_0-64 \\ TOOLS \\建立\\ V2

  2. 执行bootstrap.bat(而不是从本地x64的驾驶室管理提示 - 只需双击它)

  3. b2.exe复制回boost_1_51_0-64 DIR

  4. 目录更改为boost_1_51_0-64

  5. 执行B2

我编写了一个名为BlueGo工具,它会自动下载提振1.51.0和VS2012 64构建它:
http://vertexwahn.de/

I've just downloaded Visual Studio 2012 RC for Windows 8 64 bit. I've tried to compile boost libraries (version 1.51), but when I make, inside the Visual Studio prompt command, I've an error. I post the bootstrap.log at the end of the post. I'd like to know what's the correct procedure to build boost on VS2012RC on Windows 8 Release Candidate.

Thanks in advance for your replies.

###
### Using 'vc11' toolset.
###

C:\Users\XXX\Downloads\boost_1_51_0\boost_1_51_0\tools\build\v2\engine>if
exist bootstrap rd /S /Q bootstrap

C:\Users\XXX\Downloads\boost_1_51_0\boost_1_51_0\tools\build\v2\engine>md
bootstrap

C:\Users\XXX\Downloads\boost_1_51_0\boost_1_51_0\tools\build\v2\engine>cl
/nologo /RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG
-wd4996 kernel32.lib advapi32.lib user32.lib /Febootstrap\jam0
command.c compile.c constants.c debug.c execnt.c filent.c function.c
glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c
make.c make1.c object.c option.c output.c parse.c pathunix.c regexp.c
rules.c scan.c search.c subst.c timestamp.c variable.c modules.c
strings.c filesys.c builtins.c md5.c pwd.c class.c w32_getreg.c
native.c modules/set.c modules/path.c modules/regex.c
modules/property-set.c modules/sequence.c modules/order.c
command.c
compile.c
constants.c
debug.c
execnt.c
filent.c
function.c
glob.c
hash.c
hdrmacro.c
headers.c
jam.c
jambase.c
jamgram.c
lists.c
make.c
make1.c
object.c
option.c
output.c
Generazione del codice in corso...
Compilazione in corso...
parse.c
pathunix.c
regexp.c
rules.c
scan.c
search.c
subst.c
timestamp.c
variable.c
modules.c
strings.c
filesys.c
builtins.c
md5.c
pwd.c
class.c
w32_getreg.c
native.c
set.c
path.c
Generazione del codice in corso...
Compilazione in corso...
regex.c
property-set.c
sequence.c
order.c
Generazione del codice in corso...

C:\Users\XXX\Downloads\boost_1_51_0\boost_1_51_0\tools\build\v2\engine>.\bootstrap    \jam0
-f build.jam --toolset=vc11 "--toolset-root=C:\Program Files
(x86)\Microsoft Visual Studio 11.0\Common7\Tools\..\..\VC\ " clean
...found 1 target...
...updating 1 target...
...updated 1 target...

C:\Users\XXX\Downloads\boost_1_51_0\boost_1_51_0\tools\build\v2\engine>.\bootstrap\jam0
-f build.jam --toolset=vc11 "--toolset-root=C:\Program Files
(x86)\Microsoft Visual Studio 11.0\Common7\Tools\..\..\VC\ "
don't know how to make command.c
don't know how to make compile.c
don't know how to make constants.c
don't know how to make debug.c
don't know how to make function.c
don't know how to make glob.c
don't know how to make hash.c
don't know how to make hcache.c
don't know how to make headers.c
don't know how to make hdrmacro.c
don't know how to make jam.c
don't know how to make jambase.c
don't know how to make jamgram.c
don't know how to make lists.c
don't know how to make make.c
don't know how to make make1.c
don't know how to make mem.c
don't know how to make object.c
don't know how to make option.c
don't know how to make output.c
don't know how to make parse.c
don't know how to make regexp.c
don't know how to make rules.c
don't know how to make scan.c
don't know how to make search.c
don't know how to make subst.c
don't know how to make w32_getreg.c
don't know how to make timestamp.c
don't know how to make variable.c
don't know how to make modules.c
don't know how to make strings.c
don't know how to make filesys.c
don't know how to make builtins.c
don't know how to make pwd.c
don't know how to make class.c
don't know how to make native.c
don't know how to make md5.c
don't know how to make modules/set.c
don't know how to make modules/path.c
don't know how to make modules/regex.c
don't know how to make modules/property-set.c
don't know how to make modules/sequence.c
don't know how to make modules/order.c
don't know how to make execnt.c
don't know how to make filent.c
don't know how to make pathunix.c
...found 50 targets...
...updating 1 target...
...can't find 46 targets...
...can't make 2 targets...
[MKDIR] bin.ntx86_64
...skipped b2.exe for lack of command.c...
...skipped bjam.exe for lack of b2.exe...
...skipped 2 targets...
...updated 1 target...

解决方案

workaround:

  1. change directory to boost_1_51_0-x64\tools\build\v2
  2. execute bootstrap.bat (not from the the native x64 comand prompt - just double click it)
  3. copy b2.exe back to boost_1_51_0-x64 dir
  4. change directory to boost_1_51_0-x64
  5. execute b2

I programmed a tool called BlueGo which automatically downloads boost 1.51.0 and builds it with VS2012 x64: http://vertexwahn.de/

这篇关于建立与VS2012 RC提振的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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