Page 1 of 1

Error al generar la lib del TWBrowse de Hernán

Posted: Sat Jan 05, 2008 3:36 pm
by fespinoza
Intento generar la LIB del TWBrowse de Hernán con FWH27, con el siguiente archivo .BAT

@ECHO OFF
CLS
set include=.\INCLUDE;%INCLUDE%;c:\FWH27\INCLUDE
set hdir=c:\xharbour
set bcdir=c:\borland\bcc55\bin

%hdir%\bin\harbour SOURCE\WBROWSE.PRG /n /i\fwh27\include;%hdir%\include /oOBJ\WBROWSE.C
%hdir%\bin\harbour SOURCE\TMULTISE.PRG /n /i\fwh27\include;%hdir%\include /oOBJ\TMULTISE.C

rem INICIO Modulos C Generados por Harbour !!!

%bcdir%\bcc32 -M -c -D__HARBOUR__ -I%hdir%\include -oOBJ\WBROWSE.OBJ OBJ\WBROWSE.C
@del OBJ\WBROWSE.c
%bcdir%\bcc32 -M -c -D__HARBOUR__ -I%hdir%\include -oOBJ\TMULTISE.OBJ OBJ\TMULTISE.C
@del OBJ\TMULTISE.c


rem Modulos C Nativos !!!

%bcdir%\bcc32 -M -c -D__HARBOUR__ -I%hdir%\include;c:\fwh27\include -oOBJ\WBRWLINE.OBJ SOURCE\WBRWLINE.C

@del LIB\TWBRW32x.LIB

echo + OBJ\WBROWSE.OBJ & >tmplib.bc
echo + OBJ\WBRWLINE.OBJ & >>tmplib.bc
echo + OBJ\TMULTISE.OBJ >>tmplib.bc

%bcdir%\tlib lib\TWBRW32x.LIB @tmplib.bc

@del tmplib.bc

Compila los archivo y genera los objeto sin errores; pero me sale el siguiente error:

@ECHO OFF
CLS
set include=.\INCLUDE;%INCLUDE%;c:\FWH27\INCLUDE
set hdir=c:\xharbour
set bcdir=c:\borland\bcc55\bin

%hdir%\bin\harbour SOURCE\WBROWSE.PRG /n /i\fwh27\include;%hdir%\include /oOBJ\WBROWSE.C
%hdir%\bin\harbour SOURCE\TMULTISE.PRG /n /i\fwh27\include;%hdir%\include /oOBJ\TMULTISE.C

rem INICIO Modulos C Generados por Harbour !!!

%bcdir%\bcc32 -M -c -D__HARBOUR__ -I%hdir%\include -oOBJ\WBROWSE.OBJ OBJ\WBROWSE.C
@del OBJ\WBROWSE.c
%bcdir%\bcc32 -M -c -D__HARBOUR__ -I%hdir%\include -oOBJ\TMULTISE.OBJ OBJ\TMULTISE.C
@del OBJ\TMULTISE.c


rem Modulos C Nativos !!!

%bcdir%\bcc32 -M -c -D__HARBOUR__ -I%hdir%\include;c:\fwh27\include -oOBJ\WBRWLINE.OBJ SOURCE\WBRWLINE.C

@del LIB\TWBRW32x.LIB

echo + OBJ\WBROWSE.OBJ & >tmplib.bc
echo + OBJ\WBRWLINE.OBJ & >>tmplib.bc
echo + OBJ\TMULTISE.OBJ >>tmplib.bc

%bcdir%\tlib lib\TWBRW32x.LIB @tmplib.bc

@del tmplib.bc

:D ¿Que hago mal?

Posted: Sun Jan 06, 2008 7:15 am
by Antonio Linares
Fernando,

Cual es el error ? :-)

Posted: Sun Jan 06, 2008 2:17 pm
by fespinoza
Upps, he pegado aslgo equivocado, ahora va el error:

xHarbour Compiler build 0.99.51 (SimpLex)
Copyright 1999-2005, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'SOURCE\WBROWSE.PRG'...
Lines 3747, Functions/Procedures 66
Generating C source output to 'OBJ\WBROWSE.C'...
Done.
xHarbour Compiler build 0.99.51 (SimpLex)
Copyright 1999-2005, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'SOURCE\TMULTISE.PRG'...
Lines 201, Functions/Procedures 6
Generating C source output to 'OBJ\TMULTISE.C'...
Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
OBJ\WBROWSE.C:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
OBJ\TMULTISE.C:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
SOURCE\WBRWLINE.c:
Could Not Find C:\XBase\TWBrowse\LIB\TWBRW32x.LIB
The syntax of the command is incorrect.