[gtkmm] cannot make gtkmm-2.2.12 (with MinGW for MSVC)



Hello.

I intend to use gtkmm-2.2 with MSVC .Net 2003. I got libsigc++-1.2.5 compiled
fine using MinGW and msys and a ready made GTK+ package for Windows.

I wanted to go through the same procedure with gtkmm-2.2.12 now, but it would
not compile. This is the call from the makefile and the messages of g++:

# start of quote
g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -I../../glib
-I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk
-I../../gdk -I../../gtk -I../../gtk -Ic:/GTK/lib/sigc++-1.2/include -Ic:/GTK/include/sigc++-1.2
-Ic:/GTK/include/glib-2.0 -Ic:/GTK/lib/glib-2.0/include -Ic:/GTK/include/glib-2.0
-Ic:/GTK/lib/glib-2.0/include -g -O2 -mms-bitfields -Wall -MT spawn.lo -MD -MP
-MF .deps/spawn.Tpo -c spawn.cc  -DDLL_EXPORT -DPIC -o .libs/spawn.o
spawn.cc: In function `void Glib::spawn_async_with_pipes(const std::string&,

   const Glib::ArrayHandle<std::string, 
   Glib::Container_Helpers::TypeTraits<std::string> >&, const 
   Glib::ArrayHandle<std::string, 
   Glib::Container_Helpers::TypeTraits<std::string> >&, Glib::SpawnFlags, const

   SigC::Slot0<void>&, int*, int*, int*, int*)':
spawn.cc:92: cannot convert `int*' to `void**' for argument `7' to `gboolean

   g_spawn_async_with_pipes(const gchar*, gchar**, gchar**, GSpawnFlags, void

   (*)(void*), void*, void**, gint*, gint*, gint*, GError**)'
spawn.cc: In function `void Glib::spawn_async_with_pipes(const std::string&,

   const Glib::ArrayHandle<std::string, 
   Glib::Container_Helpers::TypeTraits<std::string> >&, Glib::SpawnFlags, const

   SigC::Slot0<void>&, int*, int*, int*, int*)':
spawn.cc:118: cannot convert `int*' to `void**' for argument `7' to `gboolean

   g_spawn_async_with_pipes(const gchar*, gchar**, gchar**, GSpawnFlags, void

   (*)(void*), void*, void**, gint*, gint*, gint*, GError**)'
spawn.cc: In function `void Glib::spawn_async(const std::string&, const 
   Glib::ArrayHandle<std::string, 
   Glib::Container_Helpers::TypeTraits<std::string> >&, const 
   Glib::ArrayHandle<std::string, 
   Glib::Container_Helpers::TypeTraits<std::string> >&, Glib::SpawnFlags, const

   SigC::Slot0<void>&, int*)':
spawn.cc:142: cannot convert `int*' to `void**' for argument `7' to `gboolean

   g_spawn_async(const gchar*, gchar**, gchar**, GSpawnFlags, void (*)(void*),

   void*, void**, GError**)'
spawn.cc: In function `void Glib::spawn_async(const std::string&, const 
   Glib::ArrayHandle<std::string, 
   Glib::Container_Helpers::TypeTraits<std::string> >&, Glib::SpawnFlags, const

   SigC::Slot0<void>&, int*)':
spawn.cc:164: cannot convert `int*' to `void**' for argument `7' to `gboolean

   g_spawn_async(const gchar*, gchar**, gchar**, GSpawnFlags, void (*)(void*),

   void*, void**, GError**)'
make[5]: *** [spawn.lo] Error 1
make[5]: Leaving directory `/home/CCCTeam/gtkmm-2.2.12/glib/glibmm'
# end of quote

Could somebody help me on this, please?

Best regards,

Daniel J. Lauk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]