"Fossies" - the Fresh Open Source Software Archive
Member "scidavis-2.3.0/INSTALL.md" (12 Jun 2020, 8460 Bytes) of package /linux/misc/scidavis-2.3.0.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format).
Alternatively you can here view
the uninterpreted source code file.
A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs"
side-by-side code changes report for "INSTALL.md": 2.1.4_vs_2.3.0
SciDAVis - Installation Notes
Please visit our homepage for more information.
## Generic requirements In order to compile SciDAVis, you need to install the following libraries. Easiest is to use your package manager to install prebuilt versions. - Qt version 5 - Qwt version 5 - QwtPlot3D - GSL - muParser - zlib
For the optional Python scripting feature, you also need: - Python version 3 - PyQt - sip
For the default build, you also often need the QtAssistant package. If not available, you can compile without (see below)
- In the top level directory, run qmake:
Configures the minimal build
- qmake CONFIG+=python CONFIG+=liborigin
Configure python scripting and Origin import support
- qmake CONFIG+=noassistant
compile without QtAssistant (documentation browser)
- qmake CONFIG+=aegis
Build everything, including unit tests
type “make qmake” Take careful note of any warning/error messages at this stage, as it may indicate installation problems that will cause problems later.
To install, type "make INSTALL_ROOT=/usr/local
Windows - MXE builds
The distributed windows .msi is built using MXE, a cross compiler environment creating Windows esecutables on Linux
Clone MXE respository. Use highperformancecoders fork, as it contains needed packages not in the official mxe fork
- git clone https://github.com/highperformancecoder/mxe.git
Install necessary libraries:
- cd mxe
- make boost gsl muparser qwt5_qt5 qwtplot3d
Note: currently python support is unavailable with MXE.
Configure scidavis for MXE. If the location of your MXE dist is MXE_HOME, do
- $MXE_HOME/usr/bin/i686-w64-mingw32.static-qmake-qt5 CONFIG+=mxe
- make qmake
- sip generated code incorrectly attempts to assign a nullptr to an integer field. Change it to 0.
Copy the scidavis directory to a Windows machine
Create the install shield from scidavis top level directory
- start cygwin bash shell
- cd scidavis
- sh makeMsi.sh
Do a test from the command prompt with
- msiexec -i scidavis-XXX.msi
Windows - old installation notes for historical reference
- Download the “Qt/Windows Open Source Edition” from http://www.qtsoftware.com/downloads/opensource/appdev/windows-cpp. It comes with a graphical installer. When the Qt installer asks you to install MinGW, say yes unless you already have it on your system. In that case you have to tell the Qt installer where to find it. In the case that PyQt (see blow) does not yet support the latest version of Qt, you can get older versions here: ftp://ftp.trolltech.com/qt/source/.
- Download Python from http://www.python.org/download/ and install it.
- Download the source code of SciDAVis from http://scidavis.sourceforge.net/download.html and unpack it.
- Download the SIP source code for Windows from http://www.riverbankcomputing.co.uk/software/sip/download and unpack it into the 3rdparty subfolder of the SciDAVis package. Rename the “sip-x.y” directory that gets created to “sip”.
- Download the PyQt v4 source code for Windows from http://www.riverbankcomputing.co.uk/software/pyqt/download and unpack it into the 3rdparty subfolder of the SciDAVis package. Rename the “PyQt-win-gpl-x.y.z” directory that gets created to “PyQt-win-gpl”.
- Download the “Developer files” of the GSL from http://gnuwin32.sourceforge.net/packages/gsl.htm and unpack them into the 3rdparty subfolder of the SciDAVis package.
- Download the source code of the latest version of Qwt from http://sourceforge.net/project/showfiles.php?group_id=13693 and unpack it into the 3rdparty subfolder of the SciDAVis package. Rename the “qwt-x.y.z” directory that gets created to “qwt”.
- Download the source code of QwtPlot3D from http://qwtplot3d.sourceforge.net/web/navigation/download_frame.html and unpack it into the 3rdparty subfolder of the SciDAVis package.
- Download the source code of muParser from http://sourceforge.net/project/showfiles.php?group_id=137191 and unpack it into the 3rdparty subfolder of the SciDAVis package. Rename the “muparser_vxyz” directory that gets created to “muparser”.
- Open the start menu, find the folder created by the Qt SDK and start a “Qt Command Prompt”. Execute “cd ”, then “build”. SciDAVis and its dependencies should be built automatically and installed into the directory “output”.
Mac OS X - MacPorts instructions
These notes refer to use MacPorts. Using other build environments such as HomeBrew is presumably equally as viable, but you may need to hack the config files a bit.
Install XCode and XCode command line tools
If you want to be able to run your build on an earlier version of MacOSX than your build machine, see How to build a Macintosh executable that will run on older versions of MacOSX.
Install the prerequisites for scidavis.
- port install qt4-mac qwt52 qwtplot3d boost gsl py27-pyqt4 py-pyqwt py27-sip muparser
Sadly, you may need to do this step multiple times before eveything is installed
- link sip-2.7 share directory to where sip expects it to be:
ln -sf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/sip /opt/local/share/py27-sip
- Add qt’s bin directory to your PATH
- Configure scidavis
- Build scidavis
- Create the installable package
Forums and mailing lists:
If you want to discuss SciDAVis with other users (or the developers) or if you are insterested in its further development, you can go to the SciDAVis forum or subscribe to the SciDAVis mailing list.
SciDAVis is distributed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. A copy of this license is provided in the file
Thus it is “free software”. “Free software” is a matter of liberty, not price. To understand the concept, you should think of “free” as in “free speech”, not as in “free beer”. “Free software” is also often called Open Source, FOSS, or FLOSS. When we say that SciDAVis is “free”, we are talking about
- The freedom to run the program, for any purpose (freedom 0).
- The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this.
- The freedom to redistribute copies so you can help your neighbor (freedom 2).
- The freedom to improve the program, and release your improvements to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this.
That said, SciDAVis is also free as in “free beer”. We do not charge money for anything you can download on our homepage and we will not do so in the future. See here for why we can do this and why we’re working on SciDAVis.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.