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 4
- Qwt version 5
For the optional Python scripting feature, you also need:
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
Install necessary libraries:
- cd mxe
- make boost gsl muparser qwt5_qt4 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-qt4 CONFIG+=mxe
- make qmake
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.
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
- Add qt's bin directory to your PATH
- Configure scidavis
- qmake CONFIG+=osx_dist
- Build scidavis
- make qmake
- Create the installable package
- sh mkMacDist.sh
Forums and mailing lists:
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.