简体   繁体   中英

CL error with MS Visual Studio 2010, what is it

I am building a project with cmake using ms visual studio. I am getting this error from MS visual studio (2010):

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(146,5): error MSB6006: "CL.exe" exited with code -1073740777

I have not been able to find anything about this error (obv I've googled it), but I can't find a description! I also tried the error lookup tool and it didn't bring anything up.

Any idea what this error means?

I moved the project generation to a different dir (much smaller path) and the error went away, and everything compiled fine. It appears this has to do with the path length and length of the CL command.

This Link was helpful in diagnosing the problem. Since my original question was "what is this error?" Here is the answer courtesy of @WhozCraig

0xC0000417, equivalent to STATUS_INVALID_CRUNTIME_PARAMETER.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM