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

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

Closed
Walther opened this issue Jul 2, 2020 · 2 comments
Closed

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

Walther opened this issue Jul 2, 2020 · 2 comments

Comments

@Walther
Copy link

Walther commented Jul 2, 2020

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
Copy link
Owner

calebwin commented Jul 2, 2020

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
Copy link
Author

Walther commented Jul 3, 2020

Ah, thanks! Sorry for the confusion, closing ticket

@Walther Walther closed this as completed Jul 3, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants