跨平台构建失败 [英] Cross Platform build fails

查看:67
本文介绍了跨平台构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建一个跨平台项目,工具集为clang 3.8,但构建失败并出现错误  Microsoft.Cpp.Clang.targets(210,5):
错误:元素的值为"Async"无效

I am trying to build a cross platform project,toolset being clang 3.8,but the build fails with error Microsoft.Cpp.Clang.targets(210,5): error : Element has an invalid value of "Async"


如果我实际找到了Microsoft.Cpp.Clang.targets和删除所有出现的行ExceptionHandling ="%(ClCompile.ExceptionHandling)"从该文件,构建成功,但这更像是一个黑客。

If i physically locate the Microsoft.Cpp.Clang.targets and remove all the occurrences of line ExceptionHandling="%(ClCompile.ExceptionHandling)" from that file,the build succeeds,but that is more of a hack.


我们现在将代码移到CI构建中,这是不可能的在Jenkins上,是否有任何visual studio 2015设置可以帮助我构建而不更改Microsoft.Cpp.Clang.targets物理文件?

We are now moving our code to CI builds and it is not possible to do this on Jenkins,is there any visual studio 2015 setting that can help me build without changing the Microsoft.Cpp.Clang.targets physical file?

任何帮助都表示赞赏。

推荐答案

你好,

我不知道工具集铿锵声。也许你可以在这里问:

I don't know toolset clang. Maybe you can ask here:

http://clang-developers.42468。 n3.nabble.com/

它使用clang的邮件列表

It uses the mailing list of clang

http://lists.llvm.org/mailman/listinfo/cfe-dev

http://lists.llvm.org/mailman/listinfo/cfe-commits

但也许你只能尝试在项目设置中禁用异常处理(C / C ++ - >代码生成 - >激活c ++异常)。

But maybe you can only try to disable exception handling in your project settings ( C/C++ -> code generation -> activate c++ exceptions ).

问候,Guido


这篇关于跨平台构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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