ERROR COMPILAR UESTUDIO

ERROR COMPILAR UESTUDIO

Postby MANOLO » Mon Jan 12, 2009 10:08 pm

Hola, intento compilar la clase twbrowse17 con el uestudio dentro de mi sistema y me arroja los siguientes errores:

--------------------Configuración: factu32 - Debug--------------------
bcc32 -O2 -M -c -v -IC:\Harbour\INCLUDE -Ic:\borlAND\bcc55\INCLUDE -Ic:\FWH\INCLUDE -oWBRWLINE.obj C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C:
Error E2451 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 301: Undefined symbol 'NUMERIC' in function PaintTheLine
Error E2451 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 303: Undefined symbol 'CHARACTER' in function PaintTheLine
Error E2451 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 374: Undefined symbol '_SymEval' in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 374: Call to function '_PutSym' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 375: Call to function '_xPushM' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 376: Call to function '_PutLN' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 377: Call to function '_PutLN' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 378: Call to function '_PutLN' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 379: Call to function '_xEval' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 386: Call to function '_PutSym' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 387: Call to function '_xPushM' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 388: Call to function '_PutLN' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 389: Call to function '_PutLN' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 390: Call to function '_PutLN' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 391: Call to function '_xEval' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 399: Call to function '_PutSym' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 400: Call to function '_xPushM' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 401: Call to function '_PutLN' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 402: Call to function '_PutLN' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 403: Call to function '_PutLN' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 404: Call to function '_xEval' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 470: Call to function 'MoveTo' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 523: Call to function 'MoveTo' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 534: Call to function 'MoveTo' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 556: Call to function 'MoveTo' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 558: Call to function 'MoveTo' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 571: Call to function 'MoveTo' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 574: Call to function 'MoveTo' with no prototype in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 599: Call to function 'MoveTo' with no prototype in function PaintTheLine
Error E2451 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 653: Undefined symbol 'uElem' in function PaintTheLine
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 653: Call to function 'hb_itemRelease' with no prototype in function PaintTheLine
Warning W8004 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 654: 'cValue' is assigned a value that is never used in function PaintTheLine
Warning W8004 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 654: 'wType' is assigned a value that is never used in function PaintTheLine
Error E2451 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 951: Undefined symbol 'params' in function WBrwRect
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 951: Call to function 'PARNL' with no prototype in function WBrwRect
Error E2219 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1000: Wrong number of arguments in call of macro '_parnl' in function WBRWPANE
Error E2188 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1000: Expression syntax in function WBRWPANE
Error E2219 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1001: Wrong number of arguments in call of macro '_parnl' in function WBRWPANE
Error E2188 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1001: Expression syntax in function WBRWPANE
Error E2219 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1009: Wrong number of arguments in call of macro '_parnl' in function WBRWPANE
Error E2188 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1009: Expression syntax in function WBRWPANE
Error E2451 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1021: Undefined symbol 'BLOCK' in function WBRWPANE
Error E2219 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1037: Wrong number of arguments in call of macro '_parnl' in function WBRWPANE
Error E2188 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1037: Expression syntax in function WBRWPANE
Error E2219 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1046: Wrong number of arguments in call of macro '_parnl' in function WBRWPANE
Error E2188 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1046: Expression syntax in function WBRWPANE
Error E2219 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1049: Wrong number of arguments in call of macro '_parnl' in function WBRWPANE
Error E2188 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1049: Expression syntax in function WBRWPANE
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1059: Call to function '_Get_Sym' with no prototype in function WBRWPANE
Warning W8069 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1059: Nonportable pointer conversion in function WBRWPANE
Error E2219 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1069: Wrong number of arguments in call of macro '_parnl' in function WBRWPANE
Error E2188 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1069: Expression syntax in function WBRWPANE
Warning W8065 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1111: Call to function '_xPushM' with no prototype in function WBRWPANE
Error E2219 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1116: Wrong number of arguments in call of macro '_parnl' in function WBRWPANE
Error E2188 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1116: Expression syntax in function WBRWPANE
Error E2219 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1122: Wrong number of arguments in call of macro '_parnl' in function WBRWPANE
Error E2188 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1122: Expression syntax in function WBRWPANE
Error E2219 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1136: Wrong number of arguments in call of macro '_parnl' in function WBRWPANE
Error E2228 C:\Users\user\DOCUME~1\Projects\factu32\LIBEXT\TWBROW~1\SOURCE\FUNCTION\TWBROWSE\WBRWLINE.C 1136: Too many error or warning messages in function WBRWPANE
*** 26 errors in Compile ***



