forked from ethereum/aleth
-
Notifications
You must be signed in to change notification settings - Fork 2
Building on Windows
Eric Lombrozo edited this page Feb 17, 2014
·
1 revision
Create fresh ubuntu 14.04 (Trusty Tahr) VM:
http://cdimage.ubuntu.com/daily-live/current/trusty-desktop-amd64.iso
See http://ubuntu.com for more details on installing Ubuntu.
Set up a crossbuild environment as described in Setting-up-prebuilt-crossbuild-environment, or for full instructions on how to set up the environment from scratch, Setting-up-crossbuild-environment-from-scratch.
Clone cpp-ethereum repository
$ git clone https://github.com/ethereum/cpp-ethereum
Patch secp256k1 CMakeLists.txt
$ cd cpp-ethereum $ git remote add CodeShark https://github.com/CodeShark/cpp-ethereum $ git fetch CodeShark $ git checkout CodeShark/secp256k1_win64 secp256k1/CMakeLists.txt $ cd ..
Build cpp-ethereum
$ mkdir cpp-ethereum-build
$ cd cpp-ethereum-build
$ cmake ../cpp-ethereum -DTARGET_PLATFORM=w64
$ make
$ cd ..