nv-tlabs / editGAN_release

Other
628 stars 88 forks source link

command ninja -v returned non-zero #11

Open cssddnnc9527 opened 2 years ago

cssddnnc9527 commented 2 years ago

dear author,

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

Help!

Very appreciated!!!

arieling commented 2 years ago

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

rlayne commented 2 years ago

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.

nancycyzl commented 2 years ago

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