I tried to build cog with OpenEmbedded instead of Torizon, but I can’t proceed with an error.
I just added the following two lines to local.conf.
PLL_PROVIDER_virtual / wpebackend = “wpebackend-fdo”
IMAGE_INSTALL + = “wpewebkit cog”
Reference page
Palease help me.
Build environment ubunt 18.04 (WLS2)
python2.7
BSP version 3.0
It doesn’t look like there is a syntax error.
Am I making a mistake in the settings?
log.do_compile
・・・
In file included from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/recipe-sysroot/usr/include/X11/Xlib.h:44,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:144,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/GLContext.h:33,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.h:23,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/texmap/GraphicsContext3DTextureMapper.cpp:33:
/home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/rendering/style/RenderStyleConstants.h:70:5: error: expected identifier before numeric constant
None = 0,
^~~~
/home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/rendering/style/RenderStyleConstants.h:70:5: error: expected ‘}’ before numeric constant
In file included from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/animation/Animation.h:28,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/GraphicsLayer.h:28,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/texmap/TextureMapperAnimation.h:23,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:37,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/nicosia/texmap/NicosiaContentLayerTextureMapperImpl.h:33,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/nicosia/texmap/NicosiaGC3DLayer.h:34,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/texmap/GraphicsContext3DTextureMapper.cpp:57:
/home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/rendering/style/RenderStyleConstants.h:69:52: note: to match this ‘{’
enum class StyleDifferenceContextSensitiveProperty {
^
In file included from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/recipe-sysroot/usr/include/X11/Xlib.h:44,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:144,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/GLContext.h:33,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.h:23,
from /home/ana-rd/oe-core/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/wpewebkit/2.24.2-r0/wpewebkit-2.24.2/Source/WebCore/platform/graphics/texmap/GraphicsContext3DTextureMapper.cpp:33:
・・・
RenderStyleConstants.h
・・・
// When some style properties change, different amounts of work have to be done depending on
// context (e.g. whether the property is changing on an element which has a compositing layer).
// A simple StyleDifference does not provide enough information so we return a bit mask of
// StyleDifferenceContextSensitiveProperties from RenderStyle::diff() too.
enum class StyleDifferenceContextSensitiveProperty { <error
None = 0, <error
Transform = 1 << 0,
Opacity = 1 << 1,
Filter = 1 << 2,
ClipRect = 1 << 3,
ClipPath = 1 << 4,
WillChange = 1 << 5,
};
・・・