Compiling Freestyle for Blender on Ubuntu 8.10


I’m new here, so HI ALL :smiley:

I’m trying to compile Freestyle the NPR render to play around with in Blender. There is only a Windows version of it, and I’m using Ubuntu 8.10.

As far as I can tell I’ve installed all the required libraries, though from the Ubuntu repositories, so most of them are a bit newer than the ones required by Freestyle.

I’m a bit unsure of step 2 in the instructions, but I think I’ve got it right. If someone wants to post their libconfig.pri file for Ubuntu then please do.

Now when I try to run make I get the following output.

ragtag@vintage:~/incoming/tmp/freestyle.2.2.0-src/src$ make
cd system && make -f Makefile
make[1]: Entering directory `/home/ragtag/incoming/tmp/freestyle.2.2.0-src/src/system'
g++ -c -pipe -g -Wno-deprecated -w -O3 -funroll-loops -fomit-frame-pointer -ffast-math -march=i686 -D_REENTRANT -fPIC  -DLINUX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/python2.5 -I/usr/include/qt3 -o ../../build/linux-g++/release/obj/StringUtils.o ../system/StringUtils.cpp
../system/StringUtils.cpp: In function ‘void StringUtils::getPathName(const std::string&, const std::string&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)’:
../system/StringUtils.cpp:39: error: ‘class QFileInfo’ has no member named ‘absoluteFilePath’
make[1]: *** [../../build/linux-g++/release/obj/StringUtils.o] Error 1
make[1]: Leaving directory `/home/ragtag/incoming/tmp/freestyle.2.2.0-src/src/system'
make: *** [sub-system] Error 2

Could anyone please point me in the right direction.

Is it because I have a newer version of Qt, and the QFileInfo class has changed or am I doing something else wrong?