Anyone has any sample .hbp to compile app using MingW+Harbour+FWH+hbmk2 ?
TIA
@ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for Harbour 11.06 and GCC - Jun. 2011 Harbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2011 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
ECHO Compiling...
set hdir=%HBDIR%
set hdirc=%hdir%\bin\harbour.exe
set hlibs=%hdir%\lib\gcc
set fwh=c:\fwteam
set mingw=c:\mingw
set path=c:\mingw\bin
%hdirc% %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log
IF ERRORLEVEL 1 GOTO COMPILEERROR
@type comp.log
%mingw%\bin\gcc -c %1.c -o%1.o -I%hdir%\include -I%mingw%\include -Wall
IF ERRORLEVEL 1 GOTO COMPILEERROR
if exist %1.rc %mingw%\bin\windres -D__FLAT__ -DDIALOG=DIALOGEX -i%1.rc -o_%1.o
IF ERRORLEVEL 1 GOTO RESOURCESERROR
if not exist %1.rc %mingw%\bin\gcc -o%1.exe %1.o -Wall -s -mwindows -L%mingw%\lib -L%hlibs% -L%fwh%\lib -mno-cygwin -Wl,--start-group -lfivehg -lfivehgc -lgtgui -luser32 -lwinspool -lcomctl32 -lcomdlg32 -lgdi32 -lole32 -loleaut32 -luuid -lwinmm -lvfw32 -lwsock32 -lmsimg32 -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbhsx -lhblang -lhbmacro -lhbmainstd -lhbmzip -lodbc32 -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbsix -lhbsqlit3 -lhbtip -lhbusrrdd -lhbvm -lhbwin -lhbzlib -lrddcdx -lrddfpt -lrddntx -lxhb -Wl,--end-group
if exist %1.rc %mingw%\bin\gcc -o%1.exe %1.o _%1.o -Wall -s -mwindows -L%mingw%\lib -L%hlibs% -L%fwh%\lib -mno-cygwin -Wl,--start-group -lfivehg -lfivehgc -lgtgui -luser32 -lwinspool -lcomctl32 -lcomdlg32 -lgdi32 -lole32 -loleaut32 -luuid -lwinmm -lvfw32 -lwsock32 -lmsimg32 -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbhsx -lhblang -lhbmacro -lhbmainstd -lhbmzip -lodbc32 -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbsix -lhbsqlit3 -lhbtip -lhbusrrdd -lhbvm -lhbwin -lhbzlib -lrddcdx -lrddfpt -lrddntx -lxhb -Wl,--end-group
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built
%1
rem delete temporary files
@del %1.c
@if exist %1.rc del _%1.o
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 SYNTAX: Buildg [Program] {-- No especifiques la extensi¢n PRG
ECHO {-- Don't specify .PRG extension
GOTO EXIT
:NOEXIST
ECHO The specified PRG %1 does not exist
:EXIT
rbdesign.o:rbdesign.c:(.data+0x798): undefined reference to `HB_FUN_CHOOSEGRADIENT'
j:\harbour\fwh\lib/fivehg.lib(CONTROL.o):CONTROL.c:(.data+0xe78): undefined reference to `HB_FUN_APPHASMANIFEST'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x198): undefined reference to `HB_FUN_REDLLVERSION'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x1b8): undefined reference to `HB_FUN_REGETPARAFORMAT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x1d8): undefined reference to `HB_FUN_REGETBULLET'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x1e8): undefined reference to `HB_FUN_REGETCHARFORMAT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x208): undefined reference to `HB_FUN_REGETHIGHLIGHT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x278): undefined reference to `HB_FUN_REGETNUMBERING'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x2d8): undefined reference to `HB_FUN_REGETZOOM'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x398): undefined reference to `HB_FUN_REINSERTPICTURE'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x438): undefined reference to `HB_FUN_RELEN'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x4c8): undefined reference to `HB_FUN_REPAGEBREAK'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x4f8): undefined reference to `HB_FUN_REPASTESPECIAL'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x578): undefined reference to `HB_FUN_RESAVEASRTF'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x628): undefined reference to `HB_FUN_RESETFONTNAME'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x638): undefined reference to `HB_FUN_RESETFONTSIZE'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x658): undefined reference to `HB_FUN_RESETHIGHLIGHT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x688): undefined reference to `HB_FUN_RESETOLEINIT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x6a8): undefined reference to `HB_FUN_RESETOLECALLBACK'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x6b8): undefined reference to `HB_FUN_REGETOLEINTERFACE'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x6d8): undefined reference to `HB_FUN_RESETPOS'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x6f8): undefined reference to `HB_FUN_RESETSELECTION'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x718): undefined reference to `HB_FUN_RESETTEXTCOLOR'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x728): undefined reference to `HB_FUN_RESETZOOM'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0xaf8): undefined reference to `HB_FUN_RESETCHARFORMAT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0xc78): undefined reference to `HB_FUN_REFINDTEXT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0xcb8): undefined reference to `HB_FUN_REGETINDENT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0xce8): undefined reference to `HB_FUN_REGETPARAGRAPH'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0xd28): undefined reference to `HB_FUN_REGETSELECTION'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0xd78): undefined reference to `HB_FUN_LOCKWINDOWUPDATE'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0xf38): undefined reference to `HB_FUN_RELOADASRTF'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0xfc8): undefined reference to `HB_FUN_REGETNMHDRLINK'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x1058): undefined reference to `HB_FUN_REPREVIEW'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x10a8): undefined reference to `HB_FUN_REPRINT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x1108): undefined reference to `HB_FUN_REPRINTBOX'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x12c8): undefined reference to `HB_FUN_RESETPARAFORMAT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x12d8): undefined reference to `HB_FUN_RESETATTRIBUTE'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x12e8): undefined reference to `HB_FUN_RESETAUTOURLDETECT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x12f8): undefined reference to `HB_FUN_RESETBULLET'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x1328): undefined reference to `HB_FUN_RESETINDENT'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x1338): undefined reference to `HB_FUN_RESETNUMBERING'
j:\harbour\fwh\lib/fivehg.lib(TRICHEDI.o):TRICHEDI.c:(.data+0x1348): undefined reference to `HB_FUN_RESETPARAGRAPH'
j:\harbour\fwh\lib/fivehg.lib(RPREVIEW.o):RPREVIEW.c:(.data+0x12e8): undefined reference to `HB_FUN_WINWORDOBJ'
j:\harbour\fwh\lib/fivehgc.lib(BRUSHES.o):BRUSHES.C:(.text+0x23f3): undefined reference to `AlphaBlend'
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 102 guests