This tutorial will show you step by step how to compile ParaViewGeo from source code using Ubuntu machine.
1- Install python-dev package:
sudo apt-get install python-dev
2- Install build-essential package:
sudo apt-get install build-essential
3- Install cmake and ccmake:
sudo apt-get install cmake
sudo apt-get install ccmake
4- Install the right version of Qt libraries. For ParaViewGeo 3.10, use Qt 4.6 (test with Qt 4.6.2)
5- Suppose your source code is in /pvg/src. Create a build directory:
6- Create the build files using cmake:
7- Press “C” to configure.
8- Turn ON the following options:
9- Press “C” again and when cmake is done press “G” to generate the build files.
10- Compile (takes one to two hours usually)
11- When the compilation is done with no errors, add PV_PLUGIN_PATH variable to your path
Your will find a shorcut for ParaViewGeo in the /build/bin directory.
The following applies to ParaviewGeo 3 only:
12- To load ParaViewGeo plugins, once you started ParaViewGeo:
- press tools->Manage Plugins
- select the plugins with the names starting with StableFilters, StableReaders and StableWriters.
- press “Load Selected” Button.
If you want the plugins to be loaded automatically, there is a checkbox associated with each plugin in the “Manage Plugins” window that you can check.