VS 2015无法打开编译器生成的文件:":无效的参数 [英] VS 2015 Cannot open compiler generated file: '': Invalid argument
问题描述
在xerces 3.1.2的构建过程中,我得到:
During the build of xerces 3.1.2 I get:
1> XML256TableTranscoder.cpp:致命错误C1083:无法打开编译器生成的文件:'':无效的参数
1>XML256TableTranscoder.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument
在出现错误之前,编译器似乎并未在.cpp文件本身上工作,因为我可以删除文件中的所有源代码并仍然得到错误.
The compiler does not appear to be working on the .cpp file itself before the error occurs as I can delete all the source code in the file and still get the error.
推荐答案
似乎我遇到了Visual Studio的路径/文件名长度限制.错误消息不是特别描述性的,但是减少层次结构解决了该问题.
Seems that I was bumping into the path/filename length limitation of Visual Studio. The error message was not particularly descriptive, but reducing the hierarchy solved the problem.
这篇关于VS 2015无法打开编译器生成的文件:":无效的参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!