Issues with building for the RPi

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
zer0def
Posts: 4
Joined: Tue Dec 31, 2013 12:41 pm

Issues with building for the RPi

Post by zer0def »

I've been recently trying to compile Irrlicht for the RPi, after trying to adapt hybrid's patch (http://pastebin.com/arTJ2Ug3) to the current svn repo revision. The patch can be found at http://pastebin.com/aCw4tapA. The below doesn't apply anymore - got to a state where the engine renders directly to screen, which at least is a starting point.

The lib builds without hiccups, however when attempting to build any of the examples, the linker throws a fit like so:

Code: Select all

g++ -I/usr/X11R6/include  -I/usr/include/irrlicht -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -O3 -ffast-math main.cpp -o ../../bin/Linux/01.HelloWorld -lIrrlicht -L/root/irrlicht/SDKPackage-ogles1/Builds/OGLES/LinuxPC/Lib -L/opt/vc/lib -lEGL -lGLESv2 -L/usr/X11R6/lib -lXxf86vm -lXext -lX11 -lXcursor -lz -lpng -ljpeg -lbz2
/usr/lib/gcc/armv6l-unknown-linux-gnueabihf/4.7.2/../../../libIrrlicht.so: undefined reference to `irr::video::createOGLES1Driver(irr::SIrrlichtCreationParameters const&, irr::video::SExposedVideoData&, irr::io::IFileSystem*)'
zer0def
Posts: 4
Joined: Tue Dec 31, 2013 12:41 pm

Re: Issues with building for the RPi

Post by zer0def »

Updated with proper, hackish, somewhat working patch for r4621.
Post Reply