Greetings,
I am trying to run sample code for Mali_OpenGL_ES_SDK_v2.4.4 on a SAMSUNG ARM Chromebook.
I was able to run examples for OpenCL SDK 1.1.0 following
Random ideas of a drinking cat: OpenCL on the Samsung Chromebook ARM, under crouton
This leads me to believe I downloaded the proper user side mali drivers.
I set BASH shell variables:
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/home/mfilmore/Mali/lib/x11
export TOOLCHAIN_ROOT=/usr/bin/
export TARGET=arm
export DISPLAY=:0.0
I followed
Mali_OpenGL_ES_SDK_v2.4.4/docs/html/quick_start.html
to compile samples.
Samples fail to run based on unable to initialize openGL ES:
======================
(trusty)mfilmore@localhost:~/Mali/Mali_OpenGL_ES_SDK_v2.4.4/bin_arm/opengles_20/antialias$ ./antialias
No protocol specified
Error: eglGetError(): 12289 (0x3001)
Error: Failed to initialize EGL at ../../simple_framework/src/EGLRuntime.cpp:245
This leads me to believe the code is having a problem initializing the display.
Can some kind person help me out here?
Thanks much,
-Mike
Hi Mike,
Chris is right that by default the CMake build system targets fbdev when cross compiling for an ARM target. When it builds targeting the emulator, however, you can see that it builds and links against X11. If you modify the CMake file it is possible to make it build for X11 when targeting arm too.
Hope this helps,
Rich