Lifeograph digital diary

Compile error with lifeograph-0.11.1

Asked by Heywood Poole on 2013-02-06

On Fedora 15 32bit, after successfully running ./waf configure
I get the following output from ./waf build:

[ 1/46] cxx: src/dialog_export.cpp -> build/default/src/dialog_export_1.o
[ 2/46] cxx: src/dialog_password.cpp -> build/default/src/dialog_password_1.o
[ 3/46] cxx: src/dialog_preferences.cpp -> build/default/src/dialog_preferences_1.o
[ 4/46] cxx: src/diary.cpp -> build/default/src/diary_1.o
[ 5/46] cxx: src/diarydata.cpp -> build/default/src/diarydata_1.o
[ 6/46] cxx: src/entry.cpp -> build/default/src/entry_1.o
[ 7/46] cxx: src/entry_parser.cpp -> build/default/src/entry_parser_1.o
../src/diarydata.cpp: In static member function ‘static LIFEO::ThemeSystem* LIFEO::ThemeSystem::get()’:
../src/diarydata.cpp:605:61: error: ‘class Gtk::StyleContext’ has no member named ‘get_font’

Question information

Language:
English Edit question
Status:
Answered
For:
Lifeograph Edit question
Assignee:
No assignee Edit question
Last query:
2013-02-06
Last reply:
2013-02-07
Ahmet Öztürk (dmxe) said : #1

What is the Gtkmm version on Fedora 15? I guess it is 3.0.
Gtk::StyleContext::get_font() should be available since 3.0 as per the documentation. However, in practice, I have never succeeded in bıilding Lifeograph against Gtkmm versions <3.4 due to something being not defined, just as in your case.
You may use the last Gtkmm 2 version of Lifeograph (0.8.2) until you update your system.

Can you help with this problem?

Provide an answer of your own, or ask Heywood Poole for more information if necessary.

To post a message you must log in.