#glibmmconfig.h: No such file or direct

1 messages · Page 1 of 1 (latest)

foggy trout
stray blaze
#

#general message please answer my question.

crisp hatch
#

@foggy trout Did you install the gtkmm3 package?
Did you run the g++ command as provided in the docs?

foggy trout
plain veldt
#

Did you install mingw-w64-x86_64-pkg-config
Did you run this commad g++ -std=c++11 foo.cpp $(pkg-config gtkmm-3.0 --cflags --libs | sed 's/ -I/ -isystem /g').

#

Did you run them on MINGW64 shell?

foggy trout
# plain veldt Did you install mingw-w64-x86_64-pkg-config Did you run this commad `g++ -std=c+...

g++ -std=c++11 main.cpp $(pkg-config gtkmm-3.0 --cflags --libs | sed 's/ -I/ -isystem /g')
g++: error: unrecognized command-line option '--cflags'
g++: error: unrecognized command-line option '--libs'
sed: -e expression #1, char 19: unknown option to `s'

C:\Dev\dev>pkg-config --version
1.9.4

C:\Dev\dev>g++ -std=c++11 main.cpp
main.cpp:1:10: fatal error: gtkmm.h: No such file or directory
1 | #include <gtkmm.h>
| ^~~~~~~~~

plain veldt
#

you didn't install pkg-config

foggy trout
#

C:\Dev\dev>pkg-config --version
1.9.4

plain veldt
#

That's pkg-config from MSYS, please install the one from MINGW64 mingw-w64-x86_64-pkgconf (or pkg-config)

#

Did you run the command on MINGW64 shell or CMD?

foggy trout
plain veldt
#

Did you even read what I am writing? I said install mingw-w64-x86_64-pkg-config

#

What do you mean by inside msys64?
What shell are you using?

foggy trout
#

I mean when I run the command in the msys64 shell. It list all arguments --cflag and --libs. I don't know what shell it is. After installed msys64 I didn't changed anything. bash? or other?

plain veldt
foggy trout
plain veldt
#

Use MINGW64 shell

gaunt needle
#

GCC can be used from Cmd, but the guide you're following requires you to use the MINGW64 shell.