Novo mingw 15.1

Discussão sobre a biblioteca Fivewin - O Clipper para Windows.

Moderador: Moderadores

Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Novo mingw 15.1

Mensagem por JoséQuintas »

acrescentei o -I (inicial de include), com o path de include do fivewin.ch
d:\github\fivewin\samples>hbmk2 xmltree.prg -Id:\github\fivewin\include


hbmk2: Processing environment options: -comp=mingw
Harbour 3.2.0dev (r2503251254)
Copyright (c) 1999-2024, https://harbour.github.io/
Compiling 'xmltree.prg'...
Lines 5200, Functions/Procedures 4
Generating C source output to 'C:\Users\joseq\AppData\Local\Temp\hbmk_vggs6m.dir\xmltree.c'... Done.
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x48): undefined reference to `HB_FUN_TWINDOW'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x128): undefined reference to `HB_FUN_MENUBEGIN'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x138): undefined reference to `HB_FUN_MENUADDITEM'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x148): undefined reference to `HB_FUN_MSGABOUT'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x158): undefined reference to `HB_FUN_MENUEND'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x168): undefined reference to `HB_FUN_TTREEVIEW'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x198): undefined reference to `HB_FUN_TLISTBOX'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x1b8): undefined reference to `HB_FUN_TSPLITTER'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x1f8): undefined reference to `HB_FUN_TXMLDOCUMENT'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x208): undefined reference to `HB_FUN_TXMLITERATOR'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x368): undefined reference to `HB_FUN_HEVAL'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o:xmltree.c:(.data+0x378): undefined reference to `HB_FUN_FW_GT'
collect2.exe: error: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/xmltree.o C:/Users/joseq/AppData/Local/Temp/hbmk_vggs6m.dir/hbmk_zvjfpx.o -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 -lwinmm -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oxmltree.exe -Ld:/harbour/lib/win/mingw

hbmk2: Hint: Add option 'xhb.hbc' for missing function(s): HEval(),
TXMLIterator(), TXMLDocument()
hbmk2: Error: Referenced, missing, but unknown function(s): TWINDOW(),
MENUBEGIN(), MENUADDITEM(), MSGABOUT(), MENUEND(), TTREEVIEW(),
TLISTBOX(), TSPLITTER(), FW_GT()
Ok
Deu falta de funções do fivewin.
Precisa acrescentar o PATH de onde estão as LIBs, e o nome delas.
Nota: Aquele HBC já faz isso mas não usei.

Algumas das funções o HBMK2 reconheceu como parecendo as do xhb.hbc
Se não tiver o hbc seria -L com path e -lcom lib, provavelmente -lxhb
Mas vamos as do fivewin fivehg ou algo assim
Só sei porque também uso fivewin.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Novo mingw 15.1

Mensagem por JoséQuintas »

d:\github\fivewin\samples>hbmk2 xmltree.prg -Id:\github\fivewin\include -Ld:\github\fivewin\lib -lfivehg -lfivehgc


hbmk2: Processing environment options: -comp=mingw
Harbour 3.2.0dev (r2503251254)
Copyright (c) 1999-2024, https://harbour.github.io/
Compiling 'xmltree.prg'...
Lines 5200, Functions/Procedures 4
Generating C source output to 'C:\Users\joseq\AppData\Local\Temp\hbmk_e4kkvy.dir\xmltree.c'... Done.
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_e4kkvy.dir/xmltree.o:xmltree.c:(.data+0x1f8): undefined reference to `HB_FUN_TXMLDOCUMENT'
d:/harbour/comp/mingw32/bin/../lib/gcc/i686-w64-mingw32/15.1.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/joseq/AppData/Local/Temp/hbmk_e4kkvy.dir/xmltree.o:xmltree.c:(.data+0x208): undefined reference to `HB_FUN_TXMLITERATOR'
...
gcc.exe C:/Users/joseq/AppData/Local/Temp/hbmk_e4kkvy.dir/xmltree.o C:/Users/joseq/AppData/Local/Temp/hbmk_e4kkvy.dir/hbmk_bz8kgv.o -mconsole -Wl,--start-group -lfivehg -lfivehgc -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 -lwinmm -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oxmltree.exe -Ld:/harbour/lib/win/mingw -Ld:/github/fivewin/lib

