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

Build library for MacOS #43

Description

@YummyTastyCode

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions