Page 1 of 1

compile VLC3.0 problem on ubuntu 16.04

Posted: 20 May 2017 18:07
by ncuhuang
Hello everyone, I am trying to compile VLC3.0 on the UBUNTU16.04 currently, but encountered problem on the "make" step.

I follow the steps of this URL to compile https://wiki.videolan.org/UnixCompile/, I use this command to configure

Code: Select all

./configure --disable-chromecast

and the error messages appears after "make" step is

Code: Select all

components/interface_widgets.cpp: In member function ‘virtual bool VideoWidget::nativeEvent(const QByteArray&, void*, long int*)’: components/interface_widgets.cpp:268:15: error: ‘xcb_generic_event_t’ does not name a type const xcb_generic_event_t* xev = reinterpret_cast<const xcb_generic_eve ^ components/interface_widgets.cpp:270:14: error: ‘xev’ was not declared in this scope if ( xev->response_type == XCB_CONFIGURE_NOTIFY ) ^ components/interface_widgets.cpp:270:36: error: ‘XCB_CONFIGURE_NOTIFY’ was not declared in this scope if ( xev->response_type == XCB_CONFIGURE_NOTIFY ) ^ components/interface_widgets.cpp: At global scope: components/interface_widgets.cpp:263:67: warning: unused parameter ‘message’ [-Wunused-parameter] bool VideoWidget::nativeEvent( const QByteArray& eventType, void* message, long ^ Makefile:2534: recipe for target 'components/libqt_plugin_la-interface_widgets.lo' failed make[5]: *** [components/libqt_plugin_la-interface_widgets.lo] Error 1 make[5]: Leaving directory '/home/abc/vlc/modules/gui/qt' Makefile:1612: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/home/abc/vlc/modules/gui/qt' Makefile:20780: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/abc/vlc/modules' Makefile:8939: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/abc/vlc/modules' Makefile:1518: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/abc/vlc' Makefile:1403: recipe for target 'all' failed make: *** [all] Error 2


It looks like the file libqt_plugin_la-interface_widgets.lo does not exist.

What can I do to fix this?

Re: compile VLC3.0 problem on ubuntu 16.04

Posted: 23 May 2017 11:49
by Jean-Baptiste Kempf
install libqt5x11extras5-dev or related.

Re: compile VLC3.0 problem on ubuntu 16.04

Posted: 30 May 2017 13:25
by ncuhuang
install libqt5x11extras5-dev or related.

It work!!!! Thanks!!!!!!!!!!!!!!

Finally,the compile is finished!!!!!!

Re: compile VLC3.0 problem on ubuntu 16.04

Posted: 13 Feb 2018 23:27
by FerdiScholten
Having the same problem on Ubuntu 17.10, with libqt5x11extras5-dev installed. are there more dependencies for this module?

This is the error when compiling:
CXX gui/qt/components/libqt_plugin_la-interface_widgets.lo
<command-line>:0:13: fatal error: 5.9.1/QtGui/qpa/qplatformnativeinterface.h: No such file or directory
compilation terminated.
Makefile:23669: recipe for target 'gui/qt/components/libqt_plugin_la-interface_widgets.lo' failed

Re: compile VLC3.0 problem on ubuntu 16.04

Posted: 13 Feb 2018 23:40
by FerdiScholten
Found the answer myself, qtbase5-private-dev was not installed.

Re: compile VLC3.0 problem on ubuntu 16.04

Posted: 15 Feb 2018 14:51
by manang
Could you open the vlc application?
I have the following error:
[00005652c08d5f00] main interface error: no suitable interface module
[00005652c083d7a0] main libvlc error: interface "globalhotkeys,none" initialization failed
[00005652c083d7a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005652c08d6a00] main playlist: playlist is empty
[00005652c08d5f00] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.0-git Vetinari
Command Line Interface initialized. Type `help' for help.