hbmk2: Hint: Add option 'xhb.hbc' for missing function(s): MessageBox(),
i18n(), HGetCaseMatch(), ANSIToWide(), HexToNum(), WideToANSI(),
RAScan(), HHasKey(), SToT(), ValToPrgExp(), hb_enumIndex(),
hb_regexReplace(), hb_Exec(), DateTime(), AtSkipStrings(), TToS(),
WildMatch(), hb_Decode(), HMerge(), HSetCaseMatch(), Notify(),
HexToStr(), StrToHex(), HGetPairAt(), hb_FuncPtr(), HSet(), HClone(),
CToT(), os_IsWTSClient(), OleDefaultArg(), CreateObject(),
GetActiveObject(), NumToHex(), TOleAuto(), Occurs(), HEval(),
TXMLIterator(), TXMLDocument()
hbmk2: Hint: Add option 'hbwin.hbc' for missing function(s):
wapi_OutputDebugString(), win_axGetControl(), wapi_CreateWindowEx(),
win_axInit(), __oleVariantNew()
hbmk2: Hint: Add option 'hbct.hbc' for missing function(s): PadRight(),
TimeValid(), DToR(), Cos(), Sin(), Pi(), RemLeft(), RemAll(), Blank(),
RangeRepl(), CharOne(), Ceiling(), NumToken(), CharSwap(), CharMirr(),
IsLeap(), SecToTime(), TimeToSec(), EoM(), AddMonth(), AscPos(),
PosChar(), AtToken(), PosRepl(), Token(), CharOnly(), NToCMonth(),
Floor(), Log10(), TokenUpper(), CharRem(), NumAt(), SetFattr(),
CharRepl(), AfterAtNum(), BeforAtNum(), ExeName(), RemRight(),
NetRmtname(), DriveType(), TrueName()
hbmk2: Hint: Add option 'hbmzip.hbc' for missing function(s): hb_unzipClose(),
hb_unzipFileNext(), hb_unzipFileClose(), hb_unzipFileRead(),
hb_unzipFileOpen(), hb_unzipFileInfo(), hb_unzipFileFirst(),
hb_unzipOpen()
hbmk2: Hint: Add option 'hbziparc.hbc' for missing function(s):
hb_GetFilesInZip()
hbmk2: Hint: Add option 'hbfoxpro.hbc' for missing function(s): Occurs()
Agora a mensagem de erro foi gigantesca... talvez mais de 1.000 linhas
Só interessa essa parte final.
Tá usando funções de compactação, funções de outras libs,etc. etc. etc. deu falta porque não indiquei.

É resolver as conhecidas, e deixar as outras pra depois.
Se tiver HBC, pras que faltam, é usar, senão vai ter que ver o nome delas.
No harbour padrão o hbc funciona.
Em harbour mexido... tem que saber o nome do arquivo lib.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Novo mingw 15.1

Mensagem por JoséQuintas »

Vamos voltar ao que mostrei a primeira vez: UM FIVEWIN.HBC indicando tudo
ele fica em \fivewin, esses nomes valem como \fivewin\nome
incpath=include representa \fivewin\include

Código: Selecionar todos

incpaths=include

libpaths=lib
{mingw}libs=fwchanged
{mingw}libs=fivehg
{mingw}libs=fivehgc

{mingw}libs=user32 winspool kernel32 comctl32 comdlg32 gdi32 gdiplus ole32
{mingw}libs=oleaut32 psapi oledlg mfcuia32 msimg32 win32k stdc++ version
{mingw}libs=uuid winmm vfw32 wsock32
{mingw}libs=uxtheme

libs=hbwin.hbc
libs=xhb.hbc
libs=hbct.hbc
libs=hbmzip.hbc
libs=hbziparc.hbc

d:\github\fivewin\samples>hbmk2 xmltree.prg ..\fivewin.hbc


hbmk2: Processing environment options: -comp=mingw
Harbour 3.2.0dev (r2503251254)
Copyright (c) 1999-2024, https://harbour.github.io/
Compiling 'xmltree.prg'...
Lines 5200, Functions/Procedures 4
Generating C source output to 'C:\Users\joseq\AppData\Local\Temp\hbmk_fno2ys.dir\xmltree.c'... Done.
foi.

hbct.hbc do harbour, o que é isso ? vamos ver
hbct.png
Nesse caso talvez mais atrapalhe do que ajude, porque confunde.... mas vamos lá...
o include é a própria pasta, portanto \harbour\contrib\hbct
a lib, apesar do estranho aí, está definido como ${hb_name}, esse é o nome do próprio aquivo hbc, portanto hbct
É que esse arquivo é pra se quiser usar como DLL, ou outras coisas mais, tá mais complicado que o normal.

