Re: [gtkmm] Re: Type of GTK Runtime needed



Benjamin Lau Wei Yii wrote:

In file included from C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm.h:59,
                 from C:/Dev-Cpp/gtkmm/include/gtkmm-2.4/gtkmm.h:29,
                 from main.cpp:1:
C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm/spawn.h:39: error: syntax error
   before `;' token
C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm/spawn.h:144: error: type specifier
   omitted for parameter `Pid'
C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm/spawn.h:144: error: syntax error
   before `*' token
C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm/spawn.h:153: error: type specifier
   omitted for parameter `Pid'
C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm/spawn.h:153: error: syntax error
   before `*' token
C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm/spawn.h:1 63: error: type specifier
   omitted for parameter `Pid'
C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm/spawn.h:163: error: syntax error
   before `*' token
C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm/spawn.h:169: error: type specifier
   omitted for parameter `Pid'
C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm/spawn.h:169: error: syntax error
   before `*' token
C:/Dev-Cpp/gtkmm/include/glibmm-2.4/glibmm/spawn.h:195: error: `Pid' was not
   declared in this scope

Looks to me like you're still compiling against an old gtk+ 2.2 runtime. Please try to uninstall it and download the latest all in one installer from gladewin32 (http://gladewin32.sourceforge.net/). If it still fails, that means that you still have an old GTK+-2.2 distribution somewhere in the Dev-Cpp directory.

Cedric



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