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

Error compiling asio-sys: Could not find ./asio_bindings.rs #14

Closed
mitchmindtree opened this issue Oct 14, 2018 · 2 comments
Closed

Error compiling asio-sys: Could not find ./asio_bindings.rs #14

mitchmindtree opened this issue Oct 14, 2018 · 2 comments

Comments

@mitchmindtree
Copy link

Hey chap, just tried pulling your latest changes and ran a build again to see if I can solve #7 but I've run into a different error this time:

   Compiling asio-sys v0.1.0 (file:///C:/Users/mindtree/programming/rust/cpal/asio-sys)
error: couldn't read "C:\\Users\\mindtree\\programming\\rust\\cpal\\target\\debug\\build\\asio-sys-16161e38d95f61cf\\out/asio_bindings.rs": The system cannot find the file specified. (os error 2)
 --> asio-sys\src\asio_import.rs:6:1
  |
6 | include!(concat!(env!("OUT_DIR"), "/asio_bindings.rs"));
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: Could not compile `asio-sys`.

I'll check your recent commits to see if I can see what might have caused it.

@mitchmindtree
Copy link
Author

Hmmm weird, it's like it's completely ignoring the build.rs file.

@mitchmindtree
Copy link
Author

Ah, caused by not setting CPAL_ASIO_DIR variable

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

1 participant