A primeira coisa pra usar minigui é TENTAR aprender a compilar.
Primeiro eu preciso tentar entender, por enquanto não dá nem pra sugerir mudanças.
Vamos lá....
1) Baixei HMG 3.4.3 que já vém com tudo pronto, incluindo Harbour e mingw
2) Instalei em d:\cvsfiles\thmg
3) Configurei o básico, pra usar tudo que veio nela, do jeito que veio
d:\CVSFiles\thmg>set hb
HB_COMPILER=mingw
HB_COMPILER_VER=0503
HB_INSTALL_PREFIX=d:\cvsfiles\thmg\harbour
HB_LANG=EN
PATH=d:\tools\util;d:\cvsfiles\thmg\harbour\bin;d:\cvsfiles\thmg\mingw\bin
4) Compilei um exemplo, modo tradicional (tradicional do Harbour, não tradicional da minigui)
d:\CVSFiles\thmg\SAMPLES\Basics\Hello_World>hbmk2 hello.hbp
hbmk2: Processing environment options: -comp=mingw
Harbour 3.2.0dev (r1601151502)
Copyright (c) 1999-2015, http://harbour-project.org/
Compiling 'hello.prg'...
hello.prg(6) Error F0029 Can't open #include file 'hmg.ch'
hbmk2[hello]: Error: Running Harbour compiler (embedded). 1
(d:\cvsfiles\thmg\harbour\bin\harbour.exe) -n2 hello.prg -oc:\temp\hbmk_99rbak.dir\ -id:\cvsfiles\thmg\harbour\include
5) ok, normal de compilação, precisa indicar aonde está esse include, d:\cvsfiles\thmg\include
d:\CVSFiles\thmg\SAMPLES\Basics\Hello_World>hbmk2 hello.hbp -Id:\cvsfiles\thmg\include
hbmk2: Processing environment options: -comp=mingw
Harbour 3.2.0dev (r1601151502)
Copyright (c) 1999-2015, http://harbour-project.org/
Compiling 'hello.prg'...
Lines 15530, Functions/Procedures 1
Generating C source output to 'c:\temp\hbmk_lbu1fp.dir\hello.c'... Done.
c:/temp/hbmk_lbu1fp.dir/hello.o:hello.c:(.data+0x38): undefined reference to `HB_FUN__DUMMY'
c:/temp/hbmk_lbu1fp.dir/hello.o:hello.c:(.data+0x48): undefined reference to `HB_FUN__DEFINEWINDOW'
c:/temp/hbmk_lbu1fp.dir/hello.o:hello.c:(.data+0x58): undefined reference to `HB_FUN__ENDWINDOW'
c:/temp/hbmk_lbu1fp.dir/hello.o:hello.c:(.data+0x68): undefined reference to `HB_FUN_DOMETHOD'
collect2.exe: error: ld returned 1 exit status
hbmk2[hello]: Error: Running linker. 1
gcc.exe c:/temp/hbmk_lbu1fp.dir/hello.o c:/temp/hbmk_lbu1fp.dir/hbmk_vccrnn.o -Wl,--nxcompat -Wl,--dynamicbase -mconsole -Wl,--start-group -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -ohello.exe -Ld:/cvsfiles/thmg/harbour/lib/win/mingw
hbmk2: Error: Referenced, missing, but unknown function(s): _DUMMY(),
_DEFINEWINDOW(), _ENDWINDOW(), DOMETHOD()
6) ok, normal de compilação, precisa indicar a lib da minigui: d:\cvsfiles\thmg\lib\hmg.a
Vou só colocar um resumo, pro texto ficar menor
d:\CVSFiles\thmg\SAMPLES\Basics\Hello_World>hbmk2 hello.hbp -Id:\cvsfiles\thmg\include -lhmg -Ld:\cvsfiles\thmg\lib
hbmk2: Hint: Add option 'hbhpdf.hbc' for missing function(s):
hbmk2: Hint: Add option 'hbmisc.hbc' for missing function(s):
hbmk2: Hint: Add option 'hbwin.hbc' for missing function(s):
hbmk2: Hint: Add option 'hbmzip.hbc' for missing function(s)
hbmk2: Hint: Add option 'hbct.hbc' for missing function(s):
7) ok, faltaram essas LIbs, adicioná-las conforme indicado
d:\CVSFiles\thmg\SAMPLES\Basics\Hello_World>hbmk2 hello.hbp -Id:\cvsfiles\thmg\include -lhmg -Ld:\cvsfiles\thmg\lib hbhpdf.hbc hbmisc.hbc hbwin.hbc hbmzip.hbc hbct.hbc
hbmk2: Processing environment options: -comp=mingw
Harbour 3.2.0dev (r1601151502)
Copyright (c) 1999-2015, http://harbour-project.org/
Compiling 'hello.prg'...
Lines 15530, Functions/Procedures 1
Generating C source output to 'c:\temp\hbmk_02u2bm.dir\hello.c'... Done.
d:/cvsfiles/thmg/lib/libhmg.a(c_media.o):c_media.c:(.text+0x301): undefined reference to `MCIWndCreateW'
8) Não foi.
Já vi esse erro antes, HMG extended. É um erro normal, deve faltar alguma lib.
9)
Muita gente usa e funciona.
Agora vou ao que é recomendado: vou usar os BATs que vieram.
Apenas estou mostrando aqui o andamento.
Já serve pra outros que forem tentar do mesmo jeito.