plugeth/deploy
2015-03-07 13:16:13 +01:00
..
osx Added deploy scripts from go-build 2015-03-07 13:16:13 +01:00
windows Added deploy scripts from go-build 2015-03-07 13:16:13 +01:00
.gitignore Added deploy scripts from go-build 2015-03-07 13:16:13 +01:00
README.md Added deploy scripts from go-build 2015-03-07 13:16:13 +01:00

go-build

Build scripts for Ethereum Mist.

OS X

Install all build dependencies.

  • brew install go gmp readline
  • npm install -g appdmg
  • go get -u github.com/ethereum/go-ethereum/cmd/mist
  • Open build.py and edit the (macdeployqt) paths.
  • python build.py

If everything went ok you should now have a Mist.dmg file in your current folder.

Windows

Install all build dependencies.

After all these things have been satisfied go get -u github.com/ethereum/go-ethereum/cmd/mist

Once the compilation is completed you can create a setup binary.

  • Edit build.bat and change qtPath and mingwPath to the paths of your installed versions.
  • right-click the nsi file and select "Compile NSIS Script".

If everything went well you should now have a windows-setup file.

Troubleshooting

Now it will be a miracle if the windows build works in one go. So here are some possible solutions for things that can go wrong:

Expected unqualified-id

qopenglversionfunctions.h:785:43: error: expected unqualified-id before ')' token
     void (QOPENGLF_APIENTRYP MemoryBarrier)(GLbitfield barriers);

See this ticket for a couple of solutions.

pkg-config path

pkg-config might complain about the config path. Setup an environment value PKG_CONFIG_PATH and set it to C:\Qt\Qt5.2.1\5.2.1\mingw48_32\lib\pkgconfig. Adopted to your QT version.

If there are any build problems please create an issue.