cloudhead / rx

👾 Modern and minimalist pixel editor
https://discord.gg/xHggPjfsS9
GNU General Public License v3.0
3.09k stars 109 forks source link

error: failed to run custom build command for `glfw-sys v3.3.0` #61

Closed yurivict closed 4 years ago

yurivict commented 4 years ago

I am trying to build on FreeBSD, but I am getting this:

   Compiling gl v0.14.0
     Running `/usr/local/bin/rustc --crate-name build_script_build /wrkdirs/usr/ports/graphics/rx/work/rx-0.3.2/cargo-crates/gl-0.14.0/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=2 -C metadata=20095f3cdbe4bebc -C extra-filename=-20095f3cdbe4bebc --out-dir /wrkdirs/usr/ports/graphics/rx/work/target/release/build/gl-20095f3cdbe4bebc -L dependency=/wrkdirs/usr/ports/graphics/rx/work/target/release/deps --extern gl_generator=/wrkdirs/usr/ports/graphics/rx/work/target/release/deps/libgl_generator-e6d95cc30510f64d.rlib --cap-lints allow -C linker=cc -C link-arg=-L/usr/local/lib -C link-arg=-fstack-protector-strong`
error: failed to run custom build command for `glfw-sys v3.3.0`

There is no explanation what went wrong in the log.

cloudhead commented 4 years ago

Did you solve this?

yurivict commented 4 years ago

Yes. It was a cmake failure that this command runs.