LibTrace
Installation
Downloading
The source code is available in several ways:
- CVS
This will get you the very latest source code but is the most hassle. This may contain code in development that doesn't work.
- CVS snapshot (daily)
This is a snapshot of the CVS taken daily. This is the recommended option if you want to quickly get the latest version.
This may also contain code that is still in development.
- File releases
These are files that are released every time that the project has had some new features implemented and is considered stable.
This is the best option if you want stable source code.
Building
Once you've downloaded the source code and uncompressed it (if necessary) you now have to build it.
The raytracer is split into several pieces which need to be build seperately:
- timer is a small timing library, not strictly needed at all but never mind.
- ppm is a small library for reading/writing ppm files.
- trace is the library itself.
- tracetest is a small program to test that the library is functioning properly.
Simply type "make
" in each directory in the order given above.
That's as far as I go with installation. I suppose you could place the final libraries into "/usr/lib
"
or something like that but they are only static libraries anyway.