Error en la librerias TSBUTTON y TSBROWSE8

Post Reply
User avatar
acuellar
Posts: 1312
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Error en la librerias TSBUTTON y TSBROWSE8

Post by acuellar »

Hola a Todos

He compilado las librerias TSBUTTON Y TSBROWSE8 con la nueva version de Fivewin 9.04 y xHarbour 1.2.1
Cuando compilo mi aplicacion me da estos errores

--------------------Configuración: ORDENES - Release--------------------
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_GETFONTHEIGHT' referenced from D:\COMPILER\FWH\LIB\SBUTTONX.LIB|TSBUTTON
Error: Unresolved external '_HB_FUN_SBTNPAINT' referenced from D:\COMPILER\FWH\LIB\SBUTTONX.LIB|TSBUTTON
Error: Unresolved external '_HB_FUN_ROWFROMPIX' referenced from D:\COMPILER\FWH\LIB\SBROWSEX.LIB|TSBROWSE
Error: Unresolved external '_HB_FUN_COUNTROWS' referenced from D:\COMPILER\FWH\LIB\SBROWSEX.LIB|TSBROWSE
Error: Unresolved external '_HB_FUN_TSBRWSCROLL' referenced from D:\COMPILER\FWH\LIB\SBROWSEX.LIB|TSBROWSE
Error: Unresolved external '_HB_FUN_SBGETHEIGHT' referenced from D:\COMPILER\FWH\LIB\SBROWSEX.LIB|TSCOLUMN
Error: Unresolved external '_HB_FUN_SBMPHEIGHT' referenced from D:\COMPILER\FWH\LIB\SBROWSEX.LIB|TSBROWSE
Error: Unresolved external '_HB_FUN_TSDRAWCELL' referenced from D:\COMPILER\FWH\LIB\SBROWSEX.LIB|TSBROWSE
Error: Unresolved external '_HB_FUN_SBAR2007' referenced from D:\COMPILER\FWH\LIB\SBUTTONX.LIB|TSBAR
Error: Unresolved external '_HB_FUN_MAKESEPARATOR' referenced from D:\COMPILER\FWH\LIB\SBUTTONX.LIB|TSBAR
"D:\Sistemas\RRHH\ORDENES\\ORDENES.EXE" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
ORDENES.EXE - 10 error(es), 0 advertencia(s)

Creo que el error es en los programas C BPAINT.C y TSBFUNCS.C
Los OBJ se puenden recompilar??

Me puedeN decir que debo hacer o enviarme las librerias

Se les agradece mucho


Saludos

Adhemar Cuellar
Saludos,

Adhemar C.
User avatar
acuellar
Posts: 1312
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: Error en la librerias TSBUTTON y TSBROWSE8

Post by acuellar »

Me falto indicarle que el enlazador es el UEStudio con el Library que trae el FIVEWIN en HARBOUR

Gracias

Saludos

Adhemar
Saludos,

Adhemar C.
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: Error en la librerias TSBUTTON y TSBROWSE8

Post by mmercado »

acuellar wrote:Me falto indicarle que el enlazador es el UEStudio con el Library que trae el FIVEWIN en HARBOUR
Hola Adhemar:

Aquí te muestro el archivo SBrowsex.prj que utilizo para construir la librería SBrowsex.lib con UEstudio:

Code: Select all

[Project ID]
Signature=UE Proj: v.1
[Project Information]
Compilable=1
Use Relative Directory=1
Relative to Project File=1
Include Sub Directories=1
Project Tagfile=
Project Wordfile=
Filter=
Using VCS=0
Save Account=0
Create Tagfile=0
CTags Legacy Support=0
[Files]
0=..\SOURCE\CLASSES\TSPOINT.PRG
1=..\SOURCE\CLASSES\TSBROWSE.PRG
2=..\SOURCE\CLASSES\TSBTNGET.PRG
3=..\SOURCE\CLASSES\TSCOLUMN.PRG
4=..\SOURCE\CLASSES\TSCOMBO.PRG
5=..\SOURCE\CLASSES\TSFGET.PRG
6=..\SOURCE\CLASSES\TSGET.PRG
7=..\SOURCE\CLASSES\TSMULTI.PRG
8=..\SOURCE\FUNCTION\GETBTN.C
9=..\SOURCE\FUNCTION\TSBFUNCS.C
[uemakeXp]
ReleaseMode=1
Compiler=Configs\xHarbour\Library
Files=296879606
[Debug Settings]
Program Arguments=
Symbol Paths=
Working Directory=
Selected Debugger=0
Source Paths=
[Configs\xHarbour\Library]
OutputDirectory_ReleaseMode=Release
OutputDirectory_DebugMode=Debug
Target=C:\TSBROWSE\LIB\SBROWSEX.LIB
Working Directory=.
Command Line Arguments=SBROWSEX.LIB
Automatic Memvar Declaration=no
Variables Are Assumed=no
Generate Preprocessed Output=no
Warning Level=1
User Include Path=
User Defines=
Compiler Options=
Excluded Files=Excludes
 
