Open YummyTastyCode opened 6 years ago
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
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.
1.0.2o_1
To correct installation use -DCMAKE_INSTALL_PREFIX with local subfolder:
DCMAKE_INSTALL_PREFIX
local
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
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:
where
1.0.2o_1
is a current version of the OpenSSL library.To correct installation use -
DCMAKE_INSTALL_PREFIX
withlocal
subfolder:To use it it might be useful too as an external lib:
ln /usr/local/lib/capn/libcapn.dylib /usr/local/lib/libcapn.dylib