Logo Hardware.com.br
Philippe.hac
Philippe.hac Membro Junior Registrado
126 Mensagens 0 Curtidas

compilaçao cruzada com o gtk

#1 Por Philippe.hac 11/04/2008 - 17:35
Compilei o Mingw e nao estou conseguindo compilar programas GTK para Windows nele.
Pesquisas no google so apontam para topicos desatualizados.
ja fiz tudo que manda este tutorial mas nao funciona!
toda vez que uso o mingw para tentar compilar um programa me deparo com esse erro:



make all-recursive
make[1]: Entering directory `/home/philippe/Programming/Kdevelop/GTK'
Making all in src
make[2]: Entering directory `/home/philippe/Programming/Kdevelop/GTK/src'
i686-pc-mingw32-g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT gtk.o -MD -MP -MF .deps/gtk.Tpo -c -o gtk.o gtk.cc
In file included 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/main.h:7,
from gtk.cc:22:
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:24:19: error: cstddef: No such file or directory
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:25:21: error: algorithm: No such file or directory
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:26:20: error: iterator: No such file or directory
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:27:18: error: vector: No such file or directory
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:28:17: error: deque: No such file or directory
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:29:16: error: list: No such file or directory
In file included from /usr/include/glibmm-2.4/glibmm/ustring.h:26,
from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:34,
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/main.h:7,
from gtk.cc:22:
/usr/include/glibmm-2.4/glibmm/unicode.h:32:18: error: cctype: No such file or directory
In file included from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:34,


(...)

/usr/include/gtkmm-2.4/gtkmm/selectiondata.h:93: error: expected unqualified-id before '&' token
/usr/include/gtkmm-2.4/gtkmm/selectiondata.h:93: error: expected ',' or '...' before '&' token
/usr/include/gtkmm-2.4/gtkmm/selectiondata.h:101: error: expected unqualified-id before '&' token
/usr/include/gtkmm-2.4/gtkmm/selectiondata.h:101: error: expected ',' or '...' before '&' token
/usr/include/gtkmm-2.4/gtkmm/selectiondata.h:101: error: 'void Gtk::SelectionData::set()' cannot be overloaded
/usr/include/gtkmm-2.4/gtkmm/selectiondata.h:93: error: with 'void Gtk::SelectionData::set()'
/usr/include/gtkmm-2.4/gtkmm/selectiondata.h:180: error: 'string' in namespace 'std' does not name a type
/usr/include/gtkmm-2.4/gtkmm/selectiondata.h:182: error: 'string' in namespace 'std' does not name a type
/usr/include/gtkmm-2.4/gtkmm/selectiondata.h:194: error: 'string' in namespace 'std' does not name a type
In file included from /usr/include/gtkmm-2.4/gtkmm/widget.h:49,
from /usr/include/gtkmm-2.4/gtkmm/container.h:29,
from /usr/include/gtkmm-2.4/gtkmm/bin.h:30,
from /usr/include/gtkmm-2.4/gtkmm/window.h:32,
from main_window_glade.hh:51,
from main_window.hh:31,
from gtk.cc:24:
/usr/include/gtkmm-2.4/gtkmm/clipboard.h:281: error: ISO C++ forbids declaration of 'type name' with no type
/usr/include/gtkmm-2.4/gtkmm/clipboard.h:281: error: template argument 3 is invalid
/usr/include/gtkmm-2.4/gtkmm/clipboard.h:363: error: 'string' in namespace 'std' does not name a type
In file included from main_window_glade.hh:51,
from main_window.hh:31,
from gtk.cc:24:
/usr/include/gtkmm-2.4/gtkmm/window.h:1246: error: expected unqualified-id before '&' token
/usr/include/gtkmm-2.4/gtkmm/window.h:1246: error: expected ',' or '...' before '&' token
/usr/include/gtkmm-2.4/gtkmm/window.h:1311: error: expected unqualified-id before '&' token
/usr/include/gtkmm-2.4/gtkmm/window.h:1311: error: expected ',' or '...' before '&' token
make[2]: *** [gtk.o] Error 1
make[2]: Leaving directory `/home/philippe/Programming/Kdevelop/GTK/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/philippe/Programming/Kdevelop/GTK'
make: *** [all] Error 2




Alguem sabe como ou pode me indicar um tuto que funciona para compilacao cruzada com GTK/Mingw? (pode ser em ingles)
© 1999-2024 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal