/opt/webkit/Source/WebCore/platform/graphics/gstreamer/ImageGStreamerQt.cpp:33:1: error: no declaration matches ‘WebCore::ImageGStreamer::ImageGStreamer(GstSample*)’
33 | ImageGStreamer::ImageGStreamer(GstSample* sample)
| ^~~~~~~~~~~~~~
In file included from /opt/webkit/Source/WebCore/platform/graphics/gstreamer/ImageGStreamerQt.cpp:21:
/opt/webkit/Source/WebCore/platform/graphics/gstreamer/ImageGStreamer.h:38:7: note: candidates are: ‘WebCore::ImageGStreamer::ImageGStreamer(const WebCore::ImageGStreamer&)’
38 | class ImageGStreamer : public RefCounted<ImageGStreamer> {
| ^~~~~~~~~~~~~~
/opt/webkit/Source/WebCore/platform/graphics/gstreamer/ImageGStreamer.h:66:5: note: ‘WebCore::ImageGStreamer::ImageGStreamer(WTF::GRefPtr<_GstSample>&&)’
66 | ImageGStreamer(GRefPtr<GstSample>&&);
| ^~~~~~~~~~~~~~
/opt/webkit/Source/WebCore/platform/graphics/gstreamer/ImageGStreamer.h:38:7: note: ‘class WebCore::ImageGStreamer’ defined here
38 | class ImageGStreamer : public RefCounted<ImageGStreamer> {
| ^~~~~~~~~~~~~~
I can workaround it, by putting ImageGStreamer(GstSample* sample); into the public section of ImageGStreamer.h, but then at the final linking i will get an additional error message:
/usr/bin/ld: ../../lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/gstreamer/VideoFrameGStreamer.cpp.o: in function `WebCore::GstSampleColorConverter::convertSampleToImage(WTF::GRefPtr<_GstSample> const&)':
/opt/webkit/Source/WebCore/platform/graphics/gstreamer/ImageGStreamer.h:42: undefined reference to `WebCore::ImageGStreamer::ImageGStreamer(WTF::GRefPtr<_GstSample>&&)'
OS is Debian 11, AMD64. Compiler is GCC 10. Qt is 5.15.2.
During compiling, i get this error message:
I can workaround it, by putting
ImageGStreamer(GstSample* sample);
into the public section ofImageGStreamer.h
, but then at the final linking i will get an additional error message:OS is Debian 11, AMD64. Compiler is GCC 10. Qt is 5.15.2.
Further information is available at https://github.com/qtwebkit/qtwebkit/issues/1094