Error complie CLion C++ project with cmake on windows NMAKE : fatal error U1077: cmake.exe : return code '0xffffffff' NMAKE : fatal error U1077: nmake.exe : return code '0x2'

已完成

Error complie CLion C++ project with cmake on windows

NMAKE : fatal error U1077: cmake.exe : return code '0xffffffff'

NMAKE : fatal error U1077: nmake.exe : return code '0x2'

I don't know why this error occurs, but after testing this error only occurs when running cmake with clion, it doesn't occur manually.


clion's cmake configuration is the default, I also reloaded the project but it didn't work.

Does anyone know why? Thank for your help!.

1

ok, sorry guys my settings in Clion Toolschains MSCV is was set to x86, i change to amd64, then it compile normal

2

i do the same by changing x86 to amd64 and still have the same problem

NMAKE : fatal error U1077: '"C:\Program Files\JetBrains\CLion 2021.1.2\bin\cmake\win\bin\cmake.exe"' : return code '0xffffffff'

0

请先登录再写评论。