Hallo,
ich habe den Player guayadeque-0.3.7-svn1894 erfolgreich gegen wxGTK3 auf Fedora 23 kompiliert, aber beim Start gibt er die folgende Fehlermeldung aus:
Code
./src/common/intl.cpp(358): assert "!(flags & wxLOCALE_CONV_ENCODING)" failed in Init(): wxLOCALE_CONV_ENCODING is no longer supported, add charset to your catalogs
BACKTRACE:
[1] wxLocale::Init(int, int)
[2] guMainApp::OnInit()
[3] wxEntry(int&, wchar_t**)
[4] main
[5] __libc_start_main
[6] _start
Ich habe im Inet gelesen, dass wxLOCALE_CONV_ENCODING veraltet sein zu scheint.
Der komplete Code:
http://bazaar.launchpad.net/~a…iew/head:/src/MainApp.cpp
Der entsprechende Bereich im Source Code:
Code
// Init the wxCurl Lib
wxCurlBase::Init();
int LangId = m_Config->ReadNum( wxT( "Language" ), wxLANGUAGE_DEFAULT, wxT( "general" ) );
if( m_Locale.Init( LangId, wxLOCALE_CONV_ENCODING ) )
{
m_Locale.AddCatalogLookupPathPrefix( wxT( "/usr/share/locale" ) );
m_Locale.AddCatalog( wxT( "guayadeque" ) );
guLogMessage( wxT( "Initialized locale ( %s )" ), m_Locale.GetName().c_str() );
}
else
{
const wxLanguageInfo * LangInfo = wxLocale::GetLanguageInfo( LangId );
if( LangInfo )
{
guLogError( wxT( "Could not initialize the translations engine for ( %s )" ), LangInfo->CanonicalName.c_str() );
guLogError( wxT( "Locale directory '%s'" ), wxStandardPaths::Get().GetLocalizedResourcesDir( LangInfo->CanonicalName, wxStandardPaths::ResourceCat_Messages).c_str() );
}
else
{
guLogError( wxT( "Could not initialize the translations engine for (%d)" ), LangId );
}
}
Alles anzeigen
Kann sich das mal ein Programmierer anschauen ?