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

Unable to find headers on MacOS #10

Open
krims0n32 opened this issue Dec 22, 2021 · 0 comments
Open

Unable to find headers on MacOS #10

krims0n32 opened this issue Dec 22, 2021 · 0 comments

Comments

@krims0n32
Copy link

Hello,

I have installed ta-lib using homebrew but it complains about missing headers:

error: failed to run custom build command for `ta-lib-wrapper v0.2.0`

Caused by:
  process didn't exit successfully: `/Users/js/development/rusty/target/debug/build/ta-lib-wrapper-6712aeab1b19f039/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-link-lib=ta_lib

  --- stderr
  wrapper.h:1:10: fatal error: 'ta-lib/ta_abstract.h' file not found
  wrapper.h:1:10: fatal error: 'ta-lib/ta_abstract.h' file not found, err: true
  thread 'main' panicked at 'Unable to generate bindings: ()', /Users/js/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/ta-lib-wrapper-0.2.0/build.rs:23:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

I have also installed llvm. Any ideas? The headers are located in /opt/homebrew/Cellar/ta-lib/0.4.0.

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