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!
For the FreeBSD pilgrims, who would like to have a fully compiled & functional
woomer, we need to set some build flags. Without it, the defaultcargo buildprocedure will fail. Among the errors that will appear, are mentioned references toraylib-- which was seriously misleading to me. After some trial and error, and all ofraylib&glfwinstalled, both as FreeBSD ports and Crates, there was a hint suggesting theGLFWlibrary wasn't being properly detected/called... bingo.We need the GLFW build flag for Rust, hence:
git-repo-woomer~>
RUSTFLAGS=-lglfw cargo buildThe
woomerbinary 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!