Difference between revisions of "HICN/MacOS"

From fd.io
Jump to: navigation, search
(Build)
(Build Libparc)
Line 3: Line 3:
 
===Build Libparc===
 
===Build Libparc===
 
<pre>
 
<pre>
$ git clone -b cframework/master https://gerrit.fd.io/r/cicn cframework
+
$ git clone -b cframework/master https://github.com/FDio/cicn.git cframework
 
$ cd cframework/libparc
 
$ cd cframework/libparc
 
$ mkdir build
 
$ mkdir build

Revision as of 15:11, 26 September 2019

Build

Build Libparc

$ git clone -b cframework/master https://github.com/FDio/cicn.git cframework
$ cd cframework/libparc
$ mkdir build
$ cd build
$ cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/
$ make
$ make install

Build hICN

$ git clone https://git.fd.io/hicn
$ cd hicn
$ mkdir build; cd build
$ cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl\@1.1 -DBUILD_APPS=ON ..
$ make

HomeBrew Tap for macOS 10.14

$ brew tap icn-team/hicn-tap
$ brew install  hicn