C++
Although Mavericks is required for compiling the app, the app has been tested to run on 10.8, 10.9 and 10.10.
Build with Homebrew
For the stable branch:
For the development branch:
Add the --with-gui
option to also build AlethZero and the Mix IDE.
Then open /Applications/AlethZero.app
, eth
(CLI) or neth
(ncurses interface)
For options and patches, see: https://github.com/lattice/homebrew-lattice
Manual Build
Prerequisites
Latest Xcode on Mavericks (at least Xcode 5.1+).
Homebrew package manager http://brew.sh or MacPorts package manager http://macports.org
Install dependencies
Using homebrew:
Or, using MacPorts:
Clone source repo and create build folder
Compile
This will also install the cli tool and libs into /usr/local.
XCode Instructions
From the project root:
This will generate an xcode project file along with some configs for you: lattice.xcodeproj . Open this file in XCode and you should be able to build the project
Troubleshooting
Linking errors can usually be resolved by ensuring correct paths:
Make sure your macdeployqt
can be found. Lattice expects it to be in /usr/local/opt/qt5/bin/macdeployqt
so symlink it if it's not:
If you're not planning to develop, make sure you are building from the master branch, not from develop or any others. These branches can often be broken or have other requirements.
Last updated