Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When building get error: linking with cc failed: exit code: 1 (technically a Rust issue) #22

Open
RyanNerd opened this issue Apr 24, 2021 · 0 comments

Comments

@RyanNerd
Copy link

Technically this is a Rust issue but thought I'd put it here so if anyone is trying to figure out how to fix it
I'm using Linux Mint 20.1 and this is what I get when I try to build:

rustc -O ternimal.rs     
error: linking with `cc` failed: exit code: 1

Solution:
sudo apt-get install libfreetype6-dev

If that doesn't work try installing cmake:
sudo apt install cmake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant