VS 2010中的本机多目标和bscmake [英] Native multi-targeting and bscmake in VS 2010

查看:131
本文介绍了VS 2010中的本机多目标和bscmake的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在此博客条目之后: http: //blogs.msdn.com/b/vcblog/archive/2009/12/08/c-native-multi-targeting.aspx

我正在尝试建立一个解决方案,以便可以使用v100和v80工具集构建项目.使用v80(VS 2005)工具集进行构建时,bscmake实用程序出现问题,我得到以下错误:

I am trying to setup a solution where I can build my project with the v100 and v80 toolsets. I have a problem with the bscmake utility when building with the v80 (VS 2005) toolset I get the following error:

 

2> BscMake:

2>BscMake:

2> Microsoft浏览信息维护实用程序版本8.00.50727

2>  Microsoft Browse Information Maintenance Utility Version 8.00.50727

2>  版权所有(C)Microsoft Corporation.保留所有权利.

2>  Copyright (C) Microsoft Corporation. All rights reserved.

2>  

2>  

2> BSCMAKE:错误BK1506:无法打开文件"?? \":无效的参数

2>BSCMAKE : error BK1506: cannot open file '??\': Invalid argument

2>

2>构建失败.

2>Build FAILED.

但是,如果我进入msbuild日志并查找导致此错误的命令:

However, if i go into the msbuild log and lookup the command that causes this error:

C:\ dev \ cvblobslib_v8.3 \ v80 \ Debug/r"C:\ DEV \ CVBLOBSLIB_V8.3 \ V80 \ DEBUG \ BLOB.SBR | C:\ DEV \ CVBLOBSLIB_V8.3 \ V80 \ DEBUG \ BLOBCONTOUR .SBR | C:\ DEV \ CVBLOBSLIB_V8.3 \ V80 \ DEBUG \ BLOBOPERATORS.SBR | C:\ DEV \ CVBLOBSLIB_V8.3 \ V80 \ DEBUG \ BLOBRESULT.SBR | C:\ DEV \ CVBLOBSLIB_V8.3 \ V80 \ DEBUG \ COMPONENTLABELING.SBR"; /b MSBuildConsole_CancelEvent9f20ac8926d64964bc0f0b523d62bdeb /c"C:\ Program Files \ Microsoft Visual Studio 8 \ VC \ bin \ bscmake.exe"  /nologo/oC:\dev\cvblobslib_v8.3\\v80\Debug\/cvblobslib.bsc" v80 \ Debug \ blob.sbr v80 \ Debug \ BlobContour.sbr v80 \ Debug \ BlobOperators.sbr v80 \ Debug \ BlobResult.sbr v80 \ Debug \ ComponentLabeling.sbr

C:\dev\cvblobslib_v8.3\v80\Debug /r "C:\DEV\CVBLOBSLIB_V8.3\V80\DEBUG\BLOB.SBR|C:\DEV\CVBLOBSLIB_V8.3\V80\DEBUG\BLOBCONTOUR.SBR|C:\DEV\CVBLOBSLIB_V8.3\V80\DEBUG\BLOBOPERATORS.SBR|C:\DEV\CVBLOBSLIB_V8.3\V80\DEBUG\BLOBRESULT.SBR|C:\DEV\CVBLOBSLIB_V8.3\V80\DEBUG\COMPONENTLABELING.SBR" /b MSBuildConsole_CancelEvent9f20ac8926d64964bc0f0b523d62bdeb  /c "C:\Program Files\Microsoft Visual Studio 8\VC\bin\bscmake.exe"  /nologo /o"C:\dev\cvblobslib_v8.3\\v80\Debug\/cvblobslib.bsc" v80\Debug\blob.sbr v80\Debug\BlobContour.sbr v80\Debug\BlobOperators.sbr v80\Debug\BlobResult.sbr v80\Debug\ComponentLabeling.sbr

,并使用VS2005的vcvars安装程序从命令行执行该命令,一切正常.

and execute it from the command line with the vcvars setup for VS2005 everything goes well. 

关于如何解决此问题的任何想法?

Any ideas on how to fix this problem?

谢谢.

推荐答案

VS 2005 bscmake工具无法理解Unicode响应文件.请改用我的Daffodil平台工具集来解决此问题:

The VS 2005 bscmake tool doesn't understand Unicode response files. Use my Daffodil platform toolset instead to fix this problem:

http://daffodil.codeplex.com/


这篇关于VS 2010中的本机多目标和bscmake的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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