Closed ukrishnas closed 3 months ago
Looks like you did not install an SDK with dotnet. From a command prompt execute, the following commands.
Broken:
$ where dotnet
C:\Program Files (x86)\dotnet\dotnet.exe
C:\Program Files\dotnet\dotnet.exe
$ dotnet --list-sdks
<nothing>
Working:
$ where dotnet
C:\Program Files\dotnet\dotnet.exe
$ dotnet --list-sdks
5.0.401 [C:\Program Files\dotnet\sdk]
In my reproduction of the problem, I had an incompletely installed dotnet in C:\Program Files (x86)\dotnet that had no sdk folder.
A more basic reason could be you do not have dotnet. Dotnet comes automatically with a Visual Studio installation. But if you have neither, then you need to install dotnet from https://aka.ms/dotnet-download. The name changes of dotnet can be confusing. You need .NET N.0 SDK where N = 5, 6 7, 8, ... (whatever is the latest; you need the SDK and it comes with the runtime). .NET N.0 (N >= 5) is the unified dotnet, and you can purge your mind of previous flavors like Framework and Core.
When I build either GLOP or CLP CoinWrap, CMake fails with the following error messages. How can I fix it?