Page 1 of 1

wxWdidgets 2.8.0

Posted: 30 Dec 2006 18:54
by kemro
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...

Posted: 30 Dec 2006 20:54
by dionoea
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)

Posted: 30 Dec 2006 23:11
by kemro
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 ? :(

Posted: 31 Dec 2006 11:37
by dionoea
Looks like 2.8 isn't 2.6 compatible.

Posted: 31 Dec 2006 13:34
by kemro
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 ?

Posted: 31 Dec 2006 16:10
by dionoea
We're dropping the wx widgets interface.

Posted: 01 Jan 2007 22:16
by kemro
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 ?

Posted: 02 Jan 2007 12:14
by Jean-Baptiste Kempf
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.

Posted: 02 Jan 2007 17:40
by kemro
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 ?

Posted: 04 Jan 2007 19:02
by Rémi Denis-Courmont
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.

Posted: 05 Jan 2007 12:04
by kemro
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 ?

Posted: 05 Jan 2007 12:11
by Rémi Denis-Courmont

Posted: 05 Jan 2007 23:37
by v1rtu0s1ty
We're dropping the wx widgets interface.
What interface is being planned to be used?

Thanks,

V1rt

Posted: 05 Jan 2007 23:46
by Rémi Denis-Courmont
From this very thread
VLC supports wx 2.6.3.
And VLC 0.9.0 will be using a Qt interface.