Difference between revisions of "HICN/MacOS"

From fd.io
Jump to: navigation, search
(Build)
(HomeBrew Tap for macOS 10.14)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
== Apple Store==
 +
 +
[[File:Apple.png|220px|link=https://apps.apple.com/us/developer/icn-team/id1482373822]]
 +
 
==Build==
 
==Build==
  
 
===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
 
$ cd build
 
$ cd build
$ cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/
+
$ cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl\@1.1
 
$ make
 
$ make
 
$ make install
 
$ make install
Line 14: Line 18:
 
===Build hICN===
 
===Build hICN===
 
<pre>
 
<pre>
$ git clone https://git.fd.io/hicn
+
$ git clone https://github.com/FDio/hicn.git
 
$ cd hicn
 
$ cd hicn
 
$ mkdir build; cd build
 
$ mkdir build; cd build
Line 21: Line 25:
 
</pre>
 
</pre>
  
===HomeBrew Tap for macOS 10.14===
+
===HomeBrew Tap for macOS >= 10.14===
 
<pre>
 
<pre>
 
$ brew tap icn-team/hicn-tap
 
$ brew tap icn-team/hicn-tap
$ brew install hicn
+
$ brew install hicn
 
</pre>
 
</pre>

Latest revision as of 09:18, 5 June 2020

Apple Store

Apple.png

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\@1.1
$ make
$ make install

Build hICN

$ git clone https://github.com/FDio/hicn.git
$ 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