I am trying to create an application in which I am using gn. I tried creating the .exe file with the following command.
gn gen out --ide=vs
ninja -C out
Then, I opened the generated solution file and tried building it, but I am getting an error which says MSB3073 The command "call ninja.exe -C path\to\sln\file main" exited with code 1. main path\to\sln\file
I am confused why this error is coming. I have searched over many places for this but didn't get any desired results.