Discussion:
[directfb-users] WebKit DFB compilation fails
Kamil Gołuński
2012-09-11 09:07:50 UTC
Permalink
Hi,

I have tried to compile WebKitDFB from
http://git.directfb.org/projects/libs/WebKitDFB with HEAD of
'webkitdfb-20120627' branch with no succes.

I get following error:

CXX Source/WebCore/platform/graphics/libWebCore_la-MediaPlayer.lo
<command-line>:0:14: warning: missing terminating " character [enabled
by default]
Source/WebCore/platform/graphics/MediaPlayer.cpp:48:41: fatal error:
MediaPlayerPrivateGStreamer.h: No such file or directory
compilation terminated.
make[1]: *** [Source/WebCore/platform/graphics/libWebCore_la-MediaPlayer.lo]
Error 1

I used configuration from CONFIG file:

export PKG_CONFIG_PATH=/opt/directfb-1.6/lib/pkgconfig:/opt/webkit/lib/pkgconfig;
\
export LD_LIBRARY_PATH=/opt/directfb-1.6/lib; \
CXXFLAGS="-DDIRECT_ENABLE_DEBUG -DINSTRUMENT_LAYOUT_SCHEDULING" \
../autogen.sh \
prefix=/opt/directfb-1.6 \
--with-target=directfb \
--without-gtkplus \
--without-cairo-directfb \
--with-networking-backend=curl \
--enable-optimizations \
--disable-channel-messaging \
--enable-javascript-debugger \
--enable-offline-web-applications \
--enable-dom-storage \
--enable-database \
--disable-eventsource \
--disable-icon-database \
--enable-datalist \
--enable-video \
--disable-sandbox \
--enable-svg \
--enable-xpath \
--enable-xslt \
--enable-workers \
--enable-web-sockets \
--with-toolkit=lite

Any help would be appreciated. And thanks in advance.
Kamil Golunski
Marek Pikarski
2012-09-11 09:14:57 UTC
Permalink
Hi,
sorry you must configure with --enable-cairo-directfb
--with-cairo-directfb
to enable the
mediaplayer for now (will be fixed soon).
Regards Marek
Post by Kamil Gołuński
Hi,
I have tried to compile WebKitDFB from
http://git.directfb.org/projects/libs/WebKitDFB with HEAD of
'webkitdfb-20120627' branch with no succes.
CXX Source/WebCore/platform/graphics/libWebCore_la-MediaPlayer.lo
<command-line>:0:14: warning: missing terminating " character [enabled
by default]
MediaPlayerPrivateGStreamer.h: No such file or directory
compilation terminated.
make[1]: *** [Source/WebCore/platform/graphics/libWebCore_la-MediaPlayer.lo]
Error 1
export PKG_CONFIG_PATH=/opt/directfb-1.6/lib/pkgconfig:/opt/webkit/lib/pkgconfig;
\
export LD_LIBRARY_PATH=/opt/directfb-1.6/lib; \
CXXFLAGS="-DDIRECT_ENABLE_DEBUG -DINSTRUMENT_LAYOUT_SCHEDULING" \
../autogen.sh \
prefix=/opt/directfb-1.6 \
--with-target=directfb \
--without-gtkplus \
--without-cairo-directfb \
--with-networking-backend=curl \
--enable-optimizations \
--disable-channel-messaging \
--enable-javascript-debugger \
--enable-offline-web-applications \
--enable-dom-storage \
--enable-database \
--disable-eventsource \
--disable-icon-database \
--enable-datalist \
--enable-video \
--disable-sandbox \
--enable-svg \
--enable-xpath \
--enable-xslt \
--enable-workers \
--enable-web-sockets \
--with-toolkit=lite
Any help would be appreciated. And thanks in advance.
Kamil Golunski
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
... {it is} something unearthly ... If there are sentient beings on other planets, then they play Go.
- Emanuel Lasker, chess world champion
Kamil Gołuński
2012-09-12 08:14:31 UTC
Permalink
Hi,

Thanks, that solved previous problem. However now I'm getting following error:

Source/WebCore/platform/graphics/dfb/MediaPlayerPrivateDFB.cpp: In
member function 'virtual void WebCore::MediaPlayerPrivateDFB::play()':
Source/WebCore/platform/graphics/dfb/MediaPlayerPrivateDFB.cpp:670:26:
error: 'IDirectFBVideoProvider' has no member named 'SetDestination'
Source/WebCore/platform/graphics/dfb/MediaPlayerPrivateDFB.cpp: In
member function 'virtual void
WebCore::MediaPlayerPrivateDFB::paint(WebCore::GraphicsContext*, const
WebCore::IntRect&)':
Source/WebCore/platform/graphics/dfb/MediaPlayerPrivateDFB.cpp:984:26:
error: 'IDirectFBVideoProvider' has no member named 'SetDestination'

I'm building WebKit with DirectFB-1.6.1 release.

