flappybird
flappybird copied to clipboard
can't run on Mac
- environment
- macos: Monterey 12.4
- rustc 1.64.0 (a55dd71d5 2022-09-19)
- steps:
- git clone https://github.com/JerzySpendel/flappybird.git
- cargo run
- problem:
warning: `untitled1` (bin "untitled1") generated 61 warnings
Finished dev [unoptimized + debuginfo] target(s) in 33.11s
Running `target/debug/untitled1`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: CompilationError("ERROR: 0:1: '' : version '460' is not supported\nERROR: 0:2: '' : #version required and missing.\n", Vertex)', src/main.rs:40:6
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Hello @jiker-burce , I found this project and meet the same problem you met. Here is the modifications I made that can work on my MacOS. Check Here.