calebwin / emu

The write-once-run-anywhere GPGPU library for Rust
https://calebwin.github.io/emu
MIT License
1.59k stars 53 forks source link

coreaudio-sys AudioUnit compile error on Windows & Linux #46

Closed Walther closed 4 years ago

Walther commented 4 years ago

I get this in WSL2 Debian on Windows

error[E0455]: native frameworks are only available on macOS targets
    --> /home/walther/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-sys-0.1.2/src/audio_unit.rs:6380:1
     |
6380 | #[link(name = "AudioUnit", kind = "framework")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0455]: native frameworks are only available on macOS targets
    --> /home/walther/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-sys-0.1.2/src/audio_unit.rs:6739:1
     |
6739 | #[link(name = "AudioUnit", kind = "framework")]
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0455`.
error: could not compile `coreaudio-sys`.

image

As well as on Windows itself image

calebwin commented 4 years ago

Hi Veeti,

The library is emu_core not emu. There is also an earlier version (that used a macro-based approach) that is called em.

Sorry for the confusion!

Walther commented 4 years ago

Ah, thanks! Sorry for the confusion, closing ticket