Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Building on Windows] Error MSB3491: Could not write lines to file. The specified path, file name, or both are too long. #277

Open
housed opened this issue Oct 12, 2020 · 0 comments

Comments

@housed
Copy link

housed commented Oct 12, 2020

Hi, building on Windows fails in some situations if certain paths + filenames are too long.

In my case, I had an issue around:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(321,5): error MSB3491: 
Could not write lines to file "draco_compression_attributes_pred_schemes_dec.dir\Release\draco_co.18F60AB3.tlog\draco_compression_attributes_pred_schemes_dec.lastbuildstate". 
The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

I wonder if the name of that lastbuildstate file could be optimized/shortened.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant