RE: [gtkmm] glibmm 2.4.0 and 2.4.1 - compiling errors



I have been able to correct my glibmm 2.4.1 ploblem. My mistake, but i did not know that we had to compile and install glib 2.4.1 before that.

It is my beleif that "typedef GPid Pid" did not exist prior to version 2.4*, in the Glib Namespace library, and maybe some other things. That's why it did not work.

I am sorry to have made you loose your time, but i hope it can help others in the same situation.

Thanks.


From: "Eric Lussier" <ericlussier75 hotmail com>
To: gtkmm-list gnome org
Subject: [gtkmm] glibmm 2.4.0 and 2.4.1 - compiling errors
Date: Fri, 30 Apr 2004 18:32:33 -0400

I have just downloaded the sources for gtkmm 2.4 and have been trying to install them for about 3 hours now.

When i am at the "make" stage of glibmm 2.4.0 (glibmm 2.4.1 does the same thing) i get errors like this:

...
...
In file included from spawn.cc:3:
../../glib/glibmm/spawn.h:39: syntax error before `;' token
../../glib/glibmm/spawn.h:144: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:144: parse error before `*' token
../../glib/glibmm/spawn.h:153: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:153: parse error before `*' token
../../glib/glibmm/spawn.h:163: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:163: parse error before `*' token
../../glib/glibmm/spawn.h:169: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:169: parse error before `*' token
../../glib/glibmm/spawn.h:195: `Pid' was not declared in this scope
../../glib/glibmm/spawn.h:195: parse error before `)' token
spawn.cc:74: type specifier omitted for parameter `Pid'
spawn.cc:74: parse error before `*' token
spawn.cc: In function `void Glib::spawn_async_with_pipes(...)':
spawn.cc:79: `child_setup' undeclared (first use this function)
spawn.cc:79: (Each undeclared identifier is reported only once for each
  function it appears in.)
spawn.cc:84: `working_directory' undeclared (first use this function)
spawn.cc:85: `argv' undeclared (first use this function)
spawn.cc:86: `envp' undeclared (first use this function)
...
...

the line 39 in file spawn.h is:

typedef GPid Pid;


Could that be that type GPid is not defined???

Did anyone else encoutered this problem?

Thanks.

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://fr.ca.search.msn.com/




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