Volviendo a programar con Fivewin
Posted: Wed Apr 03, 2019 6:35 pm
Despues de alejarme de la programaciòn hace màs de una dècada (y haber utilizado, en ese entonces, el FWH2.4,
que ya no lo tengo y utilizar xHarbour y Clipper 5.3b, tengo la inquietud de pasar las aplicaciones a harbour.
Sin embargo; ando de "tumbo en tumbo" sin poder compilar y crear una libreria estatica (lib) con mis rutinas personales.
Por favor, amigos, necesito una mano para averiguar el por que me està dando los errores que transcribo:
"c:\LIBRERIA\SGEM53W\FwhLib>c:\harbour\bin\harbour /m /n /v /gc /ic:\FWH\include;
c:\harbour\include;c:\borland\bcc55\include;c:\borland\bcc55\include\gl;c:\borla
nd\bcc55\include\rw;c:\borland\bcc55\include\Sys REDONDEA.prg
Harbour devel build 1.1-1 Intl.
Copyright (c) 1999-2007, http://www.harbour-project.org/
Compiling 'REDONDEA.prg'...
stdarg.h(23) Error E0002 Unterminated string: 't include both STDARG.H and VARA
RGS.H'
_stddef.h(54) Error E0030 Syntax error: "syntax error at 'UNSIGNED'"
_stddef.h(73) Error E0030 Syntax error: "syntax error at 'INT'"
_stddef.h(83) Error E0030 Syntax error: "syntax error at 'UNSIGNED'"
_stddef.h(93) Error E0030 Syntax error: "syntax error at 'WCHAR_T'"
_stddef.h(102) Error E0030 Syntax error: "syntax error at 'WCHAR_T'"
_stddef.h(109) Error E0030 Syntax error: "syntax error at 'LONG'"
stdarg.h(35) Error E0030 Syntax error: "syntax error at 'VOID'"
c:\harbour\include\hbdefs.h(64) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(288) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(306) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(443) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(454) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(461) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(466) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(534) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(648) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(1110) Error E0025 Error in #if expression
18 errors
No code generated"
He seteado las variables del entorno de windows 7, Home basic, como antiguamente se hacia. Ademas he esctablecido los
archivos de configuraciòn de Borland Bcc32.cfg e Ilink32.cfg. y no consigo generar la libreria.
ENTORNO-DOS
===========
BIN: c:\borland\bcc55\bin;c:\harbour\bin
lIB: c:\borland\bcc55\lib;c:\borland\bcc55\lib\psdk;c:\harbour\lib
include: c:\borland\bcc55\include;c:\borland\bcc55\include\Gl;c:\borland\bcc55\include\Rw;c:\borland\bcc55\include\Sys;c:\harbour\include;c:\Fwh\include
Estoy usando un Bat, que rebuscando en viejos discos tenìa, para generar la librerìa.
MitwhLib.bat
============
REM ================================================
REM Creador de Libreria con apoyo de Fivewin - DOS
REM ================================================
Title Mi fwh lib con bcc55 y fwh
REM ========================================
REM PATHs de harbour, compilador y Fivewin
REM ========================================
set fwdir=c:\FWH
Set HbDir=c:\harbour
set bccDir=c:\borland\bcc55
set BccInc=c:\borland\bcc55\include
REM ======================================================
REM Estableciendo ORIGEN de PRG y VERSION de LIB para FWH
REM ======================================================
set apswdir=C:\libreria\sgem53w
set FwhVers=801
REM ====================================
REM Nombre de mi libreria a ser generada
REM ====================================
set miTWLib=FwH%FwhVers%.lib
REM ====================================
REM Copiando archivos apoyados en FW
REM ====================================
copy %apswdir%\*.prg
REM ====================================
REM Generando la libreria
REM ====================================
for %%f in (*.prg) do %HbDir%\bin\harbour /m /n /v /gc /i%fwdir%\include;%HbDir%\include;%bccInc%;%bccInc%\gl;%bccInc%\rw;%bccInc%\Sys %%f
for %%A in (*.c) do %bccDir%\bin\bcc32 -c -tW -I%bccInc%;%bccInc%\gl;%bccInc%\Rw;%bccInc%\Sys;%HbDir%\include;%fwdir%\include %%A %%A
for %%f in (*.obj) do %bccDir%\bin\tlib %miTWLib% -+ %%f /0 /P32,,
rem IF EXIST %miTWLib% COPY %miTWLib% %fwdir%\lib
rem IF EXIST %miTWLib% DEL %miTWLib%
ECHO.
ECHO.
ECHO.
PAUSE /p Terminando la libreria con Fwh y Borland
ECHO.
DEL *.OBJ
DEL *.C
DEL *.PRG
DEL *.BAK
del *.ppo
Por fa' necesito de un buen samaritano para superar estos errores.
Gracias adelantadas
que ya no lo tengo y utilizar xHarbour y Clipper 5.3b, tengo la inquietud de pasar las aplicaciones a harbour.
Sin embargo; ando de "tumbo en tumbo" sin poder compilar y crear una libreria estatica (lib) con mis rutinas personales.
Por favor, amigos, necesito una mano para averiguar el por que me està dando los errores que transcribo:
"c:\LIBRERIA\SGEM53W\FwhLib>c:\harbour\bin\harbour /m /n /v /gc /ic:\FWH\include;
c:\harbour\include;c:\borland\bcc55\include;c:\borland\bcc55\include\gl;c:\borla
nd\bcc55\include\rw;c:\borland\bcc55\include\Sys REDONDEA.prg
Harbour devel build 1.1-1 Intl.
Copyright (c) 1999-2007, http://www.harbour-project.org/
Compiling 'REDONDEA.prg'...
stdarg.h(23) Error E0002 Unterminated string: 't include both STDARG.H and VARA
RGS.H'
_stddef.h(54) Error E0030 Syntax error: "syntax error at 'UNSIGNED'"
_stddef.h(73) Error E0030 Syntax error: "syntax error at 'INT'"
_stddef.h(83) Error E0030 Syntax error: "syntax error at 'UNSIGNED'"
_stddef.h(93) Error E0030 Syntax error: "syntax error at 'WCHAR_T'"
_stddef.h(102) Error E0030 Syntax error: "syntax error at 'WCHAR_T'"
_stddef.h(109) Error E0030 Syntax error: "syntax error at 'LONG'"
stdarg.h(35) Error E0030 Syntax error: "syntax error at 'VOID'"
c:\harbour\include\hbdefs.h(64) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(288) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(306) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(443) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(454) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(461) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(466) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(534) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(648) Error E0025 Error in #if expression
c:\harbour\include\hbdefs.h(1110) Error E0025 Error in #if expression
18 errors
No code generated"
He seteado las variables del entorno de windows 7, Home basic, como antiguamente se hacia. Ademas he esctablecido los
archivos de configuraciòn de Borland Bcc32.cfg e Ilink32.cfg. y no consigo generar la libreria.
ENTORNO-DOS
===========
BIN: c:\borland\bcc55\bin;c:\harbour\bin
lIB: c:\borland\bcc55\lib;c:\borland\bcc55\lib\psdk;c:\harbour\lib
include: c:\borland\bcc55\include;c:\borland\bcc55\include\Gl;c:\borland\bcc55\include\Rw;c:\borland\bcc55\include\Sys;c:\harbour\include;c:\Fwh\include
Estoy usando un Bat, que rebuscando en viejos discos tenìa, para generar la librerìa.
MitwhLib.bat
============
REM ================================================
REM Creador de Libreria con apoyo de Fivewin - DOS
REM ================================================
Title Mi fwh lib con bcc55 y fwh
REM ========================================
REM PATHs de harbour, compilador y Fivewin
REM ========================================
set fwdir=c:\FWH
Set HbDir=c:\harbour
set bccDir=c:\borland\bcc55
set BccInc=c:\borland\bcc55\include
REM ======================================================
REM Estableciendo ORIGEN de PRG y VERSION de LIB para FWH
REM ======================================================
set apswdir=C:\libreria\sgem53w
set FwhVers=801
REM ====================================
REM Nombre de mi libreria a ser generada
REM ====================================
set miTWLib=FwH%FwhVers%.lib
REM ====================================
REM Copiando archivos apoyados en FW
REM ====================================
copy %apswdir%\*.prg
REM ====================================
REM Generando la libreria
REM ====================================
for %%f in (*.prg) do %HbDir%\bin\harbour /m /n /v /gc /i%fwdir%\include;%HbDir%\include;%bccInc%;%bccInc%\gl;%bccInc%\rw;%bccInc%\Sys %%f
for %%A in (*.c) do %bccDir%\bin\bcc32 -c -tW -I%bccInc%;%bccInc%\gl;%bccInc%\Rw;%bccInc%\Sys;%HbDir%\include;%fwdir%\include %%A %%A
for %%f in (*.obj) do %bccDir%\bin\tlib %miTWLib% -+ %%f /0 /P32,,
rem IF EXIST %miTWLib% COPY %miTWLib% %fwdir%\lib
rem IF EXIST %miTWLib% DEL %miTWLib%
ECHO.
ECHO.
ECHO.
PAUSE /p Terminando la libreria con Fwh y Borland
ECHO.
DEL *.OBJ
DEL *.C
DEL *.PRG
DEL *.BAK
del *.ppo
Por fa' necesito de un buen samaritano para superar estos errores.
Gracias adelantadas