Skip to content

Building on Windows

Eric Lombrozo edited this page Feb 16, 2014 · 25 revisions

Microsoft Visual Studio

MinGW

Cross-compiling with MinGW64

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.

Build cpp-ethereum:

$ git clone https://github.com/ethereum/cpp-ethereum
$ mkdir cpp-ethereum-build
$ cd cpp-ethereum-build
$ cmake ../cpp-ethereum -DTARGET_PLATFORM=w64
$ make
$ cd ..
Clone this wiki locally