Hello. I have a problem while trying build OpenGL-fbdev application.
I got undefined reference to `fbGetDisplayByIndex' and undefined reference to `fbCreateWindow' errors.
It looks like there are i.MX Framebuffer (FB) API functions calls in my source code:
#ifdef EGL_API_FB
nativeDisplayType = fbGetDisplayByIndex( 0 );
#endif#if (defined EGL_API_FB)
else if ( strstr( eglVendor, "Vivante" ))
{
eglNativeWindowType = fbCreateWindow( nativeDisplayType, 0, 0, 0, 0 );
}
#endif
I have standard distro: Yogurt
Distro version: BSP-Yocto-i.MX6-PD18.1.2
and standard SDK version:
machine name: phyflex-imx6-1
Where can i get correct libEGL.so ?
It looks like libEGL.so have no fbGetDisplayByIndex and fbCreateWindow functions - i think i need rebuild SDK for using FrameBuffer but not X11 or Wayland - how can i do it ?
i successfully built binary file using gpu-viv-bin-mx6q-fb component taken from here:
http://tardis.tiny-vps.com/aarm/packages/g/gpu-viv-bin-mx6q-fb/
i changed libEGL.so.1 and libGAL.so libraries on host computer and build was successful.
i changed libEGL.so.1 and libGAL.so libraries on target IMX6 computer
after that i copied binary file to target imx6 computer and got segmentation fault.
i think i need install gpu-viv-bin-mx6q-fb component into target computer by some way
Hello Mav,
This is work in MX6QSabre board, i guess you migth consult with phytec
https://www.phytec.com/product/phyflex-imx6/
Regards