Crash when link Libvlc with an opengl program...
Posted: 29 Apr 2014 12:04
It seems to be the samme issue than this: on https://forum.videolan.org/viewtopic.php?f=32&t=114160
Re: [SOLVED]libvlc crash on libvlc_new
Postby Rémi Denis-Courmont » Fri Oct 04, 2013 5:25 pm
LibVLC must be compiled against Qt5 (or without Qt altogether) if you want to use Qt5 outside. This is a Qt limitation.
=> There an option on ./configure --disable-qt
I get source code 2.1.4 and compile it, i try to get help from ./configure --help
I found option for enabling but no for disable
--enable-gles2 OpenGL ES v2 support [default=disabled]
--enable-gles1 OpenGL ES v1 support [default=disabled]
--enable-egl OpenGL support through EGL (default disabled)
--enable-glx OpenGL support through GLX (default enabled)
I try this :
./configure --disable-gles2 --disable-gles1 --disable-egl --disable-glx --disable-qt
But i don't work : so in uninstall vlc & plugin keep only libvlc & dependency, i rename opengl.h opengl.c glx.c gl.c egl.c to _x.x on module directory.
make clean
make
make install
=> libvlc is installed correctely but i have no plugin and livlc 2.1.4 is not installed :
wizard@debian-dev-pc:/$ vlc
VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876)
[0x8e5f910] main libvlc error: No plugins found! Check your VLC installation.
I add my compile directory for module & share to netbean environment parameter for debug and now my program work...
What is the clean way to disable OpenGL on VLC, to avoid this "McGuyver work" ?
Thanks by advance,
WCdr
Re: [SOLVED]libvlc crash on libvlc_new
Postby Rémi Denis-Courmont » Fri Oct 04, 2013 5:25 pm
LibVLC must be compiled against Qt5 (or without Qt altogether) if you want to use Qt5 outside. This is a Qt limitation.
=> There an option on ./configure --disable-qt
I get source code 2.1.4 and compile it, i try to get help from ./configure --help
I found option for enabling but no for disable
--enable-gles2 OpenGL ES v2 support [default=disabled]
--enable-gles1 OpenGL ES v1 support [default=disabled]
--enable-egl OpenGL support through EGL (default disabled)
--enable-glx OpenGL support through GLX (default enabled)
I try this :
./configure --disable-gles2 --disable-gles1 --disable-egl --disable-glx --disable-qt
But i don't work : so in uninstall vlc & plugin keep only libvlc & dependency, i rename opengl.h opengl.c glx.c gl.c egl.c to _x.x on module directory.
make clean
make
make install
=> libvlc is installed correctely but i have no plugin and livlc 2.1.4 is not installed :
wizard@debian-dev-pc:/$ vlc
VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876)
[0x8e5f910] main libvlc error: No plugins found! Check your VLC installation.
I add my compile directory for module & share to netbean environment parameter for debug and now my program work...
What is the clean way to disable OpenGL on VLC, to avoid this "McGuyver work" ?
Thanks by advance,
WCdr