EOS Smart Contract - MAC
테스트 환경
- Mac version 10.13.4
- OpenSSL version 2.2.7
- MongoDB
- Cmake version 3.11.1
라이브러리 설치
#cmake$ brew install cmake
$ brew update cmake
#openssl
$ brew install openssl
$ export CPPFLAGS=”-I/usr/local/opt/openssl/include”
$ export LDFLAGS=”-L/usr/local/opt/openssl/lib”
#mongodb
$ git clone https://github.com/mongodb/mongo-cxx-driver.git --branch releases/stable --depth 1
$ cd mongo-cxx-driver/build
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
$ make
$ sudo make install
#xcode
$ xcode-select –-install
$ ruby –e “$(curl-fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
#eos
$ git clone https://github.com/eosio/eos --recursive
EOS
$ cd eos
$ git checkout DAWN-2018-02-14
$ git submodule update –recursive
$ git submodule init
$ git submodule update
$ cmake -DEOS_LIBBSONCXX=/usr/local/lib/libbsoncxx.dylib -DEOS_LIBMONGOCXX=/usr/local/lib/libmongocxx.dylib
$ ./build.sh darwin
Congratulations @cho.dev! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!