esto en los ficheros bat de la carpeta samples de fwh
%HDIR%\bin\harbour %1 /n /i%FWH%\include;%HDIR%\include /w /p %2 %3 > comp.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log
@type warnings.log
%HDIR%\bin\harbour %1 /n /i%FWH%\include;%HDIR%\include /w /p %2 %3 > comp.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log
@type warnings.log
@ECHO off
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 14.11 - Nov. 2014 xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2014 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
if "%FWDIR%" == "" set FWDIR=d:\fwh
if "%XHDIR%" == "" set XHDIR=d:\compiler\xharbour
set GT=gtgui
ECHO Compiling...
set BCDIR=d:\compiler\bcc
set HDIR=%XHDIR%
set HDIRL=%HDIR%\lib
set FWH=%FWDIR%
set FWHL=%FWDIR%\lib
%HDIR%\bin\harbour %1 /n /i%FWH%\include;%HDIR%\include /w /p %2 %3 > comp.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log
@type warnings.log
echo -c -v -q -M -O2 -tWM -O2 -e%1.exe -I%HDIR%\include -I%BCDIR%\include %1.c > b32.bc
%BCDIR%\bin\bcc32 @b32.bc
:ENDCOMPILE
IF EXIST %1.rc %BCDIR%\bin\brc32 -r -d__FLAT__ -I%BCDIR%\include -I%BCDIR%\include\windows\sdk %1
echo %BCDIR%\lib\c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %FWH%\libx\patchx.lib %FWHL%\fivehx.lib %FWHL%\fivehc.lib + >> b32.bc
echo %HDIRL%\rtl.lib + >> b32.bc
echo %HDIRL%\vm.lib + >> b32.bc
echo %HDIRL%\%GT%.lib + >> b32.bc
echo %HDIRL%\lang.lib + >> b32.bc
echo %HDIRL%\macro.lib + >> b32.bc
echo %HDIRL%\rdd.lib + >> b32.bc
echo %HDIRL%\dbfntx.lib + >> b32.bc
echo %HDIRL%\dbfcdx.lib + >> b32.bc
echo %HDIRL%\dbffpt.lib + >> b32.bc
echo %HDIRL%\hbsix.lib + >> b32.bc
echo %HDIRL%\debug.lib + >> b32.bc
echo %HDIRL%\common.lib + >> b32.bc
echo %HDIRL%\pp.lib + >> b32.bc
echo %HDIRL%\pcrepos.lib + >> b32.bc
echo %HDIRL%\ct.lib + >> b32.bc
echo %HDIRL%\zlib.lib + >> b32.bc
echo %HDIRL%\hbzip.lib + >> b32.bc
echo %HDIRL%\libmisc.lib + >> b32.bc
echo %HDIRL%\tip.lib + >> b32.bc
echo %HDIRL%\png.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo %HDIR%\lib\rddads.lib + >> b32.bc
rem echo %HDIR%\lib\Ace32.lib + >> b32.bc
rem Uncomment these two lines to use dolphi mysql
rem echo %FWH%\libx\dolphinx.lib + >> b32.bc
rem echo %HDIR%\lib\libmysql.lib + >> b32.bc
echo %BCDIR%\lib\cw32.lib + >> b32.bc
echo %BCDIR%\lib\import32.lib + >> b32.bc
echo %BCDIR%\lib\uuid.lib + >> b32.bc
echo %BCDIR%\lib\ws2_32.lib + >> b32.bc
echo %BCDIR%\lib\psdk\odbc32.lib + >> b32.bc
echo %BCDIR%\lib\psdk\rasapi32.lib + >> b32.bc
echo %BCDIR%\lib\psdk\nddeapi.lib + >> b32.bc
echo %BCDIR%\lib\psdk\msimg32.lib + >> b32.bc
echo %BCDIR%\lib\psdk\psapi.lib + >> b32.bc
echo %BCDIR%\lib\psdk\gdiplus.lib + >> b32.bc
echo %BCDIR%\lib\psdk\shell32.lib + >> b32.bc
echo %BCDIR%\lib\psdk\iphlpapi.lib, >> b32.bc
IF EXIST %1.res echo %1.res >> b32.bc
if %GT% == gtwin %BCDIR%\bin\ilink32 -Gn -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %BCDIR%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
rem delete temporary files
@del %1.c
@del %1.ppo
@del %1.obj
@del %1.map
@del %1.tds
@del b32.bc
@del comp.log
@del warnings.log
IF EXIST %1.rc @del %1.res
rem ejecutando y saliendo del script
%1
GOTO EXIT
ECHO
:COMPILEERRORS
@type comp.log
@type warnings.log
ECHO * Compile errors *
GOTO EXIT
:LINKERROR
ECHO * Linking errors *
GOTO EXIT
:SINTAX
ECHO SYNTAX: Buildx [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
%HDIR%\bin\harbour %1 /n /i%FWH%\include;%HDIR%\include /w /p %2 %3 > comp.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log
@type warnings.log
:COMPILEERRORS
@type comp.log
@type warnings.log
ECHO * Compile errors *
GOTO EXIT
@ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 14.11 - Nov. 2014 xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2014 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
ECHO Compiling...
if "%FWDIR%" == "" set FWDIR=.\..\
if "%XHDIR%" == "" set XHDIR=c:\xhb061214
set GT=gtgui
set hdir=%XHDIR%
set hdirl=%hdir%\lib
set bcdir=c:\bcc582
set fwh=%FWDIR%
%hdir%\bin\harbour %1 /m/n/gc0 /i%fwh%\include;%hdir%\include /w0 /p %2 %3 > comp.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log
echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE
IF EXIST %1.rc %bcdir%\bin\brc32 -r -I%bcdir%\include %1
echo %bcdir%\lib\c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib + >> b32.bc
echo %hdirl%\rtl.lib + >> b32.bc
echo %hdirl%\vm.lib + >> b32.bc
echo %hdirl%\%GT%.lib + >> b32.bc
echo %hdirl%\lang.lib + >> b32.bc
echo %hdirl%\codepage.lib + >> b32.bc
echo %hdirl%\macro.lib + >> b32.bc
echo %hdirl%\rdd.lib + >> b32.bc
echo %hdirl%\dbfntx.lib + >> b32.bc
echo %hdirl%\dbfcdx.lib + >> b32.bc
echo %hdirl%\dbffpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\debug.lib + >> b32.bc
echo %hdirl%\common.lib + >> b32.bc
echo %hdirl%\pp.lib + >> b32.bc
echo %hdirl%\pcrepos.lib + >> b32.bc
echo %hdirl%\ct.lib + >> b32.bc
echo %hdirl%\zlib.lib + >> b32.bc
echo %hdirl%\hbzip.lib + >> b32.bc
echo %hdirl%\libmisc.lib + >> b32.bc
echo %hdirl%\tip.lib + >> b32.bc
echo %hdirl%\png.lib + >> b32.bc
rem echo %hdirl%\hbhpdf.lib + >> b32.bc
rem echo %hdirl%\libharu.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo %hdir%\lib\rddads.lib + >> b32.bc
rem echo %hdir%\lib\Ace32.lib + >> b32.bc
echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\uuid.lib + >> b32.bc
echo %bcdir%\lib\ws2_32.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc
echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\gdiplus.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib, >> b32.bc
IF EXIST %1.res echo %1.res >> b32.bc
rem uncomment this line to use the debugger and comment the following one
if %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
%1
GOTO EXIT
ECHO
rem delete temporary files
@del %1.c
:COMPILEERRORS
@type comp.log
ECHO * Compile errors *
GOTO EXIT
:LINKERROR
ECHO * Linking errors *
GOTO EXIT
:SINTAX
ECHO SYNTAX: Build [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
Compiling...
tutor04.prg(37) Error E0002 Unterminated string: '..\bitmaps\16x16\printer.bmp
FLAT ;'
tutor04.prg(38) Error E0030 Syntax error: "syntax error at 'MSGINFO'"
xHarbour 1.2.3 Intl. (SimpLex) (Build 20141124)
Copyright 1999-2014, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'tutor04.prg' and generating preprocessed output to 'tutor04.ppo'...
2 errors
No code generated
* Compile errors *
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: D.Fernandez, Google [Bot] and 31 guests