projectchrono/chrono — pull request #25 by scpeters (2014-08-19 23:31:09+00:00)
Title: Fix irrlicht demos on osx by using absolute path to data folder

Many of the irrlicht demos don't work correctly on osx, specifically the ones that try to load resources from the `data` folder:
~~~
Could not open file of texture: ../data/logo_chronoengine_alpha.png
Could not open file of texture: ../data/skybox/sky_lf.jpg
Could not open file of texture: ../data/skybox/sky_dn.jpg
~~~

@hmazhar suggested that this is a problem with irrlicht using the wrong relative path. This fixes the problem by computing the absolute path of the installed data folder. It works for me on osx, though it requires `make install` before the demos can be run. I haven't tested on Ubuntu or Windows.