Visual Studio 中出现 D8049 错误的原因是什么?

nat*_*yer 1 c++ compiler-errors openframeworks visual-studio visual-studio-2015

我正在使用 openframeworks 创建一个项目(完整源代码在这里: https: //github.com/morphogencc/ofxAsio/tree/master/example-udpreceiver),并且空项目似乎编译得很好。

我添加了 ASIO 库和一些标头类,现在该项目似乎出现以下错误:

1>------ Build started: Project: example-udpreceiver, Configuration: Debug x64 ------ 1> main.cpp 1>cl : Command line error D8049: cannot execute 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\c1xx.dll': command line is too long to fit in debug record 1>cl : Command line error D8040: error creating or communicating with child process

我在 stackoverflow 甚至 Microsoft 的页面上都找不到任何错误 D8049 的示例,而且 google 也没有找到任何结果。唯一有用的一个是这个 github 问题:

https://github.com/deplinenoise/tundra/issues/270

但我仍然不确定是什么原因导致了这个问题。有谁熟悉此错误,并且可以推荐一种方法来解决导致该错误的原因吗?

提前致谢!

Mic*_*ole 5

对于使用 UE4 的我来说,这是一个间歇性错误。

我添加了“bLegacyPublicIncludePaths = false;” 到project.Build.cs的最里面的块并重新编译没有错误。

然后我删除了该行并再次编译,没有错误。

错误消息建议添加“DefaultBuildSettings = BuildSettingsVersion.V2;” 到 project.Target.cs 有效。