mitsuba-renderer / nanogui

Minimalistic C++/Python GUI library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL
Other
1.51k stars 189 forks source link

Building for ARM GLES2 without X11 #30

Open FaberfoX opened 4 years ago

FaberfoX commented 4 years ago

Can this be done? Right now, the CMake file lists X11 and quite a few other libs as dependencies for both Linux and BSD. I'm targetting "theC64 mini", it uses an Allwinner A20 (Dual Cortex A-7, Mali-400) that supports GLES2 but struggles with X due to limited RAM. I know for a fact GLES2 works without X, the default interface ("carousel") uses it, and I have compiled and run the samples from ARM's hard to find GLES2 SDK (found via google cache here: https://developer.arm.com/-/media/Files/downloads/mali-sdk/v2.4.4/Mali_OpenGL_ES_SDK_v2.4.4.ef7d5a_Linux_x64.tar.gz )

Fredrum commented 2 years ago

I'm also interested to know the same thing. Can nanogui work without X11? (Or Wayland)

Cheers!