Closed mihaicostin34 closed 8 months ago
You have to install gcc using sudo apt-get install build-essential
. Make sure to run onve before sudo apt-get update
.
This is the log The same thing as before happens when I run cargo run or cargo build
My bad, you are missing lgcc, try installing it https://howtoinstall.co/en/libgcc-4.8-dev. The version should not matter.
Take a look at .github/classroom/autograding.json
at the first command that it runs. This installs all the dependencies.
Manually running the first command in autograding.json worked. Now the project builds.
The cargo command was not recognized, so I installed rust with curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh and also ran the command rustup target add i686-unknown-linux-gnu Now, when I run the command cargo run, I get this error followed by a big block of text and then this