Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building boost cpp via Xcode works, via brew caused incompatibility

I've had to resort to compiling boost cpp files in my Xcode project because when I used brew install boost --universal and linked the static libraries, my software became incompatible with all mac os versions except 10.11 (had a friend tested on 10.9 and 10.8, I'm on 10.11). Is there a setting I am not aware of with brew/boost that causes it to make static libraries specifically for 10.11?

like image 444
Elan Hickler Avatar asked Sep 15 '25 20:09

Elan Hickler


1 Answers

https://github.com/Homebrew/homebrew/issues/48437#issuecomment-174522431

Brew deployment target is the Mac OS version it is being used on. Therefore, brew is not a viable option to build boost.

like image 111
Elan Hickler Avatar answered Sep 18 '25 18:09

Elan Hickler