Build for OSX

Oct 26, 2015 at 8:45 AM
Edited Oct 26, 2015 at 8:46 AM
When i completed build for OSX, i copied libcpprest.2.6.dylib to another Mac OSX machine to run my app, Xcode show error can not find boost path that is referenced in the library libcpprest.

Can i use boost & openssl with the dynamic library when build libcpprest for osx ?

Help me!
Oct 29, 2015 at 6:50 AM
On your second machine, install boost and openssl via Homebrew. This should fix the issue.
Oct 29, 2015 at 7:15 AM
Thank Roschuma for your reply. I know that must to install boost and openssl and run xcode project, it no problem. But how about if i build xcode project to app file and run this app in customer machine ? I can't ask my customer whom use this app install boost & openssl before use my app.
Oct 29, 2015 at 7:33 AM
You may be able to use RPATHs and bundle your copy of boost/openssl/cpprest with the application

If you are using CMake for your app, you may be able to use CPack to generate some sort of bundle as well:

Sorry this is not very specific; there are other forums that should be much more helpful on how to bundle software for OSX.