What compiler arguments should I use to compile a gtkmm program?
For gtkmm 2, you should use pkg-config. For instance, for gtkmm 2.0/2.2: pkg-config gtkmm-2.0 –libs –cflags Or for gtkmm 2.4, wich installs in parallel with gtkmm 2.0/2.2: pkg-config gtkmm-2.4 –libs –cflags You should use pkg-config’s PKG_CHECK_MODULES macro in your configure.in file, as demonstrated in the gtkmm_hello package.
Related Questions
- When I try to compile a program with the Fortran 90 compiler I get the following error message: cft90 INTERNAL: Cannot retrieve message 3 from the message system. What does this message mean?
- My program seems to compile with the g++ compiler, but not with the gcc compiler. Whats going on?
- What compiler arguments should I use to compile a gtkmm program?