[CMake] 'cmake.exe -G Ninja' doesn't work for VS2017 with cmake ver 3.9.1

Brad King brad.king at kitware.com
Tue Aug 22 11:36:38 EDT 2017


On 08/21/2017 05:56 PM, masaru tsuchiyama wrote:
>> https://gitlab.kitware.com/cmake/cmake/issues/17191
> I think it is same as the issue.
> I use Japanese version of Win10 Pro.

Thanks.  Unfortunately I've not been able to reproduce it.
See discussion in the issue.

Since you have a local build you used for bisecting this, might you be
able to debug it?

The `rules.ninja` file is likely missing due to `codecvt::do_out`
in `Source/cm_codecvt.cxx` returning `std::codecvt_base::error`
somewhere, causing the stream state to be bad so cmGeneratedFileStream
doesn't rename the temporary file to its final place.

Thanks,
-Brad


More information about the CMake mailing list