Closed yuchuehw closed 6 months ago
What happens when you change step 5 into:
dotnet run
You normally do not have to go to the bin folder to execute the program.
Also I would recommend to upgrade to the lastest .net SDK, there is really no need to stay on the older stuff. See https://dotnet.microsoft.com/en-us/download/dotnet/8.0
Issue Summary:
The Chess-Challenge baseline code from the coding competition fails to run on my environment.
Description:
After cloning the Chess-Challenge repository and attempting to run the project using the provided commands (
dotnet run
), the program launches but then halts with a "Launching Chess-Challenge version 1.20" printed in the console.I tried some other ways of launching the code under the direction of this discussion post. I ran the following command
dotnet build
(I get the message"Build succeeded.") thendotnet bin/Debug/net6.0/Chess-Challenge.dll
again the program seems to run at first before halting this time showingLaunching Chess-Challenge version 1.20\nSegmentation fault (core dumped)
Environment:
Steps to Reproduce:
git clone https://github.com/SebLague/Chess-Challenge
cd ./Chess-Challenge/Chess-Challenge
dotnet build
dotnet bin/Debug/net6.0/Chess-Challenge.dll
Actual Behavior:
The program prints "Launching Chess-Challenge version 1.20" and then crashes with a "Segmentation fault (core dumped)" error.
Expected Behavior:
The Chess-Challenge program should run without errors, displaying the chess board as described in the competition instructions.
Error Messages:
Notes:
I have verified that .NET SDK 6.0.403 is installed, and the issue persists even after attempting to rebuild the project and checking for dependencies.