wxWdidgets 2.8.0

*nix specific usage questions
kemro
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Dec 2006 17:35

wxWdidgets 2.8.0

Postby kemro » 30 Dec 2006 18:54

Hi !

When vlc will compile with newest wxWidgets 2.8 ?


For now I have (20061224 snapshot version):

Code: Select all

configure: error: You need wxWidgets of the 2.6 branch. Please upgrade and try again.

I don't know is that matter, but I have wxWidgets 2.8 compiled with 2.6 compatibility...

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 30 Dec 2006 20:54

you can try editing VLC's configure.ac to make it work with 2.8 too (and post a patch here once you've got it working)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

kemro
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Dec 2006 17:35

Postby kemro » 30 Dec 2006 23:11

Sorry, but I'm not a programmer... :(


I tried to do something with configure.ac, especially with this:

Code: Select all

# look for wx-config AC_PATH_PROG(WX_CONFIG, ${WXWIDGETS_NAME}, no, ${WXWIDGETS_PATH}) if test "${WX_CONFIG}" != "no" -a "${CXX}" != "" then if expr 2.6.0 \> `${WX_CONFIG} --version` >/dev/null || expr 2.7.0 \<= `${WX_CONFIG} --version` >/dev/null then AC_MSG_ERROR([You need wxWidgets of the 2.6 branch. Please upgrade and try again. Alternatively you can also configure with --disable-wxwidgets.])

but it didn't work...

and other parts of code are too much incomprehensible for me... :(

I love vlc, but for some reasons, I had to upgrade wxWidgets to 2.8.0...

Maybe some advices how to make it work ?



-----------------
EDIT


OK, I have dealed with first part of that post
It's just in snapshot sources of vlc, where is "configure" I had to change few things in "configure", not "configure.ac", but in SVN version (where configure isn't - have to bootstrap), I first had to change those things in configure.ac ..

And.. it went great, configure went without a problem..


But after few minutes of compilation I have :

Code: Select all

g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/share/locale\" -DDATA_PATH=\"/usr/share/vlc\" -DPLUGIN_PATH=\"/usr/lib/vlc\" -O3 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=wxwidgets -DMODULE_NAME_IS_wxwidgets -fpermissive -I/usr/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -D_UNICODE -DUNICODE -fno-strict-aliasing -march=pentium-m -Os -pipe -s -MT libwxwidgets_plugin_la-dialogs.lo -MD -MP -MF .deps/libwxwidgets_plugin_la-dialogs.Tpo -c dialogs.cpp -fPIC -DPIC -o .libs/libwxwidgets_plugin_la-dialogs.o dialogs.cpp: In member function `void wxvlc::DialogsProvider::OnOpenFileGeneric(wxCommandEvent&)': dialogs.cpp:383: error: 'class wxFileDialog' has no member named 'SetStyle' make[6]: *** [libwxwidgets_plugin_la-dialogs.lo] Error 1 make[6]: Leaving directory `/home/kemro/new/vlc-trunk/modules/gui/wxwidgets' make[5]: *** [all-modules] Error 1 make[5]: Leaving directory `/home/kemro/new/vlc-trunk/modules/gui/wxwidgets' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/kemro/new/vlc-trunk/modules/gui' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/kemro/new/vlc-trunk/modules/gui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/kemro/new/vlc-trunk/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kemro/new/vlc-trunk' make: *** [all] Error 2

Any ideas ? :(

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 31 Dec 2006 11:37

Looks like 2.8 isn't 2.6 compatible.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

kemro
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Dec 2006 17:35

Postby kemro » 31 Dec 2006 13:34

So.. it's not possible for me to have vlc with wx2.8.0 now, right ? :/


Are you going to make vlc compatible with wx 2.8.0 in next time ?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 31 Dec 2006 16:10

We're dropping the wx widgets interface.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

kemro
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Dec 2006 17:35

Postby kemro » 01 Jan 2007 22:16

Hmm..

Will vlc work without wxWidgets (I mean compilation without wxWidgets - ./configure --disable-wxwidgets) ?


-------------
EDIT

OK, I compiled without wxWidgets, but it's useless only with skins2..


For what will you drop wxWidgets and when can we expect that ?

0.9.0 will be still with wx, or with something new already ?

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

Postby Jean-Baptiste Kempf » 02 Jan 2007 12:14

Ok. There is a patch on the ml for wx 2.8.0 support.

VLC supports wx 2.6.3.
And VLC 0.9.0 will be using a Qt interface.
We will drop Wx for a lot of reasons, that I can explain, if you really want it.
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.

kemro
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Dec 2006 17:35

Postby kemro » 02 Jan 2007 17:40

I can't find patch for wx 2.8.0 on ml... :(
I tried google and browse december devel list...

Can you give me link to the patch ?


I don't need explanation for dropping wx for qt, because it's very good choice IMO, I don't like wxWidgets and love qt interface ! :)

Is there already working qt interface in svn ?
And.. will it be for qt4 only, or for qt3 too ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15140
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 04 Jan 2007 19:02

It's Qt4-only, and it's not quite ready for prime time as of today.

Try to install the development package for wx 2.6 from your distribution. It should not prevent wx 2.8 software from running. Otherwise, blame the WxWidgets developpers for having insane API upgrades.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

kemro
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Dec 2006 17:35

Postby kemro » 05 Jan 2007 12:04

I had development wx 2.6 before.. but it has too much bugs...

For example, amule was almost useless for me with wx 2.6, only now with 2.8 I can normally use it..

And yes.. I blame wxWidgets... :/


What with that patch for wx 2.8 ?
Does it work ?
Can you give me link to it ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15140
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 05 Jan 2007 12:11

Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

v1rtu0s1ty
Blank Cone
Blank Cone
Posts: 16
Joined: 01 Jan 2007 10:26

Postby v1rtu0s1ty » 05 Jan 2007 23:37

We're dropping the wx widgets interface.
What interface is being planned to be used?

Thanks,

V1rt

Rémi Denis-Courmont
Developer
Developer
Posts: 15140
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 05 Jan 2007 23:46

From this very thread
VLC supports wx 2.6.3.
And VLC 0.9.0 will be using a Qt interface.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


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

Who is online

Users browsing this forum: No registered users and 14 guests