compiling 1.9 on debian

View: New views
2 Messages — Rating Filter:   Alert me  

compiling 1.9 on debian

by Leonardo Carneiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hy, i'm compiling the 1.9 on debian, but i'm getting some erros when i
run the make command:

MainGtkMenu.hh:71: error: ISO C++ forbids declaration of ‘Menu’ with no type
MainGtkMenu.hh:71: error: invalid use of ‘::’
MainGtkMenu.hh:71: error: expected ‘;’ before ‘*’ token
MainGtkMenu.cc: In constructor ‘MainGtkMenu::MainGtkMenu(bool)’:
MainGtkMenu.cc:51: error: class ‘MainGtkMenu’ does not have any field
named ‘popup_menu’
MainGtkMenu.cc: In member function ‘virtual void MainGtkMenu::init()’:
MainGtkMenu.cc:107: error: ‘popup_menu’ was not declared in this scope
MainGtkMenu.cc: In member function ‘virtual void MainGtkMenu::create_ui()’:
MainGtkMenu.cc:245: error: ‘popup_menu’ was not declared in this scope
MainGtkMenu.cc: In member function ‘virtual void
MainGtkMenu::popup(guint, guint)’:
MainGtkMenu.cc:254: error: ‘popup_menu’ was not declared in this scope


i was getting erros with statusicon too, but i commented the lines with
this item in GUI.cc and GUI.hh and now i'm not getting that error.
sorry about my poor english, i'm from brazil =D

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Workrave-user mailing list
Workrave-user@...
https://lists.sourceforge.net/lists/listinfo/workrave-user

Re: compiling 1.9 on debian

by Rob Caelers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> hy, i'm compiling the 1.9 on debian, but i'm getting some erros when i
> run the make command:

What version of gtkmm do you have installed ? (dpkg -l | grep gtkmm)

You may need a more recent version. Why not use the debian workrave package?

Groetjes,
   Rob

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Workrave-user mailing list
Workrave-user@...
https://lists.sourceforge.net/lists/listinfo/workrave-user