cog
cog copied to clipboard
Can't build cog without libgbm, which isn't available on i.MX6 boards
The title says it all. I think I read somewhere that WPEWebkit explicitly support i.MX6 and i.MX8 platforms. How to build without the availability of libgbm on the i.MX6?
You omit to say what is your build environment though? OE? buildroot? something else? And on i.MX6 you have 2 options for the gfx driver, vivante or etnaviv. Which one are you targeting?
@jclsn You can find the compatibility table here: https://wpewebkit.org/about/supported-hardware.html#nxp
As stated there, with Etnaviv both the Wayland and DRM platform plug-ins will work, while with the proprietary driver only the Wayland one is supported — building the DRM one indeed needs libgbm!
You can pass -DCOG_PLATFORM_DRM=OFF to CMake and that will skip building the DRM plug-in. Configuring the build like that will make it succeed with the Vivante proprietary driver.