User forums > Help

Can't use gtkmm with Code::Blocks

<< < (2/2)

stahta01:

--- Code: ---`pkg-config gtkmm-3.0 --cflags --libs`
--- End code ---

The above is likely wrong!

What likely needs to be in compiler

--- Code: ---`pkg-config gtkmm-3.0 --cflags`
--- End code ---

What likely needs to be in linker

--- Code: ---`pkg-config gtkmm-3.0 --libs`
--- End code ---

Tim S.

Onsemeliot:
For gtkmm4 on Debian Trixie I used successfully:

in the other compiler options:

--- Code: ---`pkg-config gtkmm-4.0 --cflags`
--- End code ---

and in the other linker options:

--- Code: ---`pkg-config gtkmm-4.0 --libs`
--- End code ---

But I want to clarify that the backticks ` are obviously essential. It only works if they are included. I failed for a while until I finally added them.

Navigation

[0] Message Index

[*] Previous page

Go to full version