Closed devmaximilian closed 6 years ago
Hi devmaximillian, Not sure which dependencies errors you found, but I am glad you could find the issue on your side and fix it. Boost 1.66 is the latest version at this time of boost libraries so yeah is possible to have some issues and although one can always install previous versions of Boost, is good to know how to fix the issues with the latest version.
Thanks a lot, Ivan.
These are the changes I had to do to make this work with latest versions: XCode 9.4, boost 1.67 and openssl 1.0.2o
"1." is due to XCode / clang "2." is due to boost "3." is due to openssl
@causevic and @devmaximilian FYI, I have updated the scripts to build the project addressing the issues reported here and in #4 and #5, please give it a spin.
Thanks, Ivan
I'm writing this in the rare case that anyone else runs into the same issue that I faced using macOS High Sierra.
I really appreciate this project since it makes getting into C++ REST API building really simple. However, I ran into an issue when trying to compile the code on macOS 10.13.3. It kept complaining about no rule to include the openssl libs. After a lot of searching and tinkering I realised the problem had nothing to do with openssl, the CMake command was throwing warnings that I (ignorantly) ignored. After some messing with brew and the boost version everything compiled without a hitch.
It seems like (based on my very limited knowledge) that boost 1.66.0 lacks some of the dependencies required.
This is what I did to fix the issue:
brew install boost@1.60
brew uninstall --ignore-dependencies boost@1.66
brew link boost@1.60 --force
... and that's it. After that everything compiled as it should.