This package includes the source files of a stand alone library tgraph,
the editor pigale and the client program
and the souces of the freeglut library
The editor and the client use the Qt4 toolkit and
the OpenGL libraries for the 3-dimensional drawings.
freeglut library (used to display text in the 3d drawings),
(freeglut)
Linux and Mac OSX
Automatic configuration
Pigale uses GNU configure for the compilation and installation configurations.
Run the configure script: ./configure [options]
By default, the prefix for installation is /usr/local/pigaleXXX.
If you don't have a write permission, you must provide another directory where
you have a write permission: ./configure --prefix=$PWD.
Usually the location of the installation of Qt is defined by the environment variable QT4DIR.
If you are using Ubuntu and want to use the already installed
Qt4 package use the following option ./configure --enable-ubuntu.
You must habe installed the libqt4-devlibqt4-opengl-dev packages;
For more options run: ./configure --help
These options, in particular, let you define the prefix, the mode (debug) etc.
Next run the following commands:
make
make install
If the prefix points to the directory containing the sources of Pigale, you do not need
to run make install (pigale will be in prefix/qt).
If automake complains, you may try to execute: aclocal && automake -ac && autoconf
before running ./configure
The following directories are created during the installation:
$prefix/bin (programs)
$prefix/lib (libraries)
$prefix/translations (translations)
$prefix/Doc (documentation)
$prefix/tgf (graph files)
$prefix/macro (macros)
Manual configuration
On most distributions Qt4 is installed,
but some Qt4 tools might have been renamed.
In such case, you may
Edit the file pigale.inc
Edit the file runqmake.sh to provide the right qmake command to use.
Run ./runqmake.sh to create the Makefiles
In the directories tgraph, freeglut, qt and
ClientServer run:
make
Mac OSX (tested On Snow Leopard)
The automatic configuration suppose the standard QT installation as provided by NOKIA,
We use the freeglut library distributed with OSX.
Xcode project files are also created during the configuration
Qt-4.6.X or Qt-4.8.X toolkit corresponding to the compiler.
To compile Pigale from the sources with command lines (MinGW):
edit wpigale.inc
(to precise your Qt installation directory and pigale prefix),
open a terminal
run wset.bat to set some global variables,
run wqmake.bat to create the Makefiles,
run wmake.bat install.
or using QtCreator:
edit wpigale.inc
open pigale.pro with QtCreator
or using Microsoft Visual Studio 2010:
edit wpigale.inc
edit wsetMSCV.bat
open a terminal
run wsetMSCV.bat to set some global variables,
run wqmakeMSCV.bat to create the project files (you may have to run it twice),
open pigale.sh with Microsoft Visual Studio
The installation creates three excutables: pigale, client and usingtgraph).
There is also the possibility to create pigale.cgi to be used with a web server.