Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2015 Cannot open compiler generated file: '': Invalid argument

During the build of xerces 3.1.2 I get:

1>XML256TableTranscoder.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument

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.

like image 446
Bruce Avatar asked Dec 24 '22 11:12

Bruce


1 Answers

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.

like image 105
Bruce Avatar answered Mar 16 '23 14:03

Bruce