Compilation and Installation
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.
(Versions prior to 1.3 uses Qt3).
Linux
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=/home/a_directory.
- Usually the location of the installation of Qt is defined by the environment variable QT4DIR.
- For more options run: ./configure --help
These options, in particular, let you define the prefix, the mode (debug, static) 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 repertories are created during the installation:
- $prefix/bin (programs)
- $prefix/lib (libraries)
- $prefix/translations (translations)
- $prefix/Doc (documentation)
- $prefix/tgf (graph files)
- $prefix/macro (macros)
This program has also been compiled under different UNIX systems, using the gcc compilers.
Windows
Pigale has been compiled with the following:
- gcc compiler in the MinGW environment MinGW,
- Qt-4.3.X toolkit Qt download page (where you
may also download MinGW),
To compile Pigale from the sources:
- edit wpigale.inc (to precise your Qt installation repertory and pigale prefix),
- run wset.bat to set some global variables,
- run wqmake.bat to create the Makefiles,
- run wmake.bat install.
The installation creates the same repertories as under Linux.
Warning
While compiling and installing, you should not have a sh.exe in your path.
Using tgraph with Microsoft Visual C++
In the repertory tgraph, the file tgraph-VisualC++-X.vcproj can be used to create the
tgraph.lib library.
Last modified: Tue Jan 29 12:02:30 CET 2008
