Skip to content

FreeBSD Build Hint #20

Description

@thesunexpress

For the FreeBSD pilgrims, who would like to have a fully compiled & functional woomer, we need to set some build flags. Without it, the default cargo build procedure will fail. Among the errors that will appear, are mentioned references to raylib -- which was seriously misleading to me. After some trial and error, and all of raylib & glfw installed, both as FreeBSD ports and Crates, there was a hint suggesting the GLFW library wasn't being properly detected/called... bingo.

We need the GLFW build flag for Rust, hence:

git-repo-woomer~> RUSTFLAGS=-lglfw cargo build

The woomer binary can subsequently be found in ./target/debug/woomer.
The binary can be copied to somewhere in your $PATH -- $HOME/.local/bin or $HOME/.cargo/bin or /usr/local/bin for example.

Profit!

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