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

README: Note on system SDL2 needs improvement #321

Closed
eliheuer opened this issue Aug 21, 2022 · 1 comment
Closed

README: Note on system SDL2 needs improvement #321

eliheuer opened this issue Aug 21, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@eliheuer
Copy link
Contributor

This is what I get running cargo build --features=sdl2-dynamic on MacOS 11:

MINI-M1 🌎 ~/MFEK/MFEKglif ➤ c874d5a|master✓
11323 ± : cargo build --features=sdl2-dynamic                                                [75d2h2m]
   Compiling MFEKglif v1.1.1-beta2 (/Users/eli/MFEK/MFEKglif)
error: failed to run custom build command for `MFEKglif v1.1.1-beta2 (/Users/eli/MFEK/MFEKglif)`

Caused by:
  process didn't exit successfully: `/Users/eli/MFEK/MFEKglif/target/debug/build/MFEKglif-15cad062b18f2a50/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-env=MFEK_VERSION=v1.1.1b2-25-gc874d5a
  cargo:rustc-env=MFEK_COMPILED_AT=1661052412

  --- stderr
  thread 'main' panicked at '`sdl2-config` not in PATH: CannotFindBinaryPath', build.rs:50:47
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@eliheuer
Copy link
Contributor Author

eliheuer commented Aug 21, 2022

Running brew install sdl2 allows cargo build to finish.

@ctrlcctrlv ctrlcctrlv reopened this Aug 22, 2022
@ctrlcctrlv ctrlcctrlv added the documentation Improvements or additions to documentation label Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants