Environmental construction of GTK + development under Windows

zhaozj2021-02-17  69

http://www.pcpm.ucl.ac.be/~gustin/win32_ports/

GTK runs on Windows requires some Runtime libraries, download this runtime library gtk-runtime-environment-2.2.4.exe, add this LIB path to this runtime library to Path. View the source code requires DEV-CPP. DEV-C is a IDE that uses the GCC compiler under Windows, and I am using version 4.9.8.0.

Download DEVCP4980.EXE to http://www.bloodshed.net/.

To make compilation, you need to install the GTK DEVELOP library, download gtk-development-environment-2.2.4.exe, and make some settings after installation.

http://www.pcpm.ucl.ac.be/~gustin/win32_ports/binaries/gtkmm-2.2.8.1.exe

Install gtk-runtime-environment-2.2.4.exe is usually C: / Program Files / Common files / gtk / 2.0 and gtk-development-environment-2.2.4.exe to directory C: / DEV-C

The path to the GTKMM-2.2.8.1.exe installed is selected as C: / DEV-C : as shown below

Run command pkg-config -cflags -libs gtkmm-2.0

The configuration of the GTKMM project is shown below:

Run command pkg-config -cflags -libs GTK -2.0

The configuration of GTK project is similar to GTKMM project, which is different from the parameters:

转载请注明原文地址:https://www.9cbs.com/read-31276.html

New Post(0)