Mis programas los tengo en c:\TSBrowse y este archivo .prj en c:\TSBrowse\Lib, para que te funcione como a mí, deberás copiar los programas TSBrowse a una localización similar o deberás ajustar las rutas a la localización que estás utilizando.

Así mismo a continuación te muestro el script "library" que estoy usando en UEstudio\Configs\xHarbour:

Code: Select all

# --------- xHarbour & FWH configuration --------
# --- general --------------------------------------
# $P - project name
# $Pp - path to project directory
# $Pn - project name
# --- compile --------------------------------------
# $I - input full name
# $Ip - input path
# $In - input name
# $Ie - input extension
# $O - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R - release/debug setting for compiler
# --- build ----------------------------------------
# $T - target full name
# $Tp - target path
# $Tn - target name
# $O - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R - release/debug setting for linker

[Settings]
Target =
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =.
Command Line Arguments =

Category&02 = Harbour Options
Automatic Memvar Declaration = no|yes
Variables Are Assumed = no|yes
Generate Preprocessed Output = no|yes
Warning Level = 1|2|3|4|0
User Include Path =
User Defines =

Compiler Options =

Excluded Files = Excludes

[SettingsInfo]
Target = Provides a space for you to specify an output file and location of the program that the linker creates.
Working Directory = Provides a space for you to specify the directory in which executing occurs. If you do not specify a directory, executing occurs in the directory where the executable is located.
Command Line Arguments = Provides a space for you to specify command-line arguments you want to pass to the program at startup.
Compiler Options = Provides a space for you to specify an additional compiler options.
User Defines = Shows the switches the tool will use to build. Use ';' as delimiter.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.

[SettingsReps]
User Defines = @[;|-D%s]
Automatic Memvar Declaration = no=|yes=/a
Variables Are Assumed = no=|yes=/v
Generate Preprocessed Output = no=|yes=/p
User Include Path = ^^@[;|;%s]
User Include Path&1 = ^^@[;| /i%s]
Use Multi Thread Library = no|yes
Warning Level = @/w%s

[Variables]
FWH = c:\FWH
HPATH = c:\xHarbour
CPATH = c:\bcc55
HOPT = /n /gc0 /q $(Compiler Options) /i$(HPATH)\INCLUDE $(User Include Path&1) $(User Defines) $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Generate Preprocessed Output) $(Warning Level)
COPT = -O2 -M -c -v -I$(INCLUDE) 

[Environment]
PATH = $(HPATH)\BIN;$(CPATH)\BIN;%PATH%
INCLUDE = $(HPATH)\INCLUDE;$(CPATH)\INCLUDE;$(FWH)\INCLUDE
LIB = $(HPATH)\LIB;$(CPATH)\LIB
BuildMode = %UESMode%

[General]
TargetExt = .LIB
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 1
UseDosNames = 0
Excludes = $(Excluded Files)
GenerateEDGroup=$(External Dependencies)
.CPP = .C

[MakeCommands]
run = Show Makefile
makef = Show Makefile

[Show Makefile]
Title=Show makefile
Cmd0=uestudio makefile
ShowWindow=1
DisplayConsole=0

[InsertFiles]

[FileGroups]
FGO = .obj;

[GroupFormats]
FGO = %s

[Build]
Out = $T
Depends = $FGO
DebugFlag = 
ReleaseFlag = 

[.PRG]
Out = $In.c
DebugFlag = /b
ReleaseFlag =
Cmd0 = $(HPATH)\bin\harbour $I $(HOPT) $R /o$O 

CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

[.C]
Out = $In.obj
Cmd0 = $(CPATH)\bin\bcc32 $(COPT) -o$O $I
Cmd1 = $(CPATH)\bin\tlib $T -+$O

CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.
Espero que estos datos te sean de utilidad.

Un abrazo.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
User avatar
acuellar
Posts: 1312
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: Error en la librerias TSBUTTON y TSBROWSE8

Post by acuellar »

Gracias Distinguido Manuel

Intenté bastante enlazando con UEStudio con el .PRJ y la LIBRARY que me envio y no pude. El problema es en el archivo TSBFUNCS.C
Crea las funciones asi: tsdrawcell y debería ser: _HB_FUN_TSDRAWCELL

Volvi a VERCE 5.3 y lo logré

Saludos

Adhemar
Saludos,

Adhemar C.
Post Reply