Compiling CVS for Windows using MinGW
Hello,
I have some problems with compiling the current CVS with the current MinGW, it is unable to compile dialogs/whiteboard-*.cpp and many of the jabber_whiteboard/*.cpp files (maybe more, but since it doesn't get past this point there is no way to tell right now).
For a dump of the error see blow. It all happens while including util/ucompose.hpp, line 66:
//This is standard, not GCC-specific like wostringstream std::basic_ostringstream<wchar_t> os;
with
H:\inkscape-win32\cvs\inkscape>mingw32-g++ --version mingw32-g++ (GCC) 3.4.2 (mingw-special)
I also downloaded the .42-tarball, but that doesn't seem to be configured for MinGW (misses config.h.mingw and some more).
Any ideas/suggestions?
thanks eph
------------------------------ mingw32-g++ -O3 -Wall -mms-bitfields -DVERSION="0.42+devel" -DXP_WIN - D_INTL_ REDIRECT_INLINE -DHAVE_CONFIG_H -I. -I.. -I../.. -DGLIBMM_DLL -Ih:/inksca pe-win3 2/gtk26/include/glibmm-2.4 -Ih:/inkscape-win32/gtk26/lib/glibmm-2.4/inclu de -Ih: /inkscape-win32/gtk26/include/gtkmm-2.4 -Ih:/inkscape-win32/gtk26/lib/gt kmm-2.4 /include -Ih:/inkscape-win32/gtk26/include/gdkmm-2.4 -Ih:/inkscape-win32 /gtk26/ lib/gdkmm-2.4/include -Ih:/inkscape-win32/gtk26/include/pangomm-1.4 -Ih:/ inkscap e-win32/gtk26/include/atkmm-1.6 -Ih:/inkscape-win32/gtk26/include/sigc++- 2.0 -Ih :/inkscape-win32/gtk26/lib/sigc++-2.0/include -Ih:/inkscape-win32/gtk26/i nclude/ gtk-2.0 -Ih:/inkscape-win32/gtk26/lib/gtk-2.0/include -Ih:/inkscape-win32 /gtk26/ include/atk-1.0 -Ih:/inkscape-win32/gtk26/include/pango-1.0 -Ih:/inkscape -win32/ gtk26/include/glib-2.0 -Ih:/inkscape-win32/gtk26/lib/glib-2.0/include -Ih :/inksc ape-win32/gtk26/include -Wno-comment -Ih:/inkscape-win32/gtk26/perl/lib/C ORE -Ih :/inkscape-win32/gtk26/python/include -Ih:/inkscape-win32/gtk26/include/l oudmout h-1.0 -Ih:/inkscape-win32/gtk26/include/libxml2 -Ih:/inkscape-win32/gtk26 /includ e/freetype2 -Ialgorithms -Iapplication -Idebug -Idialogs -Idisplay -Iext ension -Iextension/implementation -Iextension -Iextension/internal -Iextension - Iextens ion/script -Iextension -Ihelper -Iinkjar -Iio -Ijabber_whiteboard -Ilibcr oco -Il ibnr -Ilibnrtype -Ilivarot -Isvg -Itrace -Itrace/potrace -Itrace -Itraits -Iui/d ialog -Iui -Iui/view -Iui/widget -Iutil -Iwidgets -Ixml/ -c -o dialogs/whiteboar d-sharewithchat-dialog.o dialogs/whiteboard-sharewithchat-dialog.cpp In file included from dialogs/whiteboard-sharewithchat-dialog.cpp:23: e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/ basic_i os.h: In instantiation of `std::basic_ios<wchar_t, std::char_traits<wchar_t> >':
e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostre am:59: instantiated from `std::basic_ostream<wchar_t, std::char_traits<wchar_t> >' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstre am:420: instantiated from `std::basic_ostringstream<wchar_t, std::char_traits<wchar_t
, std::allocator<wchar_t> >'
./util/ucompose.hpp:66: instantiated from here e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/ basic_i os.h:67: error: no type named `pos_type' in `struct std::char_traits<wchar_t>' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostre am: In instantiation of `std::basic_ostream<wchar_t, std::char_traits<wchar_t>
':
e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstre am:420: instantiated from `std::basic_ostringstream<wchar_t, std::char_traits<wchar_t
, std::allocator<wchar_t> >'
./util/ucompose.hpp:66: instantiated from here e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostre am:64: error: no type named `pos_type' in `struct std::char_traits<wchar_t>' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/ ostream .tcc:404: error: no type named `pos_type' in `class std::basic_ostream<wchar_t, std::char_traits<wchar_t> >' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/ ostream .tcc:420: error: no type named `pos_type' in `struct std::char_traits<wchar_t>' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstre am: In instantiation of `std::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, s td::allocator<wchar_t> >': ./util/ucompose.hpp:66: instantiated from here e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstre am:429: error: no type named `pos_type' in `struct std::char_traits<wchar_t>' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/strea mbuf: I n instantiation of `std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >': e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstre am:64: instantiated from `std::basic_stringbuf<wchar_t, std::char_traits<wchar_t>, st d::allocator<wchar_t> >' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstre am:443: instantiated from `std::basic_ostringstream<wchar_t, std::char_traits<wchar_t
, std::allocator<wchar_t> >'
./util/ucompose.hpp:66: instantiated from here e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/strea mbuf:13 5: error: no type named `pos_type' in `struct std::char_traits<wchar_t>' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/strea mbuf:23 4: error: no type named `pos_type' in `struct std::char_traits<wchar_t>' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/strea mbuf:23 9: error: no type named `pos_type' in `struct std::char_traits<wchar_t>' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/strea mbuf:57 4: error: no type named `pos_type' in `struct std::char_traits<wchar_t>' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/strea mbuf:58 6: error: no type named `pos_type' in `struct std::char_traits<wchar_t>' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstre am: In instantiation of `std::basic_stringbuf<wchar_t, std::char_traits<wchar_t>, std:: allocator<wchar_t> >': e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstre am:443: instantiated from `std::basic_ostringstream<wchar_t, std::char_traits<wchar_t
, std::allocator<wchar_t> >'
./util/ucompose.hpp:66: instantiated from here e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstre am:73: error: no type named `pos_type' in `struct std::char_traits<wchar_t>' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/ sstream .tcc: In instantiation of `std::basic_stringbuf<wchar_t, std::char_traits<wchar_ t>, std::allocator<wchar_t> >': e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/sstre am:443: instantiated from `std::basic_ostringstream<wchar_t, std::char_traits<wchar_t
, std::allocator<wchar_t> >'
./util/ucompose.hpp:66: instantiated from here e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/ sstream .tcc:136: error: no type named `pos_type' in `class std::basic_stringbuf<wchar_t , std::char_traits<wchar_t>, std::allocator<wchar_t> >' e:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/ sstream .tcc:182: error: no type named `pos_type' in `class std::basic_stringbuf<wchar_t , std::char_traits<wchar_t>, std::allocator<wchar_t> >' ./dialogs/whiteboard-sharewithchat-dialog.h:39: warning: 'gboolean sp_whiteboard _sharewithchat_dialog_delete(GtkObject*, GdkEvent*, void*)' defined but not used
./dialogs/whiteboard-sharewithchat-dialog.h:45: warning: 'void sp_whiteboard_sha rewithchat_dialog_destroy(GtkObject*, void*)' defined but not used ./dialogs/whiteboard-connect-dialog.h:33: warning: 'gboolean sp_whiteboard_conne ct_dialog_delete(GtkObject*, GdkEvent*, void*)' defined but not used ./dialogs/whiteboard-connect-dialog.h:39: warning: 'void sp_whiteboard_connect_d ialog_destroy(GtkObject*, void*)' defined but not used dialogs/whiteboard-sharewithchat-dialog.cpp:49: warning: 'prefs_path' defined bu t not used make[1]: *** [dialogs/whiteboard-sharewithchat-dialog.o] Error 1 make[1]: Leaving directory `H:/inkscape-win32/source/src' make: *** [all] Error 2
participants (1)
-
Bertram Drost