carlos vargas wrote:Yo lo tengo, dejenme ver donde lo pongo para que lo bajen.
@ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for Harbour 22.06 (VS32bits) Jun. 2022 Harbour development power ³Ü
ECHO ³ (c) FiveTech 1993-2021 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=d:\fwh
if "%HBDIR%" == "" set HBDIR=d:\compiler\harbour
set GT=gtgui
set HDIRLIB=%HBDIR%\lib\win\msvc
set VCDIR=d:\compiler\vc2022
set VCDIRBIN=%VCDIR%\bin32
set VCDIRLIB=%VCDIR%\lib\win32
ECHO Compiling...
%HBDIR%\bin\32\harbour %1 /n /w /p /i%FWDIR%\include;%HBDIR%\include /d__FLAT__ %2 %3 > comp.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILEERROR
@type comp.log
@type warnings.log
%VCDIRBIN%\cl.exe -nologo -TC -W3 -c /GS- /I%VCDIR%\include /I%HBDIR%\include /GA %1.c
IF ERRORLEVEL 1 GOTO COMPILEERROR
IF EXIST %1.rc %VCDIRBIN%\rc -nologo -r -d__FLAT__ -I%VCDIR%\include %1
IF ERRORLEVEL 1 GOTO RESOURCESERROR
echo %1.obj > msvc.tmp
echo %FWDIR%\lib\fiveh32.lib >> msvc.tmp
echo %FWDIR%\lib\fivehc32.lib >> msvc.tmp
echo %FWDIR%\lib\hbhpdf32.lib >> msvc.tmp
echo %FWDIR%\lib\libhpdf32.lib >> msvc.tmp
echo %HDIRLIB%\hbrtl.lib >> msvc.tmp
echo %HDIRLIB%\hbvm.lib >> msvc.tmp
echo %HDIRLIB%\%GT%.lib >> msvc.tmp
echo %HDIRLIB%\hblang.lib >> msvc.tmp
echo %HDIRLIB%\hbmacro.lib >> msvc.tmp
echo %HDIRLIB%\hbrdd.lib >> msvc.tmp
echo %HDIRLIB%\rddntx.lib >> msvc.tmp
echo %HDIRLIB%\rddcdx.lib >> msvc.tmp
echo %HDIRLIB%\rddfpt.lib >> msvc.tmp
echo %HDIRLIB%\hbsix.lib >> msvc.tmp
echo %HDIRLIB%\hbdebug.lib >> msvc.tmp
echo %HDIRLIB%\hbcommon.lib >> msvc.tmp
echo %HDIRLIB%\hbpp.lib >> msvc.tmp
echo %HDIRLIB%\hbcpage.lib >> msvc.tmp
echo %HDIRLIB%\hbwin.lib >> msvc.tmp
echo %HDIRLIB%\hbcplr.lib >> msvc.tmp
echo %HDIRLIB%\hbpcre.lib >> msvc.tmp
echo %HDIRLIB%\hbct.lib >> msvc.tmp
echo %HDIRLIB%\xhb.lib >> msvc.tmp
echo %HDIRLIB%\png.lib >> msvc.tmp
echo %HDIRLIB%\hbzlib.lib >> msvc.tmp
echo %HDIRLIB%\hbziparc.lib >> msvc.tmp
echo %HDIRLIB%\hbmzip.lib >> msvc.tmp
echo %HDIRLIB%\minizip.lib >> msvc.tmp
echo %HDIRLIB%\hbtip.lib >> msvc.tmp
echo %HDIRLIB%\hbzebra.lib >> msvc.tmp
echo %HDIRLIB%\hbusrrdd.lib >> msvc.tmp
rem Uncomment these two lines to use Advantage RDD
rem echo %HDIRLIB%\rddads.lib >> msvc.tmp
rem echo %HDIRLIB%\ace32.lib >> msvc.tmp
echo %FWDIR%\lib\libmysql32.lib >> msvc.tmp
echo kernel32.lib >> msvc.tmp
echo user32.lib >> msvc.tmp
echo gdi32.lib >> msvc.tmp
echo winspool.lib >> msvc.tmp
echo comctl32.lib >> msvc.tmp
echo comdlg32.lib >> msvc.tmp
echo advapi32.lib >> msvc.tmp
echo shell32.lib >> msvc.tmp
echo ole32.lib >> msvc.tmp
echo oleaut32.lib >> msvc.tmp
echo uuid.lib >> msvc.tmp
echo odbc32.lib >> msvc.tmp
echo odbccp32.lib >> msvc.tmp
echo iphlpapi.lib >> msvc.tmp
echo mpr.lib >> msvc.tmp
echo version.lib >> msvc.tmp
echo wsock32.lib >> msvc.tmp
echo msimg32.lib >> msvc.tmp
echo oledlg.lib >> msvc.tmp
echo psapi.lib >> msvc.tmp
echo gdiplus.lib >> msvc.tmp
echo winmm.lib >> msvc.tmp
echo vfw32.lib >> msvc.tmp
echo runtimeobject.lib >> msvc.tmp
echo ws2_32.lib >> msvc.tmp
echo shlwapi.lib >> msvc.tmp
echo strmiids.lib >> msvc.tmp
IF EXIST %1.res echo %1.res >> msvc.tmp
%VCDIRBIN%\link @msvc.tmp -nologo /SUBSYSTEM:windows /FORCE:multiple /NODEFAULTLIB:msvcrt /LIBPATH:%VCDIRLIB%
IF ERRORLEVEL 1 GOTO LINKERROR
rem borrando archivos temporales y ejecutando aplicacion
ECHO * Delete temporal files *
@del %1.c
@del %1.obj
@del %1.ppo
@del warnings.log
@del comp.log
@del msvc.tmp
ECHO * Application successfully built *
%1
GOTO EXIT
ECHO
:COMPILEERROR
@type comp.log
@type warnings.log
ECHO * Compiling errors *
GOTO EXIT
:RESOURCESERROR
ECHO * Resources errors *
GOTO EXIT
:LINKERROR
ECHO * Linking errors *
GOTO EXIT
:SINTAX
ECHO SYNTAX: BuildH32 [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
rdd.lib(dbcmdx.obj) : error LNK2005: _HB_FUN_DBPACK already defined in fivehmx.lib(ERTOOLS.obj)
rtl.lib(dllcall.obj) : error LNK2005: _HB_FUN_LOADLIBRARY already defined in fivehcm.lib(DLL.obj)
rtl.lib(dllcall.obj) : error LNK2005: _HB_FUN_FREELIBRARY already defined in fivehcm.lib(DLL.obj)
ct.lib(disk.obj) : error LNK2005: _HB_FUN_GETVOLINFO already defined in fivehmx.lib(OLDFUNC.obj)
LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
Enrico Maria Giordano wrote:With Harbour no problem. With xHarbour I get the following error. Any ideas?
- Code: Select all Expand view
rdd.lib(dbcmdx.obj) : error LNK2005: _HB_FUN_DBPACK already defined in fivehmx.lib(ERTOOLS.obj)
rtl.lib(dllcall.obj) : error LNK2005: _HB_FUN_LOADLIBRARY already defined in fivehcm.lib(DLL.obj)
rtl.lib(dllcall.obj) : error LNK2005: _HB_FUN_FREELIBRARY already defined in fivehcm.lib(DLL.obj)
ct.lib(disk.obj) : error LNK2005: _HB_FUN_GETVOLINFO already defined in fivehmx.lib(OLDFUNC.obj)
LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 73 guests