compile VLC3.0 problem on ubuntu 16.04

*nix specific usage questions
ncuhuang
New Cone
New Cone
Posts: 5
Joined: 21 Mar 2017 08:57

compile VLC3.0 problem on ubuntu 16.04

Postby ncuhuang » 20 May 2017 18:07

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: compile VLC3.0 problem on ubuntu 16.04

Postby Jean-Baptiste Kempf » 23 May 2017 11:49

install libqt5x11extras5-dev or related.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ncuhuang
New Cone
New Cone
Posts: 5
Joined: 21 Mar 2017 08:57

Re: compile VLC3.0 problem on ubuntu 16.04

Postby ncuhuang » 30 May 2017 13:25

install libqt5x11extras5-dev or related.

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

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

FerdiScholten
New Cone
New Cone
Posts: 2
Joined: 13 Feb 2018 23:18

Re: compile VLC3.0 problem on ubuntu 16.04

Postby FerdiScholten » 13 Feb 2018 23:27

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

FerdiScholten
New Cone
New Cone
Posts: 2
Joined: 13 Feb 2018 23:18

Re: compile VLC3.0 problem on ubuntu 16.04

Postby FerdiScholten » 13 Feb 2018 23:40

Found the answer myself, qtbase5-private-dev was not installed.

manang
Blank Cone
Blank Cone
Posts: 10
Joined: 14 Feb 2018 12:20

Re: compile VLC3.0 problem on ubuntu 16.04

Postby manang » 15 Feb 2018 14:51

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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests