b2 icon indicating copy to clipboard operation
b2 copied to clipboard

difficulty installing on m1 Mac

Open EliseAWalker opened this issue 1 year ago • 3 comments

unable to install; directories installed by homebrew cannot be found (opt/homebrew not always searched). directories installed from source also cannot be found (e.g. include/eignpy directory)

EliseAWalker avatar Mar 13 '24 16:03 EliseAWalker

Try configuring using this line:

./configure --with-eigen=/opt/homebrew/include

If this doesn't work, please post back and attach the file config.log.

This should work with other library dependencies, too, if you installed them in non-canonical locations. For example --with-eigenpy=/path/to/eigenpy. If you want to see the available options, ./configure -h shows the help menu.

ofloveandhate avatar Mar 13 '24 22:03 ofloveandhate

I have successfully built on this M1 on which I am now typing with boost, boost-python, eigen, eigenpy, automake, autoconf, libtool, mpfr, gmp, numpy all installed on this machine via homebrew.

I'm using a virtual environment to help manage my Python libraries.

ofloveandhate avatar Mar 13 '24 22:03 ofloveandhate

I do recognize that building b2 is a pain. we're working on a CMake build system which should work better with dependencies provided by conda. but that doesn't help you right this moment.

Looking forward to hearing back from you.

ofloveandhate avatar Mar 13 '24 22:03 ofloveandhate