soyersoyer / cura-build

Build scripts for Cura

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cura-build

This repository contains build scripts used to build Cura and all depenencies from scratch.

OS X

  1. Install CMake (available via homebrew or cmake.org)
  2. Install latest version of Xcode.
  3. Run these commands:
git clone git@github.com:Ultimaker/cura-build.git
cd cura-build
mkdir build
cd build
cmake ..
make

Windows

On Windows, the following dependencies are needed for building:

Additonally, for 32-bit builds:

For 64-bit builds:

For creating installer we use NSIS 3: http://nsis.sourceforge.net/Main_Page

Make sure these dependencies are available from your path.

To build, clone the repository, then create a build directory. From that directory, run "env_win32.bat" when doing 32-bit builds and "env_win64.bat" for 64-bit builds. Then run CMake using the MinGW Generator. Finally, call "mingw32-make" to build everything and "mingw32-make package" to build the installer.

Ubuntu/Linux

cura-build can build Ubuntu/Debian packages of Cura.

Dependencies:

  • python3 (>= 3.4.0)
  • python3-pyqt5 (>= 5.4.0)
  • python3-pyqt5.qtopengl (>= 5.4.0)
  • python3-pyqt5.qtquick (>= 5.4.0)
  • python3-pyqt5.qtsvg (>= 5.4.0)
  • python3-numpy (>= 1.8.0)
  • python3-serial (>= 2.6)
  • python3-opengl (>= 3.0)
  • python3-setuptools
  • python3-dev
  • qml-module-qtquick2 (>= 5.4.0)
  • qml-module-qtquick-window2 (>= 5.4.0)
  • qml-module-qtquick-layouts (>= 5.4.0)
  • qml-module-qtquick-dialogs (>= 5.4.0)
  • qml-module-qtquick-controls (>= 5.4.0)
  • zlib1g
  • build-essential
  • cmake

To build, make sure these dependencies are installed, then clone this repository and run the following commands from your clone:

mkdir build
cd build
cmake ..
make
make package

About

Build scripts for Cura

License:GNU Affero General Public License v3.0


Languages

Language:CMake 91.5%Language:Shell 6.8%Language:Batchfile 1.7%