|
发表于 2016-6-1 15:03:01
只看该作者
11#
对于ubuntu跑opengl demo测试出现如下:
root@firefly:/walkera/app/mali_opengl_sdk/opengles_30/skybox# sudo ./skybox
Error: eglGetError(): 12289 (0x3001)
Error: Failed to initialize EGL at ../../../../samples/opengles_30/skybox/EGLRuntime.cpp:243
root@firefly:/walkera/app/mali_opengl_sdk/opengles_30/skybox# ldd skybox
塴ibGLESv2.so => /usr/lib/libGLESv2.so (0xb5db0000)
libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb5d04000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb5c98000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb5c77000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb5b90000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb5b82000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb5b66000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb5b5b000)
/lib/ld-linux-armhf.so.3 (0xb6fbe000)
如何解决?
我目前已经chmod 777 /dev/mali0
chmod 777 /dev/fbx
同时我也是root用户权限。
|
|