So my environment is Ubuntu running on an ARM7l with OpenGL ES 2 hardware support.
Here are the steps I've taken:
1) Checkout the SVN version of Irrlicht
2) Install the libgles2-mesa-dev package from the Ubuntu Repositories
3) Modify the IrrCompileConfig.h file to define OGLES2 defines
4) Modify CIrrDeviceLinux.cpp to define "createOGLES2Driver" and then define it based on the GLES1 version of this method
5) Modify the Irrlicht Makefile to point to the libgles2-mesa-dev headers and libraries.
6) "make" the Irrlicht Static Library.
7) Attempt to "make" the example 07.Collison
This step fails with 3 pages of errors staring with:
Can anyone see what I should do to compile the example successfully?g++ -I../../include -I/usr/X11R6/include -O3 -ffast-math main.cpp -o ../../bin/Linux/07.Collision -L/usr/X11R6/lib -L../../lib/Linux -lIrrlicht -L/usr/lib -lGLES_CM -lXxf86vm -lXext -lX11 -lXcursor
../../lib/Linux/libIrrlicht.a(COGLES2Driver.o): In function `COGLES2Driver':
/media/restore/pandaboard/irrlichtogles/irrlicht/branches/ogl-es/source/Irrlicht/COGLES2Driver.cpp:154: undefined reference to `eglBindAPI'
/media/restore/pandaboard/irrlichtogles/irrlicht/branches/ogl-es/source/Irrlicht/COGLES2Driver.cpp:154: undefined reference to `eglBindAPI'
../../lib/Linux/libIrrlicht.a(COGLES2Driver.o): In function `irr::video::COGLES2Driver::genericDriverInit(irr::core::dimension2d<unsigned int> const&, bool)':
/media/restore/pandaboard/irrlichtogles/irrlicht/branches/ogl-es/source/Irrlicht/COGLES2Driver.cpp:224: undefined reference to `irr::video::COGLES2FixedPipelineShader::COGLES2FixedPipelineShader(irr::video::COGLES2Driver*, irr::io::IFileSystem*)'
/media/restore/pandaboard/irrlichtogles/irrlicht/branches/ogl-es/source/Irrlicht/COGLES2Driver.cpp:225: undefined reference to `irr::video::COGLES2SLMaterialRenderer::useProgram()'
/media/restore/pandaboard/irrlichtogles/irrlicht/branches/ogl-es/source/Irrlicht/COGLES2Driver.cpp:227: undefined reference to `irr::video::COGLES2Renderer2d::COGLES2Renderer2d(irr::video::COGLES2Driver*, irr::io::IFileSystem*)'
/media/restore/pandaboard/irrlichtogles/irrlicht/branches/ogl-es/source/Irrlicht/COGLES2Driver.cpp:265: undefined reference to `glUseProgram'
../../lib/Linux/libIrrlicht.a(COGLES2Driver.o): In function `irr::video::COGLES2Driver::createMaterialRenderers()':
/media/restore/pandaboard/irrlichtogles/irrlicht/branches/ogl-es/source/Irrlicht/COGLES2Driver.cpp:303: undefined reference to `irr::video::COGLES2NormalMapRenderer::COGLES2NormalMapRenderer(irr::video::COGLES2Driver*, irr::io::IFileSystem*, int&, irr::video::IMaterialRenderer*)'
/media/restore/pandaboard/irrlichtogles/irrlicht/branches/ogl-es/source/Irrlicht/COGLES2Driver.cpp:305: undefined reference to `irr::video::COGLES2NormalMapRenderer::COGLES2NormalMapRenderer(irr::video::COGLES2Driver*, irr::io::IFileSystem*, int&, irr::video::IMaterialRenderer*)'