Vlc-svn compilation errors on Gentoo

*nix specific usage questions
jrevi

Vlc-svn compilation errors on Gentoo

Postby jrevi » 04 Oct 2005 10:42

Hello,

first, sorry for my english :oops: ... I'm french.

Since few days, I couldn't compile the svn version of vlc on my gentoo

Here is the error :

Code: Select all

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign-compare -Wsign-compare -Wall -O2 -march=athlon-xp -pipe -pipe -MT libwxwidgets_plugin_a-dialogs.o -MD -MP -MF ".deps/libwxwidgets_plugin_a-dialogs.Tpo" -c -o libwxwidgets_plugin_a-dialogs.o `test -f 'dialogs.cpp' || echo './'`dialogs.cpp; \ then mv -f ".deps/libwxwidgets_plugin_a-dialogs.Tpo" ".deps/libwxwidgets_plugin_a-dialogs.Po"; else rm -f ".deps/libwxwidgets_plugin_a-dialogs.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign-compare -Wsign-compare -Wall -O2 -march=athlon-xp -pipe -pipe -MT libwxwidgets_plugin_a-open.o -MD -MP -MF ".deps/libwxwidgets_plugin_a-open.Tpo" -c -o libwxwidgets_plugin_a-open.o `test -f 'open.cpp' || echo './'`open.cpp; \ then mv -f ".deps/libwxwidgets_plugin_a-open.Tpo" ".deps/libwxwidgets_plugin_a-open.Po"; else rm -f ".deps/libwxwidgets_plugin_a-open.Tpo"; exit 1; fi Dans le fichier inclus à partir de open.cpp:57: wxwidgets.h:39:1: attention : « wxUSE_UNICODE » redéfini Dans le fichier inclus à partir de /usr/include/wx-2.6/wx/platform.h:260, à partir de /usr/include/wx-2.6/wx/defs.h:21, à partir de /usr/include/wx-2.6/wx/combobox.h:15, à partir de open.cpp:49: /usr/lib/wx/include/gtk2-ansi-release-2.6/wx/setup.h:178:1: attention : ceci est la localisation d'une précédente définition open.cpp: Dans member function « void wxvlc::OpenDialog::OnOk(wxCommandEvent&) »: open.cpp:1150: error: no matching function for call to `wxString::wc_str()' /usr/include/wx-2.6/wx/string.h:831: error: candidates are: const wxWCharBuffer wxString::wc_str(wxMBConv&) const open.cpp:1156: error: no matching function for call to `wxString::wc_str()' /usr/include/wx-2.6/wx/string.h:831: error: candidates are: const wxWCharBuffer wxString::wc_str(wxMBConv&) const open.cpp:1158: error: no matching function for call to `wxString::wc_str()' /usr/include/wx-2.6/wx/string.h:831: error: candidates are: const wxWCharBuffer wxString::wc_str(wxMBConv&) const open.cpp:1169: error: no matching function for call to `wxString::wc_str()' /usr/include/wx-2.6/wx/string.h:831: error: candidates are: const wxWCharBuffer wxString::wc_str(wxMBConv&) const open.cpp:1180: error: no matching function for call to `wxString::wc_str()' /usr/include/wx-2.6/wx/string.h:831: error: candidates are: const wxWCharBuffer wxString::wc_str(wxMBConv&) const make[6]: *** [libwxwidgets_plugin_a-open.o] Erreur 1 make[6]: Leaving directory `/var/tmp/portage/vlc-svn-0.2/work/vlc-svn-0.2/modules/gui/wxwidgets' make[5]: *** [all-modules] Erreur 1 make[5]: Leaving directory `/var/tmp/portage/vlc-svn-0.2/work/vlc-svn-0.2/modules/gui/wxwidgets' make[4]: *** [all-recursive] Erreur 1 make[4]: Leaving directory `/var/tmp/portage/vlc-svn-0.2/work/vlc-svn-0.2/modules/gui' make[3]: *** [all] Erreur 2 make[3]: Leaving directory `/var/tmp/portage/vlc-svn-0.2/work/vlc-svn-0.2/modules/gui' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory `/var/tmp/portage/vlc-svn-0.2/work/vlc-svn-0.2/modules' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/vlc-svn-0.2/work/vlc-svn-0.2' make: *** [all] Erreur 2 !!! ERROR: media-video/vlc-svn-0.2 failed. !!! Function src_compile, Line 241, Exitcode 2 !!! make of VLC failed !!! If you need support, post the topmost build error, NOT this status message.
Do you have an idea ?
Thanks

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 04 Oct 2005 13:41

Since a few day, you need to have your wxwidget library compiled with --enable-unicode ( or the correspponding USE flag)
Xtophe

jrevi

Postby jrevi » 04 Oct 2005 13:46

Ok,
Tanks a lot


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

Who is online

Users browsing this forum: No registered users and 49 guests