Skip to content

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

Open
@RyanNerd

Description

@RyanNerd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions