The GIScript2015 version incorporates a new SIP package to better align with the C + + interface.
Recently, some progress has been made to try to install Giscript on UbuntuKylin15.04.
Because you want to use METASIP, you need to Python3, first enter Python3 confirm the current environment.
Installing Python3
sudo apt-get install python-pipsudo apt-get Install Python3-dev
Installing SIP
#下载: Http://www.riverbankcomputing.com/software/sip/downloadwget http://sourceforge.net/projects/pyqt/files/sip/ sip-4.16.8/sip-4.16.8.tar.gz# Decompression TAR-VXF sip-4.16.8.tar.gz# configuration cd sip-4.16.8python3 configure.py# compile make# install sudo make Install
Installing METASIP
#下载wget http://www.riverbankcomputing.com/hg/metasip/archive/tip.zip# Decompression tar-vxf #编译, installation # always error
Note: When executing python setup.py install , if the following error is reported
to see If there is a VERSION file in the Dip directory (^_^ that the error is not ), create a new VERSION , the content is 56a217326678.
Installing QSCINTILLA2
#下载wget http://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.9/QScintilla-gpl-2.9.tar.gz# Unzip the Tar- VXF qscintilla-gpl-2.9.tar.gz# compiling, installing CD QSCINTILLA-GPL-2.9CD qt4qt5qmake qscintilla.promakemake Install
Mounting dip
#下载wget http://www.riverbankcomputing.com/static/Downloads/dip/dip-gpl-0.4.4.tar.gz# Decompression TAR-VXF dip-gpl-0.4.4.tar.gz# compiling, installing CD Dip-gpl-0.4.4sudo python setup.py install
Installing Gccxml
Reference: http://gccxml.github.io/HTML/Install.html
sudo apt-get install gitgit clone git://github.com/gccxml/gccxml.gitmkdir GCCXML-BUILDCD gccxml-buildcmake. /gccxmlmakemake Install
Installing QT
To http://www.qt.io/download/, download the appropriate version and install it.
Installing PYQT
#下载: Http://www.riverbankcomputing.com/software/pyqt/downloadwget http://sourceforge.net/projects/pyqt/files/ pyqt5/pyqt-5.4.2/pyqt-gpl-5.4.2.tar.gz# Decompression TAR-VXF pyqt-gpl-5.4.2.tar.gz# configuration CD Pyqt-gpl-5.4.2python3 configure.py# Compiling make# installing sudo make install
To create a SIP file for an encapsulated project using METASIP
To create a C + + encapsulated interface using SIP filesC + + Encapsulation interface compilationTesting the encapsulated interface
Installing the Giscript on the UbuntuKylin15.04