Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Build library for MacOS #43

Open
YummyTastyCode opened this issue Oct 21, 2018 · 0 comments
Open

Build library for MacOS #43

YummyTastyCode opened this issue Oct 21, 2018 · 0 comments

Comments

@YummyTastyCode
Copy link

YummyTastyCode commented Oct 21, 2018

This is very strange but there is no correct build system for this library.
I write my guide to build the library.

First of all, install OpenSSL
brew install openssl

Then, create soft links using this commands:

ln -s /usr/local/Cellar/openssl/1.0.2o_1/include/openssl /usr/local/include/openssl
ln -s /usr/local/Cellar/openssl/1.0.2o_1/lib /usr/local/lib/openssl

where 1.0.2o_1 is a current version of the OpenSSL library.

To correct installation use -DCMAKE_INSTALL_PREFIX with local subfolder:

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ../

To use it it might be useful too as an external lib:

ln /usr/local/lib/capn/libcapn.dylib /usr/local/lib/libcapn.dylib

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant