3D printing control software cura source code compiled on UbuntuKylin15.04

Source: Internet
Author: User

Cura versions on Linux are always downloaded and ready to be compiled from the source code.

The following is a compilation script downloaded from Https://github.com/ultimaker. There were some problems with the original script, and I made some changes, as follows:

#!/bin/bash# this is a script which get the latest git repo  and build them.## tested under ubuntu 15.04, lower versions  don ' T have pyqt 5.2.1 which is required by cura#cd ~mkdir  devcd devsudo apt-get install -y git cmake cmake-gui autoconf  libtool python3-setuptools curl python3-pyqt5.* python3-numpy  Qml-module-qtquick-controlsgit clone https://github.com/ultimaker/cura.gitgit clone https ://github.com/ultimaker/uranium.gitgit clone https://github.com/ultimaker/curaengine.gitgit  clone https://github.com/ultimaker/libarcusgit clone https://github.com/ultimaker/ Protobuf.gitecho build protobuf...cd protobuf./autogen.sh./configuremake -j4sudo make  installsudo ldconfigcd pythonpython3&nbSP;SETUP.PY BUILDSUDO PYTHON3 SETUP.PY INSTALLCD&NBSP, .... /.. PWDECHO BUILD LIBARCUS...CD LIBARCUSMKDIR BUILD CD BUILDCMAKE&NBSP, ....  -dpython_site_packages_dir=/usr/lib/python3.4/dist-packagesmake -j4sudo make installcd &NBSP, .... /.. PWDECHO BUILD CUREENGINE...CD CURAENGINEMKDIR BUILDCD BUILDCMAKE&NBSP, .... MAKE -J4CD&NBSP, .... /.. PWDECHO BUILD URANIUMCD URANIUMMKDIR BUILDCD BUILDCMAKE&NBSP, ....  -dpython_site_packages_dir=/usr/lib/python3.4/dist-packages -duranium_plugins_dir=/usr/lib/ PYTHON3.4/DIST-PACKAGESSUDO MAKE INSTALLCD&NBSP, .... /.. Pwdecho build final...cp -rv uranium/resources/* cura/resources/sudo ln -s   $PWD/curaengine/build/curaengine /usr/bin/curaenginecd curapython3 cura_app.pypwd

Error compiling result:

Qwidget:must construct a qapplication before a qwidget./ubuntu-15.04-build-script.sh: line 62:29,168 has been discarded (core has been transferred Storage) Python3 cura_app.py

Who has done this, give directions.


3D printing control software cura source code compiled on UbuntuKylin15.04

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.