Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

Hi,

I tried to upgrade to the latest version of cadabra on linux mint 18.3. Running "make" I get the following error:

/home/amicu/cadabra2/frontend/gtkmm/CodeInput.cc: In member function ‘void cadabra::CodeInput::enable_highlighting(cadabra::DataCell::CellType, const Prefs&)’:
/home/amicu/cadabra2/frontend/gtkmm/CodeInput.cc:477:14: error: ‘class Gtk::TextTag’ has no member named ‘property_underline_rgba’
error_tag->property_underline_rgba() = Gdk::RGBA("red");
 ^
frontend/gtkmm/CMakeFiles/cadabra2-gtk.dir/build.make:230: recipe for target    'frontend/gtkmm/CMakeFiles/cadabra2-gtk.dir/CodeInput.cc.o' failed
make[2]: *** [frontend/gtkmm/CMakeFiles/cadabra2-gtk.dir/CodeInput.cc.o] Error 1
CMakeFiles/Makefile2:630: recipe for target 'frontend/gtkmm/CMakeFiles/cadabra2-gtk.dir/all' failed
make[1]: *** [frontend/gtkmm/CMakeFiles/cadabra2-gtk.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

What is going wrong? Thanks, Andrei

in Installation trouble by (320 points)

1 Answer

+2 votes

A recent change uses some features of gtkmm-3.20 or higher.

I have pushed a fix which disables this change if your system is on a lower version of gtkmm. Can you pull again from github, try to build, and let me know the result?

by (82.6k points)

It works fine now, thanks!

It also works now for Slackware 14.2 (which has gtkmm3-3.18). Thank you!

...