FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error compilar tfolderex en Harbour (Rascan) Ahora OKOK
Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
Error compilar tfolderex en Harbour (Rascan) Ahora OKOK
Posted: Tue Oct 19, 2010 04:45 PM

Amigos: tengo un error al compilar tfolderex FWH 10.9

Con la lib xhb.lib me da el error y sin la lib tambien el mismo

Error: Unresolved external '_HB_FUN_RASCAN' referenced from C:\FUENTES32\ZONAINMO\OBJ\TFOLDEX.OBJ
Gracias

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82
Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Tue Oct 19, 2010 06:43 PM
Hola

debes incluir la libreria CT.LIB
Code (fw): Select all Collapse
February 2010
=============

* Additional libraries to be linked: For xHarbour ct.lib is also required to be linked. For Harbour, hbct.lib and 
  xhb.lib need to included. Buildh.bat and Buildx.bat are revised.
Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Tue Oct 19, 2010 11:18 PM

Gracias Patricio, pero me sigue dando el mismo error, compile con el buildh que viene en samples y sigue el error.

Gracias

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Tue Oct 19, 2010 11:30 PM

Ruben

puede que estes enlazando mal la libreria pero deberia funcionar

Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Tue Oct 19, 2010 11:58 PM

Gracias Daniel, pero hice una copia del archivo buildh.bat de FWH 10.9.

Quizas sea que uso xMate, coloco aqui el archivo de configuracion por si alguien puede ayudarme.

Gracias
[Environment]
Description 1= Harbour, Fivewin Harbour,BCC , Librerías externas (TSButton)
Description 2=
Description 3=
PRG Compiler ver=
C compiler ver=
Subsystem=
Author=Ruben Fernandez
Last update=10/19/2010

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=C:\Harbour
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n0 /es2 /a /v /i%
Option prefix=/

[C]
C_INSTALL=C:\Borland\BCC582
C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -M -c -O2 -tW -v- -X %CRLF%-DHB_FM_STATISTICS_OFF %CRLF%-DHB_NO_DEFAULT_API_MACROS %CRLF%-DHB_NO_DEFAULT_STACK_MACROS %CRLF%-DHB_OS_WIN_32 %CRLF%-I%C_INC_INSTALL%;%HB_INC_INSTALL% -n%HOME%\Obj %C%
C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%
C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpe -s @%LNK%
C_RC_COMMAND=%C_BIN_INSTALL%\Brc32.Exe -r -fo%RES% %RC%
C_DLL_COMMAND=
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%C_LIB_INSTALL%\C0W32.OBJ=1
C:\FWH\lib\SBUTTONH.LIB=2
C:\FWH\lib\Fiveh.lib=3
C:\FWH\lib\Fivehc.lib=4
%HB_LIB_INSTALL%\hbrtl.lib=5
%HB_LIB_INSTALL%\hbvm.lib=6
%HB_LIB_INSTALL%\gtgui.lib=7
%HB_LIB_INSTALL%\hbgt.lib=8
%HB_LIB_INSTALL%\hblang.lib=9
%HB_LIB_INSTALL%\hbmacro.lib=10
%HB_LIB_INSTALL%\hbrdd.lib=11
%HB_LIB_INSTALL%\rddcdx.lib=12
%HB_LIB_INSTALL%\rddfpt.lib=13
%HB_LIB_INSTALL%\rddnsx.lib=14
%HB_LIB_INSTALL%\rddntx.lib=15
%HB_LIB_INSTALL%\hbsix.lib=16
%HB_LIB_INSTALL%\hbcommon.lib=17
%HB_LIB_INSTALL%\hbpp.lib=18
%HB_LIB_INSTALL%\hbcpage.lib=19
%HB_LIB_INSTALL%\hbwin.lib=20
%HB_LIB_INSTALL%\hbcplr.lib=21
%HB_LIB_INSTALL%\hbct.lib=22
%HB_LIB_INSTALL%\xhb.lib=23
%HB_LIB_INSTALL%\hbziparc.lib=24
%HB_LIB_INSTALL%\hbmzip.lib=25
%HB_LIB_INSTALL%\minizip.lib=26
%HB_LIB_INSTALL%\hbnf.lib=27
%C_LIB_INSTALL%\CW32.LIB=28
%C_LIB_INSTALL%\uuid.lib=29
%C_LIB_INSTALL%\IMPORT32.LIB=30
%C_LIB_INSTALL%\psdk\odbc32.lib=31
%C_LIB_INSTALL%\psdk\nddeapi.lib=32
%C_LIB_INSTALL%\psdk\iphlpapi.lib=33
%C_LIB_INSTALL%\psdk\msimg32.lib=34
%C_LIB_INSTALL%\psdk\psapi.lib=35
%C_LIB_INSTALL%\psdk\rasapi32.lib=36

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Wed Oct 20, 2010 12:15 AM

