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 ?