
	
	Compilation Instructions for PIXIE

	Requirements:
	- libtiff:    Available from http://www.libtiff.org
	- flex/bison: Available on Unix platforms by default. You will have to search the internet to find the windows version. (available for free).
	- fltk:       Available from http://www.fltk.org This is only required if you want to compile the interactive viewer. This library is not required by the renderer.


	Compiling Pixie is a two step process:
	1. Compilation
	2. Creating a binary distribution


-------->Compiling on Windows:

	With Visual Studio .NET
	- Open PIXIEHOME/windows/vcnet/Pixie/Pixie.sln
	- Select Build -> Batch Build
	- Select the configurations to build
	- Hit "Build"

	With Visual Studio 6.X
	- Open PIXIEHOME/windows/vc6/Pixie/Pixie.dsw
	- Select Build -> Batch Build
	- Select the configurations to build
	- Hit "Build"

	After compilation
	- PIXIEHOME/bin will contain the binaries
	- execute PIXIEHOME/makeinst.bat
	- Your binary distribution is in PIXIEHOME/Pixie


-------->Compiling on UNIX:

	For a self contained archive
	- go to PIXIEHOME
	- type "./configure --prefix=XXX --enable-selfcontained"
	  (XXX = the directory to put Pixie. e.g. /tmp/Pixie)
	- type "make"

	After compilation
	- type "make install"
	- Your binary distribution is in XXX

	Now you can take your binary distribution and move it anywhere. This is your new PIXIEHOME. This binary distribution should have the same directory structure and the same files no matter what platform you're on.

	
	No matter what compiler you're using, Pixie takes quite long time to compile. This is primarily due to the massive amount of macros to make the renderer as efficient as possible. Some of the files that especially take long time are execute.cpp and stochastic.cpp. Just take your time, go to your favorite cafe and enjoy a nice cup of Java.

	Have fun ....
	Okan Arikan
