You are currently viewing a single post of this guestblog.

Click here to go back the complete page. I would be glad to hear your comments, so don’t hesitate to leave me your feedback below. It will appear on the main guestblog page.

in categories  linux  opensource  blender  permalink:  177   posted on 03.12.2011 18:41
From Yorik

Compiling YafaRay

I had to dig through several places to find the right info and tweak things a bit, so here goes the resume. This is on debian testing but should work on any updated linux distribution. I didn't have to install any extra libs, I suppose that if you can compile cycles you'll already have all you need...
cd ~/Sources
git clone git://github.com/YafaRay/Core.git YafaRay
cd YafaRay
git clone git://github.com/YafaRay/Blender-2.5-Exporter.git Exporter
cp CMakeConfig/UserConfig.template UserConfig.txt
Change the following values in UserConfig.txt
set(USER_INSTALL_PREFIX "/home/yorik/Apps/YafaRay")
Then go on (I prefer to build outside of the source folder):
cd ~/Apps
mkdir YafaRay
cd YafaRay
cmake ../Sources/YafaRay
make install
Then link evrything in blender scripts folder:
cd bin
ln -s ../src/bindings/yafrayinterface.py
ln -s ../src/bindings/_yafrayinterface.so
ln -s ../src/bindings/_yafqt.so
ln -s ../lib/libyafaraycore.so
ln -s ../lib/libyafarayplugin.so
ln -s ../lib/libyafarayqt.so
ln -s ../lib/yafaray plugins
cd ~/.blender/scripts/addons
ln -s ~/Sources/YafaRay/Exporter yafaray
cd yafaray
ln -s ~/Apps/YafaRay/bin

First and foremost, your name:

And your message:

To publish it, just press this ...