Keep Boost Libraries in the standard install location for Mac – if you know what’s good for you!
March 11th, 2009
No comments
@#$%#$^$%%$#^#$%#%!!!!!!!!
Love Boost, hate Boost. You can’t imagine how much time I spent on this.
Ok, much better. If you install the Boost libraries to an alternate directory (other than usr/local/lib), you will have to jump through hoops to link to the shared versions.
Option #1: Keep Boost in /usr/local/libs. To link to shared libs, drag them into Xcode. Done. (Tip: put a symlink in a visible directory if you can’t see /usr/local/libs)
Option #2: Keep Boost wherever you want and copy the dynamic libs you use into the executable’s directory before linking. This approach is not recommended. Your program will only work when the current directory is the directory of the executable.
Recent Comments