/*******************************************************************************
**              T H E        J A H S H A K A      P R O J E C T                *
**                                                                             *
**                        http://www.jahshaka.com                              *
*******************************************************************************/


/*******************************************************************************
Instructions for Compiling Gpu and Gpgpu Effects
using Jahshaka1.9a75
*******************************************************************************/

Note that to build jahshaka you will need to have glut installed on your system, 
as well as Qt 3.0.x or greater, FreeType 2.0 or greater and OpenGL or Mesa

/*******************************************************************************
SETTING UP LIBRARIES
*******************************************************************************/

Before compiling jahshaka for Gpu accelerated effects you will need to use our 
glext.h and nv30glext.h header files. They are located in the jahshaka root, 
in the jah/libraries folder

ie

>cd jahshaka/jah/libraries
>ls
...
>glext.h
>nv30glext.h
...

you will need to copy these into your OpenGL folder. 

This should be located in:

/usr/include/GL

*Note: You may want to back up the glext.h header file you currently have by 
renaming it glext.h.bak

/*******************************************************************************
UPDATING SETTINGS
*******************************************************************************/

STEP 1

To change the jahshaka compile options you must edit the jahshakaSettings.pro file 
in the jahshaka root directory.

>cd jahshaka
>vi jahshakaSettings.pro

*Note:You can use the editor of your choice, here we are using vi

STEP 2

The different compile time options are at the top of the jahshakaSettings.pro file. 
Scroll down to line 28 and you can set either GPU or GPGPU support by changing 
the associated value to 'true'

#for Nvidia GPU support
NVIDIA_GPU = false

#for Nvidia GPGPU support
NVIDIA_GPGPU = false

*Note that you cant set both to true or jahshaka will no compile.

STEP 3

Save the changes to the jahshakaSettings.pro config file

/*******************************************************************************
BUILDING JAHSHAKA
*******************************************************************************/

STEP 4

Run the jahshaka configure script located in the jahshaka root directory

>./configure

STEP 5

make the jahshaka executable

>make

6. run jahshaka

>./jahshaka

*Note: you can run jahshaka in debug mode by typing

>./jahshaka debug

or if you are having problems running the binary you can save a error log to your /tmp 
by adding 'file' to the runtime options, and then email it to us at jahshaka@users.sourceforge.net

>./jahshaka debug file


Thanks

The Team
The Jahshaka Project