Difference between revisions of "HICN/MacOS"
From fd.io
< HICN
(→Build) |
Muscariello (Talk | contribs) (→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:// | + | $ 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 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 | + | $ brew install hicn |
</pre> | </pre> |
Latest revision as of 09:18, 5 June 2020
Apple Store
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