hi Antonio.
Antonio Linares wrote:Please go to FWH\samples folder and do:
build64 tutor01
this is "Original" (hope so)
if "%FWDIR%" == "" set FWDIR=.\..
if "%HBDIR%" == "" set HBDIR=c:\harbour
set hdir=%HBDIR%
set hdirl=%hdir%\lib\win\bcc64
set fwh=%FWDIR%
set bcdir=c:\bcc7164
---
this i have change to fit my Environment
if "%FWDIR%" == "" set FWDIR=c:\fwh64
if "%HBDIR%" == "" set HBDIR=c:\harbour64
set hdir=%HBDIR%
set hdirl=%hdir%\lib\win\bcc64
set fwh=%FWDIR%
set bcdir=c:\BCC7-64
---
when now run "build64 tutor01" i go Error
Der Befehl "c:\BCC7-64\bin\brc32" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
there is no brc32.exe under 64 Bit ... change to RC.EXE
---
next Try
Fatal: Unable to open file 'HBWIN.A'
now have a look at this
hdirl=c:\harbour64\lib\win\bcc64
c:\fwh64\samples>dir %hdirl%
Verzeichnis von c:\harbour64\lib\win
what is going on that \bcc64 got "lost"
---
- Code: Select all Expand view
@ECHO OFF
CLS
ECHO ┌────────────────────────────────────────────────────────────────────────────┐
ECHO │ FiveWin for Harbour 22.06 bcc7 64bits Jun. 2022 xHarbour development power │▄
ECHO │ (c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
ECHO └────────────────────────────────────────────────────────────────────────────┘█
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
if "%FWDIR%" == "" set FWDIR=c:\fwh64
if "%HBDIR%" == "" set HBDIR=c:\harbour64
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui
ECHO Compiling...
set hdir=%HBDIR%
set hdirl=%hdir%\lib\win\bcc64
set fwh=%FWDIR%
set bcdir=c:\BCC7-64
%hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p /d__64__ %2 %3 > comp.log 2> warnings.log
if errorlevel 1 goto COMPILEERROR
@type comp.log
@type warnings.log
echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc
%bcdir%\bin\bcc64 -c -I%hdir%\include -I%bcdir%\include\windows\sdk -I%bcdir%\include\windows\crtl -o%1.obj %1.c
:ENDCOMPILE
if EXIST %1.rc %bcdir%\bin\rc -r -D__64__ -I%bcdir%\include -I%bcdir%\include\windows\sdk %1
echo %bcdir%\lib\c0w64.o + > b64.bc
echo %1.obj, + >> b64.bc
echo %1.exe, + >> b64.bc
echo %1.map, + >> b64.bc
echo %fwh%\lib\Five64.a %fwh%\lib\FiveC64.a %fwh%\lib\libmariadb64.a + >> b64.bc
echo %hdirl%\hbwin.a + >> b64.bc
echo %hdirl%\gtgui.a + >> b64.bc
echo %hdirl%\hbrtl.a + >> b64.bc
echo %hdirl%\hbvm.a + >> b64.bc
echo %hdirl%\hblang.a + >> b64.bc
echo %hdirl%\hbmacro.a + >> b64.bc
echo %hdirl%\hbrdd.a + >> b64.bc
echo %hdirl%\rddntx.a + >> b64.bc
echo %hdirl%\rddcdx.a + >> b64.bc
echo %hdirl%\rddfpt.a + >> b64.bc
echo %hdirl%\hbsix.a + >> b64.bc
echo %hdirl%\hbdebug.a + >> b64.bc
echo %hdirl%\hbcommon.a + >> b64.bc
echo %hdirl%\hbpp.a + >> b64.bc
echo %hdirl%\hbcpage.a + >> b64.bc
echo %hdirl%\hbcplr.a + >> b64.bc
echo %hdirl%\hbct.a + >> b64.bc
echo %hdirl%\hbpcre.a + >> b64.bc
echo %hdirl%\xhb.a + >> b64.bc
echo %hdirl%\hbziparc.a + >> b64.bc
echo %hdirl%\hbmzip.a + >> b64.bc
echo %hdirl%\hbzlib.a + >> b64.bc
echo %hdirl%\minizip.a + >> b64.bc
echo %hdirl%\png.a + >> b64.bc
echo %hdirl%\hbusrrdd.a + >> b64.bc
echo %hdirl%\hbtip.a + >> b64.bc
echo %hdirl%\hbzebra.a + >> b64.bc
echo %hdirl%\xmath.a + >> b64.bc
echo %hdirl%\hbhpdf.a + >> b64.bc
echo %hdirl%\libhpdf.a + >> b64.bc
echo %bcdir%\lib\cw64.a + >> b64.bc
echo %bcdir%\lib\psdk\kernel32.a + >> b64.bc
echo %bcdir%\lib\psdk\user32.a + >> b64.bc
echo %bcdir%\lib\psdk\iphlpapi.a + >> b64.bc
echo %bcdir%\lib\import64.a, >> b64.bc
if EXIST %1.res echo %1.res >> b64.bc
if %GT% == gtwin %bcdir%\bin\ilink64 -Gn -Tpe -s @b64.bc
if ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %bcdir%\bin\ilink64 -Gn -aa -Tpe -s @b64.bc
if ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
rem signtool.exe sign /fd sha256 %1.exe
%1
GOTO EXIT
ECHO
:COMPILEERROR
@type comp.log
@type warnings.log
ECHO * Compiling 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