i try to use 64 Bit Version and use c:\fwh64\samples\buildh.bat
i have modify Settings for my Environment but do not understand Error when compile / link
bcc64.exe: warning: argument unused during compilation: '-e 32or64.exe'
...
Fatal: Unable to open file '32OR64.OBJ'
* Linking errors *
need some Help please
- Code: Select all Expand view RUN
- @ECHO OFF
CLS
ECHO ┌────────────────────────────────────────────────────────────────────────────┐
ECHO │ FiveWin for Harbour 22.06 - Jun. 2022 Harbour 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\bcc
set fwh=%FWDIR%
rem if exist c:\bcc7 set bcdir=c:\bcc7
rem if exist c:\bcc64 set bcdir=c:\bcc64
if exist c:\BCC7-64 set bcdir=c:\BCC7-64
%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 -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include\windows\crtl -I%fwh%\include %1.c > b64.bc
%bcdir%\bin\bcc64 -M -c @b64.bc
:ENDCOMPILE
rem IF EXIST %1.rc %bcdir%\bin\brc64.exe -r -I%bcdir%\include\windows\crtl -I%bcdir%\include\windows\sdk %1
rem IF EXIST %1.rc %bcdir%\bin\cgrc.exe -r -m -I%bcdir%\include\windows\crtl -I%bcdir%\include\windows\sdk %1
rem IF EXIST %1.rc %vcdir%\bin\rc -r -d__FLAT__ %1
IF EXIST %1.rc %bcdir%\bin\rc.exe -r -I%bcdir%\include\windows\crtl -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\FiveH64.lib %fwh%\lib\FiveHC64.lib %fwh%\lib\libmysql.lib + >> b64.bc
echo %fwh%\lib\hbpgsql.lib %fwh%\lib\libpq.lib + >> b64.bc
echo %hdirl%\hbhpdf.lib + >> b64.bc
echo %hdirl%\libhpdf.lib + >> b64.bc
echo %hdirl%\png.lib + >> b64.bc
echo %hdirl%\hbwin.lib + >> b64.bc
echo %hdirl%\gtgui.lib + >> b64.bc
echo %hdirl%\hbrtl.lib + >> b64.bc
echo %hdirl%\hbvm.lib + >> b64.bc
echo %hdirl%\hblang.lib + >> b64.bc
echo %hdirl%\hbmacro.lib + >> b64.bc
echo %hdirl%\hbrdd.lib + >> b64.bc
echo %hdirl%\rddntx.lib + >> b64.bc
echo %hdirl%\rddcdx.lib + >> b64.bc
echo %hdirl%\rddfpt.lib + >> b64.bc
echo %hdirl%\hbsix.lib + >> b64.bc
echo %hdirl%\hbdebug.lib + >> b64.bc
echo %hdirl%\hbcommon.lib + >> b64.bc
echo %hdirl%\hbpp.lib + >> b64.bc
echo %hdirl%\hbcpage.lib + >> b64.bc
echo %hdirl%\hbcplr.lib + >> b64.bc
echo %hdirl%\hbct.lib + >> b64.bc
echo %hdirl%\hbpcre.lib + >> b64.bc
echo %hdirl%\xhb.lib + >> b64.bc
echo %hdirl%\hbziparc.lib + >> b64.bc
echo %hdirl%\hbmzip.lib + >> b64.bc
echo %hdirl%\hbzlib.lib + >> b64.bc
echo %hdirl%\minizip.lib + >> b64.bc
rem echo %hdirl%\png.lib + >> b64.bc
echo %hdirl%\hbusrrdd.lib + >> b64.bc
echo %hdirl%\hbtip.lib + >> b64.bc
echo %hdirl%\hbzebra.lib + >> b64.bc
echo %hdirl%\hbcurl.lib + >> b64.bc
echo %hdirl%\libcurl.lib + >> b64.bc
rem Uncomment these two lines to use Advantage RDD
rem echo %hdirl%\rddads.lib + >> b64.bc
rem echo %hdirl%\Ace64.lib + >> b64.bc
echo %fwh%\lib\dolphin.lib + >> b64.bc
rem echo %fwh%\lib\libmysql.lib + >> b64.bc
echo %bcdir%\lib\cw64.lib + >> b64.bc
echo %bcdir%\lib\uuid.lib + >> b64.bc
echo %bcdir%\lib\import64.lib + >> b64.bc
echo %bcdir%\lib\ws2_64.lib + >> b64.bc
echo %bcdir%\lib\psdk\odbc64.lib + >> b64.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b64.bc
echo %bcdir%\lib\psdk\iphlpapi.lib + >> b64.bc
echo %bcdir%\lib\psdk\msimg64.lib + >> b64.bc
echo %bcdir%\lib\psdk\psapi.lib + >> b64.bc
echo %bcdir%\lib\psdk\rasapi64.lib + >> b64.bc
echo %bcdir%\lib\psdk\gdiplus.lib + >> b64.bc
echo %bcdir%\lib\psdk\shell64.lib, >> 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
rem delete temporary files
@del %1.c
:COMPILEERRORS
@type comp.log
@type warnings.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