DasEtwas / enginesound

Procedural engine sound generator controlled via GUI or CLI
MIT License
309 stars 15 forks source link

I know I sound like a complete idiot #17

Closed austenwasher closed 1 year ago

austenwasher commented 2 years ago

But how do you actually run the app?

Friz64 commented 2 years ago

Install Rust: https://www.rust-lang.org/tools/install

Install dependencies if you are on Linux (e.g. Ubuntu: sudo apt-get install libasound2-dev libxcb-shape0-dev libxcb-xfixes0-dev)

Build & Run: cargo run --release

austenwasher commented 2 years ago

Can you run it on MacOS?

On Jun 28, 2022, at 12:30 AM, Friz64 @.***> wrote:

Install Rust: https://www.rust-lang.org/tools/install https://www.rust-lang.org/tools/install Install dependencies if you are on Linux (e.g. Ubuntu: sudo apt-get install libasound2-dev libxcb-shape0-dev libxcb-xfixes0-dev)

Build & Run: cargo run --release

— Reply to this email directly, view it on GitHub https://github.com/DasEtwas/enginesound/issues/17#issuecomment-1168242551, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX32BA7FXHDIVKXK4D7GXALVRKEY5ANCNFSM52A2DNJQ. You are receiving this because you authored the thread.

Friz64 commented 2 years ago

I'm pretty confident it will, you should try and see what happens

alterfo commented 3 months ago

On Mac I get this

error[E0308]: mismatched types --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.23.0/src/platform_impl/macos/util/async.rs:170:55 170 ns_window.setFramedisplay(new_rect, 0); ----------------- ^ expected bool, found integer
arguments to this method are incorrect

note: method defined here --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cocoa-0.23.0/src/appkit.rs:945:15 | 945 | unsafe fn setFramedisplay(self, windowFrame: NSRect, display: BOOL); | ^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.23.0/src/platform_impl/macos/view.rs:391:9 | 386 | extern "C" fn has_marked_text(this: &Object, _sel: Sel) -> BOOL { | ---- expected bool because of return type ... 391 | (marked_text.length() > 0) as i8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected bool, found i8

error[E0308]: mismatched types --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.23.0/src/platform_impl/macos/window.rs:656:22 656 is_zoomed != 0 --------- ^ expected bool, found integer
expected because this is bool
error[E0308]: mismatched types --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.23.0/src/platform_impl/macos/window.rs:1171:48 1171 window.setFramedisplay(current_rect, 0) ----------------- ^ expected bool, found integer
arguments to this method are incorrect

note: method defined here --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cocoa-0.23.0/src/appkit.rs:945:15 | 945 | unsafe fn setFramedisplay(self, windowFrame: NSRect, display: BOOL); | ^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.23.0/src/platform_impl/macos/window.rs:1178:48 1178 window.setFramedisplay(current_rect, 0) ----------------- ^ expected bool, found integer
arguments to this method are incorrect

note: method defined here --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cocoa-0.23.0/src/appkit.rs:945:15 | 945 | unsafe fn setFramedisplay(self, windowFrame: NSRect, display: BOOL); | ^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.23.0/src/platform_impl/macos/window.rs:1195:48 1195 window.setFramedisplay(current_rect, 0) ----------------- ^ expected bool, found integer
arguments to this method are incorrect

note: method defined here --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cocoa-0.23.0/src/appkit.rs:945:15 | 945 | unsafe fn setFramedisplay(self, windowFrame: NSRect, display: BOOL); | ^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.23.0/src/platform_impl/macos/window.rs:1202:48 1202 window.setFramedisplay(current_rect, 0) ----------------- ^ expected bool, found integer
arguments to this method are incorrect

note: method defined here --> /Users/olegsidorkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cocoa-0.23.0/src/appkit.rs:945:15 | 945 | unsafe fn setFramedisplay(self, windowFrame: NSRect, display: BOOL); | ^^^^^^^^^^^^^^^^^

For more information about this error, try rustc --explain E0308. error: could not compile winit (lib) due to 7 previous errors warning: build failed, waiting for other jobs to finish...