Kheirha

Kheirha

Share

21/07/2021

البرمجة للجميع ٤:
Let's get graphical:For example, GTK+ is a highly usable, toolkit for creating graphical user interfaces (GUI) which boasts cross platform compatibility and an easy to use API. GTK+ it is written in C, but has bindings to many other popular programming languages such as C++, Perl, Python and C # among others. GTKMM is the wrapper for C++ language (a library used to create graphical user interfaces).gtkmm speaks arabic.GTKMM programs can be compiled and run under Windows operating system. To do so, you may follow the steps given hereafter:
Download and install MingW.
Download and install Dev-Cpp.
Download and unzip GTK library under c:\MingW.
Download and install gtkmm library under c:\Dev-Cpp.
Download and install msys.
Copy the source code into /home/user_name/ directory of C:\msys.
Compile source code, example for command line compiling statements in msys window:

export PKG_CONFIG_PATH=c:/Dev-Cpp/gtkmm/pkgconfig
g++ 'pkg-config --cflags gtkmm-2.4' example.cc -o example 'pkg-config --libs gtkmm-2.4'

Note: In other gtkmm packages (distributions), the pkgconfig folder (directory) is found in the lib folder under the gtkmm directory, then the export statement above should reflect the actual location of the pkgconfig folder. Gtkmm could be installled as well under the root directory (c:\). In this latter situation, the export statement should read:
export PKG_CONFIG_PATH=c:/gtkmm/pkgconfig or export PKG_CONFIG_PATH=c:/gtkmm/lib/pkgconfig.
Run executable (.exe) Windows file
Library/ Command line compiling command or statement/Example/Compiler type & version
gtkmm/ g++/g++ gtkmareas.cc -o gtkmareas `pkg-config gtkmm-2.4 --cflags --libs`/g++ (GCC) 4.2.1

التكملة فى التعليق الثانى ثم الاول.

Want your school to be the top-listed School/college in Cairo?
Click here to claim your Sponsored Listing.

Category

Address


قايتباى
Cairo
٠٠٠٠٠٠٠٠