Ruben

Intenta contruir el ejemplo de fivewin testfx1.prg

Posts: 140
Joined: Thu Feb 02, 2006 12:09 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Wed Oct 20, 2010 04:07 AM
http://forums.fivetechsupport.com/viewtopic.php?f=6&t=19957&p=105228&hilit=rascan#p105228

Igual tengo el mismo problema usando solo el buildh.bat uso harbour y fwh suministrados en FWH 10.9.

Gracias
Mario Antonio González Osal

Venezuela

m a g 0 7 1 @ g m a i l. c o m
Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Wed Oct 20, 2010 05:21 AM

Gracias Daniel: Lo intento y luego comento el resultado.

Gracias

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82
Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Wed Oct 20, 2010 12:29 PM
Prueba Grabar este archivo en la carpeta c:\fwh\samples
con el nombre DO.BAT

luego compilas

Code (fw): Select all Collapse
do testfx1



Code (fw): Select all Collapse
@ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 10.2 - Feb. 2010           xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2010     for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST

ECHO Compiling...

if "%FWDIR%" == "" set FWDIR=.\..\
if "%XHDIR%" == "" set XHDIR=c:\xharbour
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui

set hdir=%XHDIR%
set hdirl=%hdir%\lib
set bcdir=c:\borland\bcc582
set fwh=%FWDIR%
SET INCLUDE=C:\BORLAND\BCC582\INCLUDE;C:\XHARBOUR\INCLUDE;C:\FWH\INCLUDE;

%hdir%\bin\harbour %1 /n /p /i%fwh%\include;%hdir%\include /w %2 %3 > comp.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log

echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c fc.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE

IF EXIST %1.rc %bcdir%\bin\brc32 -r %1

echo %bcdir%\lib\c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib + >> b32.bc
echo %hdirl%\rtl.lib + >> b32.bc
echo %hdirl%\vm.lib + >> b32.bc
echo %hdirl%\%GT%.lib + >> b32.bc
echo %hdirl%\lang.lib + >> b32.bc
echo %hdirl%\macro.lib + >> b32.bc
echo %hdirl%\rdd.lib + >> b32.bc
echo %hdirl%\dbfntx.lib + >> b32.bc
echo %hdirl%\dbfcdx.lib + >> b32.bc
echo %hdirl%\dbffpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\debug.lib + >> b32.bc
echo %hdirl%\common.lib + >> b32.bc
echo %hdirl%\pp.lib + >> b32.bc
echo %hdirl%\pcrepos.lib + >> b32.bc
echo %hdirl%\ct.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
echo %hdir%\lib\rddads.lib + >> b32.bc
echo %hdir%\lib\Ace32.lib + >> b32.bc

echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\uuid.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc
echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib, >> b32.bc


IF EXIST %1.res echo %1.res >> b32.bc

rem uncomment this line to use the debugger and comment the following one

if %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc
cls
echo %bcdir%

IF ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c

:COMPILEERRORS
@type comp.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


Espero que te sirva
Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Wed Oct 20, 2010 01:47 PM

Daniel:
Compile con el bat que viene con FWH 10.9 y me da error...
Unresolved external '_HB_FUN_RASCAN" REFERNCED FRON c:\FWH\LIB\FIVEH.LIB

Gracias.

Patricio, gracias, pero uso Harbour y veo que tu usas xHarbour.
Gracias

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Wed Oct 20, 2010 02:38 PM
Rubén

Usas la versión de harbour que distribuye fivetech?

Prueba con esta versión que uso, no es la mas reciente pero es muy actualizada
http://www.sitasoft.net/dolphin/files/harbour_bcc.exe
Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
Re: Error compilar tfolderex en Harbour (Rascan)
Posted: Wed Oct 20, 2010 04:53 PM

Daniel: Hay algo que no entiendo, yo uso Harbour, la version de Fivetech, con la tuya no he tenido problemas.

Que paso ?

Gracias.

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Error compilar tfolderex en Harbour (Rascan) Ahora OKOK
Posted: Wed Oct 20, 2010 05:12 PM

Rubén

el error fue mío, use una versión de harbour difrente a la q distribuye fivetech al momento de diseñar la clase, no me había dado cuenta del detalle hasta ahora, posiblemente los usuarios mantengan actualizada las versiones de sus compiladores que no reportaron este problema y si lo reportaron no lo he visto, mil disculpas
igual me sucede con listbar
gracias por feedback

Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
Re: Error compilar tfolderex en Harbour (Rascan) Ahora OKOK
Posted: Wed Oct 20, 2010 05:19 PM

Gracias Daniel, no es necesario que te disculpes, no se equivoca el que no hace nada... :D

Espero que el proximo build de FWH este todo ok.

Muchas gracias.

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82

Continue the discussion