gtkmm not working

gtkmm not working

by Faruk Kerem Cekmeceli -
Number of replies: 2

Hello,

I have the latest (05/03/19) virtual machine installed on my laptop but i still cant use gtkmm library. i get the error message below :

serie5.cc:1:19: fatal error: gtkmm.h: No such file or directory

has anyone got an idea why ?

thanks in advance

In reply to Faruk Kerem Cekmeceli

Re: gtkmm not working

by Andrea Oliveri -

Bonjour,

Votre problème est probablement dû au fait que vous essayez de compiler le programme avec geany, qui n'a pas la bonne commande de compilation pour compiler avec gtkmm.

Je vous conseille de compiler en passant par la commade make sur le terminal, en s'assurant de mettre à jour son makefile comme celui dans la série 5 C++ Pop pour pouvoir travailler avec gtkmm.

Bonne journée,

Andrea Oliveri

In reply to Faruk Kerem Cekmeceli

Re: gtkmm not working

by Saad Himmi -
If you changed the build command in geany as said in the exercise, the « build » button (red bricks)  should work but not the « compile » one (yellow red and blue button).


But I agree with mr Oliveri, make is often a better option.