Bonjour à tous,
Je développe une application sur Ubuntu 9.04 et j'utilise gtkmm dans cette application. J'ai besoin de faire un "cross-compile" pour pouvoir créer un exécutable windows. J'utilise mingw et j'ai installé tous les "cross-tools" nécessaires.
Si je compile pour linux, je n'ai aucun problème.
Lorsque je compile pour windows, la plupart des fichiers compilent sans problème mais cette erreur apparaît:
In file included from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:33,
from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:24,
from /usr/include/glibmm-2.4/glibmm.h:27,
from /usr/include/gtkmm-2.4/gtkmm.h:29,
from shared/sw/autoact/src/autoact.cpp:10:
/usr/include/glibmm-2.4/glibmm/ustring.h:872: error: expected `;' before "StreamType"
/usr/include/glibmm-2.4/glibmm/ustring.h:876: error: `StreamType' does not name a type
/usr/include/glibmm-2.4/glibmm/ustring.h:912: error: expected constructor, destructor, or type conversion before '&' token
/usr/include/glibmm-2.4/glibmm/ustring.h:912: error: expected `,' or `;' before '&' token
/usr/include/glibmm-2.4/glibmm/ustring.h:918: error: expected constructor, destructor, or type conversion before '&' token
/usr/include/glibmm-2.4/glibmm/ustring.h:918: error: expected `,' or `;' before '&' token
/usr/include/glibmm-2.4/glibmm/ustring.h: In member function `void Glib::ustring::FormatStream::stream(const T&)':
/usr/include/glibmm-2.4/glibmm/ustring.h:1063: error: `stream_' undeclared (first use this function)
/usr/include/glibmm-2.4/glibmm/ustring.h:1063: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/include/glibmm-2.4/glibmm/ustring.h: In member function `void Glib::ustring::FormatStream::stream(const char*)':
/usr/include/glibmm-2.4/glibmm/ustring.h:1069: error: `stream_' undeclared (first use this function)
À la ligne 10 du fichier autoact.cpp (là où origine l'erreur), j'ai simplement la ligne suivante:
Tous les fichiers mentionnés dans les erreurs sont bel et bien présents.
S'il manque des informations dites-le moi.
SVP aidez moi.
Merci en avance,
som
Partager