[go: up one dir, main page]

Menu

[r320]: / release-5 / INSTALL  Maximize  Restore  History

Download this file

54 lines (28 with data), 1.3 kB

Tested systems: Ubuntu >= 12.04, Mint 14+, Fedora Core 18, Mac OS X.


The library requires some pre-requisites. On Ubuntu (or distros with similar
repository names), you can install all required packages available on apt
via the script

> ./install_dependencies_ubuntu.sh

You will need the newest nVidia driver and CUDA toolkit.
To install that one via a ppa repository, use

> ./install_nvidia_driver_ubuntu.sh


Note that with cocolib release 5, the dependency on cuDPP was removed, it
does not need to be installed separately anymore.



After all dependencies are there, you need to run the configure script:

> ./configure.sh

It will (try to) tell you if any prerequisites are not met yet.

If every check was successful, you can build the library and all examples
via

> make



If you managed to successfully build cocolib,
I suggest you change directory to "examples" and run
the test scripts for the library to make sure it was built
correctly.

> cd examples
> ./test_cocolib_quick.sh


This will test only the fast algorithms, and should complete in
1-2 minutes. To also test the more sophisticated algorithms, run

> ./test_cocolib.sh

This will take about 15 minutes.



For testing the light field code, see the additional README in
the lightfields subdirectory or online documentation on sourceforge.