O que interessa daí ?
Se o seu harbour é mexido, e não tem o hbct.hbc, indica manual

-I\harbour\contrib\hbct
-lhbct

Tá entendendo porque pelo HBC é mais fácil ? o hbc já tem isso.

Tá entendendo como complica dar detalhes ? Tenho que ficar olhando HBC por HBC, porque o harbour do fivewin é mexido.
Nessa daí pelo menos é mais simples, é o próprio nome.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Novo mingw 15.1

Mensagem por JoséQuintas »

voltando nisso:

-I\harbour\contrib\hbct
-lhbct

Vai colocar isso em tudo que é projeto ?
Coloca no fivewin.hbc

incpaths=\harbour\contrib\hbct
libs=hbct

as vezes no harbour mexido juntam tudo na pasta include e na pasta lib do harbour
se fizerem isso só precisa do nome.

Tá entendendo também ?
no harbour mexido é diferente.
Pra saber como é, só se eu baixar o harbour mexido, o que eu não quero fazer.

No caso, voce procura aonde está hbct.lib (ou hbct.a no mingw) e indica o path, se não for do harbour

E vai fazer o mesmo com CADA LIB que der falta no projeto.

Trabalhão ?
Se estiver tudo oficial, o próprio hbmk2 avisou o que fazer.
Se o harbour é mexido... aí tem que procurar manual
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Novo mingw 15.1

Mensagem por JoséQuintas »

Até fui olhar... mas....
Você passou 2 links iguais do GCC 15.1
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Novo mingw 15.1

Mensagem por JoséQuintas »

Entendeu ?

Deu falta, é indicar PATH e nome.

O que vai dar falta ?
Sei lá.... depende do que usar.

Aonde fica cada função ?
Sei lá... nome conhecido dá pra ter uma idéia.

Aproveita que tem do BCC, que os nomes para GCC são semelhantes.

Talvez melhor esperar reclamar, igual eu fiz aqui, e acrescentar só o que precisar.

Olhe nesse HBC o libs=
Tem lib a mais do mingw também, se não me engano GDI ou GDIPLUS, não sei se vai ter na compilação do bcc.

Vai resolvendo conforme o erro que aparecer, é o melhor jeito.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
Kapiaba
Colaborador
Colaborador
Mensagens: 1908
Registrado em: 07 Dez 2012 16:14
Localização: São Paulo
Contato:

Novo mingw 15.1

Mensagem por Kapiaba »

Espetacular:
REPDEMO2.png
Gracias, tks.

Regards, saludos.
Kapiaba
Colaborador
Colaborador
Mensagens: 1908
Registrado em: 07 Dez 2012 16:14
Localização: São Paulo
Contato:

Novo mingw 15.1

Mensagem por Kapiaba »

Thank you very much Enrico!

Código: Selecionar todos

REM MINGW.BAT by Enrico Maria Giordano. 23/05/2025 - Very Good.

@ECHO OFF
CLS
ECHO Compiling MINGW GCC 15.01 WITH HARBOUR FOR FWH...
ECHO.
ECHO Wait a moment please...

REM SET hdir=e:\fw\harbour
REM SET hdirc=%hdir%\bin\win\mingw\harbour.exe
REM SET hlibs=%hdir%\lib\win\mingw
REM SET mingw=e:\fw\temp\mgw32
REM SET path=%mingw%\bin
REM SET fwh=e:\fw\fwharbour

SET hdir=c:\HBGCC151
SET hdirc=%hdir%\bin\win\mingw\harbour.exe
SET hlibs=%hdir%\lib\win\mingw
SET mingw=c:\mingw
SET path=%mingw%\bin
SET fwh=C:\FwH1905

REM // Generando el .c
REM TUTOR04.PRG, es el MENU PRINCIPAL, debe venir primero.
%hdirc% TUTOR04 /m /n /i%fwh%\include;%hdir%\include /w /p %2 %3  > comp.log 2>  warnings.log
%hdirc% TUTOR01 /m /n /i%fwh%\include;%hdir%\include /w /p %2 %3 >> comp.log 2>> warnings.log
%hdirc% TUTOR02 /m /n /i%fwh%\include;%hdir%\include /w /p %2 %3 >> comp.log 2>> warnings.log
%hdirc% TUTOR03 /m /n /i%fwh%\include;%hdir%\include /w /p %2 %3 >> comp.log 2>> warnings.log

