Open aalex opened 9 years ago
Maybe comment out the header, or install Debian's packages. http://forum.odroid.com/viewtopic.php?f=77&t=5328
We must build it against OpenGL ES for ARM. Something like /usr/lib/arm-linux-gnueabihf/libGLESv2.so - trying to find how to make qmake do this.
OpenGL ES (1.1 or 2.0) do not have inmediate mode. glBegin and glEnd are not available there. It's not possible to use glBegin(GL_QUADS) there.
I made some rought changes to build it. Commented out some OpenGL code. It should draw anything. See branch port-opengles-odroid. https://github.com/mapmapteam/mapmap/tree/port-opengles-odroid
It builds, but segfaults when calling eglInitialize () from /usr/lib/arm-linux-gnueabihf/mali-egl/libmali.so.
@aalex Do we really still want that for 0.3? Otherwise either move it to 0.4 or perhaps remove from milestones.
I'm actually gonna remove from 0.3 put it back if you think it's necessary.
Here is a Vagrant box (to use with VirtualBox and Ansible) that will allow you to run an OS for ARM on your fast desktop computer. https://github.com/twobitcircus/rpi-build-and-boot
I did a lot of progress on the rapsbian
branch.
Currently there is a branch
raspbian
which compiles and runs on the Pi, however GLES still not works.