# Bindgen

Building lib injection from the source

```bash
$ brew install automake autoconf libtool
$ ./autogen.sh
$ ./configure
$ make
```



Working on a MacBook. Bindgen was a hard beast to tame without native linux.

[**Error with install: autoreconf fails to run aclocal #24**](https://github.com/buffer/pylibemu/issues/24)

[**Linker warnings in Mac OS Ventura #13846**](https://github.com/crystal-lang/crystal/issues/13846)

[**Rust Bindgen to link C headers on MacOS 14 fails with lib not found**](https://stackoverflow.com/questions/77328775/rust-bindgen-to-link-c-headers-on-macos-14-fails-with-lib-not-found)

[https://www.reddit.com/r/rust/comments/r3zzyz/bindgen\_on\_mac/](https://www.reddit.com/r/rust/comments/r3zzyz/bindgen_on_mac/)
