editGAN_release icon indicating copy to clipboard operation
editGAN_release copied to clipboard

command ninja -v returned non-zero

Open cssddnnc9527 opened this issue 2 years ago • 3 comments

dear author,

while running "run_app" , found the following error: "command ninja -v returned non-zero"

Help!

Very appreciated!!!

cssddnnc9527 avatar Apr 25 '22 09:04 cssddnnc9527

why do you need to use ninja -v? It's not in required package

arieling avatar Apr 26 '22 02:04 arieling

I've seen this happen when running inside a Visual Studio command prompt that is for incorrect targets. Double check you're running inside a x64 native window (i.e. compile on x64 for x64) and not some other variation. I'd check I was also using VS2022 and CUDA 11.3 or 11.6, I've been successful with both of these combinations by launching the VS command prompt, then switching environments and proceeding with the instructions.

rlayne avatar May 01 '22 08:05 rlayne

Have you solved this? I encountered the same problem. I'm using CUDA 11.7 and torch 1.12.0+cu116. Many thanks!!

nancycyzl avatar Jul 09 '22 11:07 nancycyzl