MGtk Reference Manual |
---|
Compiling the MGtk packageCompiling the MGtk Package — How to compile MGtk itself |
On UNIX, MGtk uses the standard GNU build system, using autoconf for package configuration and resolving portability issues, automake for building makefiles that comply with the GNU Coding Standards, and libtool for building static libraries. The normal sequence for compiling and installing the MLib library is thus:
./configure --enable-gtk-doc
make
make install
The standard options provided by GNU autoconf may be passed to the configure script. Please see the autoconf documentation or run ./configure --help for information about the standard options.
Before you can compile the MGtk library, you need to have various other tools and libraries installed on your system. The two tools needed during the build process (as differentiated from the tools used in when creating MGtk mentioned above such as autoconf) are pkg-config and GNU make.
MGtk depends on a number of other libraries.
For all dependencies, you must to have installed in your system the MLib library, GLib library, Gtk+ library and the DSLib library ( DSLib for now is in the MLib ) before you can compile the MGtk library.
Su Win32, MGtk non utilizza il sistema autotool. E' disponibile un pacchetto dedicato e compilato per sistemi a 32bit.
scaricare il pacchetto mgtk-0.0-win32.rar
posizionare il pacchetto scaricato nella posizione C:
estrarre il pacchetto nella posizione C:
rimuovere il pacchetto compresso mgtk-0.2-win32.rar o archiviarlo
Adesso la libreria è pronta per l'uso.