VS 2010中的本机多目标和bscmake

编程入门 行业动态 更新时间:2024-10-26 22:24:13
本文介绍了VS 2010中的本机多目标和bscmake的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在此博客条目之后: http: //blogs.msdn/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:

daffodil.codeplex/

更多推荐

VS 2010中的本机多目标和bscmake

本文发布于:2023-11-05 19:31:59,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1561659.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:本机   目标   bscmake

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!