IF ERRORLEVEL 1 GOTO COMPILEERROR

REM // Generando el .o
%mingw%\bin\gcc -c -w TUTOR04.c -oTUTOR04.o -I%hdir%\include -I%mingw%\include >> comp.log 2>> warnings.log
%mingw%\bin\gcc -c -w TUTOR01.c -oTUTOR01.o -I%hdir%\include -I%mingw%\include >> comp.log 2>> warnings.log
%mingw%\bin\gcc -c -w TUTOR02.c -oTUTOR02.o -I%hdir%\include -I%mingw%\include >> comp.log 2>> warnings.log
%mingw%\bin\gcc -c -w TUTOR03.c -oTUTOR03.o -I%hdir%\include -I%mingw%\include >> comp.log 2>> warnings.log

IF ERRORLEVEL 1 GOTO COMPILEERROR

REM // EVITAR PROBLEMAS EN EL DIALOGO CON BITMAPS DE BORLAND.
IF EXIST tutor04.rc %mingw%\bin\windres -D__FLAT__ -DDIALOG=DIALOGEX -itutor04.rc -o_tutor04.o --preprocessor "gcc -E -xc-header -include windows.h" >> comp.log 2>> warnings.log

REM // generando el executable sin .rc
IF NOT EXIST TUTOR04.rc %mingw%\bin\gcc -oTUTOR04.exe TUTOR04.o -Wall -s -mwindows -L%mingw%\lib -L%hlibs% -L%fwh%\lib -Wl,--enable-stdcall-fixup -Wl,--start-group -lfivehg -lfivehgc -llibmysql32 -lgtgui -luser32 -lshell32 -lwinspool -lkernel32 -lcomctl32 -lcomdlg32 -lgdi32 -lgdiplus -lole32 -loleaut32 -lpsapi -loledlg -lmfcuia32 -lmsimg32 -lwin32k -lstdc++ -lversion -luuid -lwinmm -lvfw32 -lwsock32 -lshell32 -lmpr -lws2_32 -liphlpapi -luxtheme -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbdebug -lhbhsx -lhblang -lhbmacro -lhbmainstd -lhbmzip -lodbc32 -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbsix -lhbsqlit3 -lhbtip -lhbusrrdd -lhbvm -lhbwin -lhbzlib -lrddcdx -lrddfpt -lrddntx -lxhb -lhbziparc -lminizip -lhbmzip -lhbziparc -lpng -Wl,--end-group >> comp.log 2>> warnings.log

REM // generando el executable con .rc
IF EXIST     TUTOR04.rc %mingw%\bin\gcc -oTUTOR04.exe TUTOR04.o _TUTOR04.o -Wall -s -mwindows -L%mingw%\lib -L%hlibs% -L%fwh%\lib -Wl,--enable-stdcall-fixup -Wl,--start-group -lfivehg -lfivehgc -llibmysql32 -lgtgui -luser32 -lshell32 -lwinspool -lkernel32 -lcomctl32 -lcomdlg32 -lgdi32 -lgdiplus -lole32 -loleaut32 -lpsapi -lmsimg32 -lwin32k -loledlg -lstdc++ -lmfcuia32 -lversion -luuid -lwinmm -lvfw32 -lwsock32 -lshell32 -lws2_32 -liphlpapi -lmpr -luxtheme -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbdebug -lhbhsx -lhblang -lhbmacro -lhbmainstd -lhbmzip -lodbc32 -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbsix -lhbsqlit3 -lhbtip -lhbusrrdd -lhbvm -lhbwin -lhbzlib -lrddcdx -lrddfpt -lrddntx -lxhb -lhbziparc -lminizip -lhbmzip -lhbziparc -lpng -Wl,--end-group >> comp.log 2>> warnings.log

IF ERRORLEVEL 1 GOTO LINKERROR

ECHO.
ECHO.
ECHO * Application successfully built

IF EXIST TUTOR04.exe TUTOR04.exe

GOTO EXIT

ECHO

:RESOURCESERROR
ECHO * Resources errors *
GOTO EXIT

:COMPILEERROR
@type comp.log
ECHO * Compile errors *
GOTO EXIT

:LINKERROR
ECHO * Link errors *
GOTO EXIT

:SINTAX
ECHO                         ERROR:
ECHO                         COMPILER ERROR(MingW).
GOTO EXIT

:NOEXIST
ECHO The specified PRG does not exist

:EXIT

REM FIN / END             -kapiabafwh@gmail.com-
Regards, saludos.
Responder