Creo que el error está en los parametros del bcc32, este es el fichero de configuración del uestudio que utilizo:

# --------- Harbour y 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 =
Linker 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.
Linker Options = Provides a space for you to specify an additional linker options.
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:\Harbour
CPATH = c:\borlAND\bcc55

HPATHL = $(HPATH)\LIB
CPATHL = $(CPATH)\LIB

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$(HPATH)\INCLUDE -I$(CPATH)\INCLUDE -I$(FWH)\INCLUDE

LOPT = -Gn -aa -Tpe -s -v
LIBS1 = $(FWH)\LIB\FiveH.lib $(FWH)\LIB\FiveHC.lib
LIBS2 = $(HPATHL)\rtl.lib $(HPATHL)\vm.lib $(HPATHL)\gtgui.lib $(HPATHL)\lang.lib $(HPATHL)\macro.lib $(HPATHL)\rdd.lib $(HPATHL)\dbfntx.lib $(HPATHL)\dbfcdx.lib $(HPATHL)\dbffpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\debug.lib $(HPATHL)\common.lib $(HPATHL)\pp.lib $(HPATHL)\codepage.lib $(HPATHL)\hboleaut.lib
LIBS3 = $(CPATHL)\cw32.lib $(CPATHL)\import32.lib $(CPATHL)\psdk\odbc32.lib $(CPATHL)\psdk\nddeapi.lib $(CPATHL)\psdk\iphlpapi.lib $(CPATHL)\psdk\rasapi32.lib
LIBS = $(LIBS1) $(LIBS2) $(LIBS3)
XPATH=C:\xHarbour
FPATH=C:\FWH
BPATH=C:\Borland\BCC55

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

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

[MakeCommands]
run = Execute Application
makef = Show Makefile

[Execute Application]
Title = Execute $T
Cmd0 = $(Command Line Arguments)
Depends = $T
ShowWindow = 1
DisplayConsole = $(DCon)

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

[InsertFiles]

[FileGroups]
FGO = .obj;
FGR = .res;
FGL = .lib;
FGD = .def;

[GroupFormats]
FGO = %s
FGR = %s
FGL = %s

[Build]
Out = $T
Depends = $FGO $FGR
DebugFlag =
ReleaseFlag =
Cmd0 = ilink32 $(LOPT) c0w32.obj $FGO, $T,, $(LIBS),, $FGR

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

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

[.C]
Out = $In.obj
Cmd0 = bcc32 $(COPT) -o$O $I

[.RC]
Out = $In.res
Cmd0 = brc32 -r -fo$O $I

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

Gracias por vuestra ayuda.

Utilizo harbour 1.1 fw712
Saludos
MANOLO
 
Posts: 87
Joined: Sun Oct 09, 2005 8:49 pm
Location: Spain

Re: ERROR COMPILAR UESTUDIO

Postby Antonio Linares » Tue Jan 13, 2009 12:19 am

Manolo,

El fichero WBRWLINE.C que estas intentando compilar parece estar hecho para 16 bits.

Por favor copia aqui su contenido y asi lo revisamos,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ERROR COMPILAR UESTUDIO

Postby MANOLO » Tue Jan 13, 2009 8:39 am

Gracias Antonio ya lo solucioné, me faltaba añadir la opción -D__HARBOUR__ en las opciones del compilador bcc32.

Saludos
Manolo
MANOLO
 
Posts: 87
Joined: Sun Oct 09, 2005 8:49 pm
Location: Spain


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 60 guests