facebookincubator / FBX2glTF

A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

housed opened this issue · comments

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.