Thanks,
Kamil Gołuński
Post by Marek Pikarski
Hi,
sorry you must configure with --enable-cairo-directfb
--with-cairo-directfb
to enable the
mediaplayer for now (will be fixed soon).
Regards Marek
Post by Kamil Gołuński
Hi,
I have tried to compile WebKitDFB from
http://git.directfb.org/projects/libs/WebKitDFB with HEAD of
'webkitdfb-20120627' branch with no succes.
CXX Source/WebCore/platform/graphics/libWebCore_la-MediaPlayer.lo
<command-line>:0:14: warning: missing terminating " character [enabled
by default]
MediaPlayerPrivateGStreamer.h: No such file or directory
compilation terminated.
make[1]: *** [Source/WebCore/platform/graphics/libWebCore_la-MediaPlayer.lo]
Error 1
export PKG_CONFIG_PATH=/opt/directfb-1.6/lib/pkgconfig:/opt/webkit/lib/pkgconfig;
\
export LD_LIBRARY_PATH=/opt/directfb-1.6/lib; \
CXXFLAGS="-DDIRECT_ENABLE_DEBUG -DINSTRUMENT_LAYOUT_SCHEDULING" \
../autogen.sh \
prefix=/opt/directfb-1.6 \
--with-target=directfb \
--without-gtkplus \
--without-cairo-directfb \
--with-networking-backend=curl \
--enable-optimizations \
--disable-channel-messaging \
--enable-javascript-debugger \
--enable-offline-web-applications \
--enable-dom-storage \
--enable-database \
--disable-eventsource \
--disable-icon-database \
--enable-datalist \
--enable-video \
--disable-sandbox \
--enable-svg \
--enable-xpath \
--enable-xslt \
--enable-workers \
--enable-web-sockets \
--with-toolkit=lite
Any help would be appreciated. And thanks in advance.
Kamil Golunski
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
... {it is} something unearthly ... If there are sentient beings on other planets, then they play Go.
- Emanuel Lasker, chess world champion
Marek Pikarski
2012-09-12 08:32:20 UTC
Permalink
Hi,
unfortunately this new VideoProvider API came along with DFB 1.7 (make
scrolling of video window possible).

All you can do locally is to #ifdef 0 this code.
Regards, Marek
Post by Kamil Gołuński
Hi,
Source/WebCore/platform/graphics/dfb/MediaPlayerPrivateDFB.cpp: In
error: 'IDirectFBVideoProvider' has no member named 'SetDestination'
Source/WebCore/platform/graphics/dfb/MediaPlayerPrivateDFB.cpp: In
member function 'virtual void
WebCore::MediaPlayerPrivateDFB::paint(WebCore::GraphicsContext*, const
error: 'IDirectFBVideoProvider' has no member named 'SetDestination'
I'm building WebKit with DirectFB-1.6.1 release.
Thanks,
Kamil Gołuński
Post by Marek Pikarski
Hi,
sorry you must configure with --enable-cairo-directfb
--with-cairo-directfb
to enable the
mediaplayer for now (will be fixed soon).
Regards Marek
Post by Kamil Gołuński
Hi,
I have tried to compile WebKitDFB from
http://git.directfb.org/projects/libs/WebKitDFB with HEAD of
'webkitdfb-20120627' branch with no succes.
CXX Source/WebCore/platform/graphics/libWebCore_la-MediaPlayer.lo
<command-line>:0:14: warning: missing terminating " character [enabled
by default]
MediaPlayerPrivateGStreamer.h: No such file or directory
compilation terminated.
make[1]: *** [Source/WebCore/platform/graphics/libWebCore_la-MediaPlayer.lo]
Error 1
export PKG_CONFIG_PATH=/opt/directfb-1.6/lib/pkgconfig:/opt/webkit/lib/pkgconfig;
\
export LD_LIBRARY_PATH=/opt/directfb-1.6/lib; \
CXXFLAGS="-DDIRECT_ENABLE_DEBUG -DINSTRUMENT_LAYOUT_SCHEDULING" \
../autogen.sh \
prefix=/opt/directfb-1.6 \
--with-target=directfb \
--without-gtkplus \
--without-cairo-directfb \
--with-networking-backend=curl \
--enable-optimizations \
--disable-channel-messaging \
--enable-javascript-debugger \
--enable-offline-web-applications \
--enable-dom-storage \
--enable-database \
--disable-eventsource \
--disable-icon-database \
--enable-datalist \
--enable-video \
--disable-sandbox \
--enable-svg \
--enable-xpath \
--enable-xslt \
--enable-workers \
--enable-web-sockets \
--with-toolkit=lite
Any help would be appreciated. And thanks in advance.
Kamil Golunski
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
... {it is} something unearthly ... If there are sentient beings on other planets, then they play Go.
- Emanuel Lasker, chess world champion
--
... {it is} something unearthly ... If there are sentient beings on other planets, then they play Go.
- Emanuel Lasker, chess world champion
Loading...