Modo rĂ¡pido de iniciar com a xhgtk em Windows usando o DOS e MINGW
- Instale o harbour para o MinGw
- Instale o All-In-one blunde, que pode ser encontrado aqui
- Instale o TDM/mingw installer (~24MB) por exemplo em c:\MinGw
- Baixe a xhgtk do svn, se desejar baixe os fontes do sourceforge ou ainda do tarball mais recente,
gerado automaticamente pelo servidor do SourceForge tarball
- Configure as variaveis de ambiente:
SET HB_COMPILER=mingw
SET HB_PREF=hb
SET HB_EXTERNALLIBS=no
SET HB_INSTALL_PREFIX=C:\harbour
SET HB_PATH=C:\harbour
SET HB_BIN_INSTALL=C:\harbour\bin
SET HB_LIB_INSTALL=C:\harbour\lib
SET HB_INC_INSTALL=C:\harbour\include
SET HB_DOC_INSTALL=C:\harbour\doc
SET PATH=C:\Gtk\bin;C:\harbour\bin;C:\Mingw\bin
SET PKG_CONFIG_PATH=C:\Gtk\lib\pkgconfig
SET GTK_BASEPATH=C:\Gtk
- Compile a lib
cd \xhgtk
build.bat
- Teste algum exemplo
cd \xhgtk\samples\functions
build.bat print01