BUILDING.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Building ZeroTier One on different platforms:
  2. (See RUNNING.txt for what to do next.)
  3. Developers note: there is currently no management of dependencies on *nix
  4. platforms, so you should make clean ; make if you change a header. Will
  5. do this eventually.
  6. -- Linux
  7. Just type 'make'. You'll need gcc and g++ installed, but ZeroTier One requires
  8. no other third party libraries beyond the standard libc, libstdc++, and libm.
  9. -- MacOS
  10. make
  11. If you are building ext/tap-mac you will need a different version of the
  12. OSX gcc compiler chain than what currently ships (clang). We've got a copy
  13. available here:
  14. http://download.zerotier.com/dev/llvm-g++-Xcode4.6.2.tar.bz2
  15. Un-tar this into ext/ (it's excluded in .gitignore) and then 'make' in
  16. ext/tap-mac/tuntap/src/tap.
  17. Most users should not need to build tap-mac, since a binary is included
  18. in ext/bin.
  19. To build the UI you will need Qt version 5.0 or later. The Qt home must
  20. be symbolically linked into "Qt" in the parent directory of the ZeroTier
  21. One source tree. Then you can type "make mac-ui" and the UI should build.
  22. You can also load the UI in Qt Creator and build/test it that way.
  23. -- Windows
  24. Here be dragons.