|Thanks, but I know what is does - look at all the -I in the attached file. I think g++ also needs -l - libraries or library - for GTK.
But I am not sure how to do it if I need more.
Can I use similar method
as pkg-config to get -l /-L ?
Did some research and found this
z@z-desktop $ pkg-config --libs gtk+-3.0
-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
That is what is needed.
However adding another backtick string `pkg-config --libs gtk+-3.0` did not produced expected libraries.
Will do some experimentation with that - it should work.
If I add
`pkg-config --libs gtk+-3.0` to linker options I get about 20 additional -l libraries in output.
However I still get "undefined reference " error.
modified 16-Jul-20 22:43pm.