Compilar con BCC582

Compilar con BCC582

Postby acuellar » Wed Aug 11, 2010 3:33 pm

Saludos para todos

Estoy tratando de compilar con FWH 9.04 xHarbour 1.21 Rev. 6714 y me salen estos errores:

    Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
    Error: Unresolved external '__rwstd::__rw_stdexcept_NoNamedException' referenced from D:\COMPILER\FWH\LIB\FIVEHC.LIB|ANIGIF
    Error: Unresolved external 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::__nullref' referenced from D:\COMPILER\FWH\LIB\FIVEHC.LIB|ANIGIF
    Error: Unresolved external 'std::ios_base::failure::what() const' referenced from D:\COMPILER\FWH\LIB\FIVEHC.LIB|ANIGIF
    Error: Unresolved external 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::__getRep(unsigned int, unsigned int)' referenced from D:\COMPILER\FWH\LIB\FIVEHC.LIB|ANIGIF
    Error: Unresolved external '__rwstd::ref_counted::~ref_counted()' referenced from D:\COMPILER\FWH\LIB\FIVEHC.LIB|ANIGIF


Gracias por la ayuda,

Adhemar
Saludos,

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

Re: Compilar con BCC582

Postby acuellar » Thu Aug 12, 2010 12:32 pm

Me parece que el problema es que solo compila con versiones superior a FWH 9.4

Saludos

Adhemar
Saludos,

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

Re: Compilar con BCC582

Postby Daniel Garcia-Gil » Thu Aug 12, 2010 12:36 pm

Adhemar

Bcc582 se introdujo a partir de la 10.04

http://forums.fivetechsupport.com/viewtopic.php?p=97894#p97894

* Nuevo: FWH ha sido construido usando Borland C 5.82. Desde ahora usaremos esta versión de Borland C. Puedes descargarlo desde:
http://www.fivetechsoft.com/files/software/bcc582.zip
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Compilar con BCC582

Postby acuellar » Thu Aug 12, 2010 12:53 pm

Gracias Daniel,
No estaba al tanto

Haré un esfuerzo para actualizar mi FWH

Saludos

Adhemar
Saludos,

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

Re: Compilar con BCC582

Postby surGom » Thu Aug 12, 2010 10:21 pm

Mis programas lo estoy compilando con bcc582 y uso fwh 7.12, con xharbour 1.21, compilaste fivehx.lib nuevamente?

Luis
surGom
 
Posts: 639
Joined: Wed Oct 19, 2005 12:03 pm

Re: Compilar con BCC582

Postby acuellar » Fri Aug 13, 2010 12:13 pm

No

Cómo se compila la librería?

Gracias Luis

Saludos

Adhemar
Saludos,

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

Re: Compilar con BCC582

Postby surGom » Fri Aug 13, 2010 11:49 pm

Usá HARB2LIB.EXE, me parece que está en utilidades. Si no enviame tu mail y te lo envío

Luis
surGom
 
Posts: 639
Joined: Wed Oct 19, 2005 12:03 pm

Re: Compilar con BCC582

Postby surGom » Sat Aug 14, 2010 12:33 am

Disculpa Adhemar pero no es con HARB2LIB.EXE con la que compilé. No recuerdo con que lo hice ya que tuve que hacer cambios en la pc y no encuentro dónde está, dejame buscarlo.
surGom
 
Posts: 639
Joined: Wed Oct 19, 2005 12:03 pm

Re: Compilar con BCC582

Postby Patricio Avalos Aguirre » Sat Aug 14, 2010 2:17 pm

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
User avatar
Patricio Avalos Aguirre
 
Posts: 1059
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile

Re: Compilar con BCC582

Postby Daniel Garcia-Gil » Sat Aug 14, 2010 2:52 pm

Adhemar

El problema de recompilar los fuentes de tu version de FWH es que hay codigo reservado de fivewin que no podras tocar ni recompilar y puede que tengas confilcto por esa situacion, mas que nada con los .CPP que no son distribuidos.

Ahora antes de recompilar intenta sacando el modulo ANIGIF.OBJ de FIVEHC.LIB

si no te funciona, recompila los fuentes de FWH
igualmente puedes sacar el modulo ANIGIF.OBJ de FIVEHC.LIB
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Compilar con BCC582

Postby acuellar » Mon Aug 16, 2010 12:50 pm

Gracias amigos

Daniel, quite el obj ANIGIF.OBJ y compile y sale el siguiente error:

FIVEHC.LIB contains invalid OMF record, type 0x00

Recompile usando el siguiente .BAT
Code: Select all  Expand view

for %%f in (*.prg) do d:\Compiler\xharbour\bin\harbour %%f /n /id:\Compiler\fwh\include;d:\Compiler\xharbour\include
for %%f in (*.c) do d:\Compiler\bcc582\bin\bcc32 -c -Id:\Compiler\bcc582\include;d:\Compiler\xharbour\include %%f
for %%f in (*.obj) do d:\Compiler\bcc582\bin\tlib fivehc.lib -+ %%f /0 /P32,,
 


y sigue saliendo el mismo error

Gracias una vez mas por la ayuda

Saludos

Adhemar
Saludos,

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

Re: Compilar con BCC582

Postby Daniel Garcia-Gil » Mon Aug 16, 2010 1:03 pm

Adhemar

que metodo usas para construir tu aplicacion?

puede que se estes armando mal
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Compilar con BCC582

Postby acuellar » Mon Aug 16, 2010 1:09 pm

Daniel

Uso UEstudio con el siguiente Application
Code: Select all  Expand view

# --------- xHarbour 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 = D:\COMPILER\FWH
HPATH = D:\COMPILER\xHarbour
CPATH = D:\COMPILER\bcc582

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

HOPT = /n /gc1 /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

LOPT = -Gn -aa -Tpe -s -v
LIBS1 = $(FWH)\LIB\FiveHX.lib $(FWH)\LIB\FiveHC.lib $(HPATHL)\HBZIP.lib $(HPATHL)\ZLIB.lib $(FWH)\LIB\SBUTTONx.lib
LIBS2 =  $(HPATHL)\rtl.lib $(HPATHL)\vm.lib $(HPATHL)\gtgui.lib $(HPATHL)\lang.lib $(HPATHL)\macro.lib $(HPATHL)\rdd.lib $(HPATHL)\dbfcdx.lib $(HPATHL)\dbfntx.lib $(HPATHL)\dbffpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\debug.lib $(HPATHL)\common.lib $(HPATHL)\pp.lib $(HPATHL)\codepage.lib $(HPATHL)\pcrepos.lib $(HPATHL)\ct.lib
LIBS3 = $(CPATHL)\cw32.lib $(CPATHL)\import32.lib $(CPATHL)\psdk\odbc32.lib $(CPATHL)\psdk\msimg32.lib $(CPATHL)\psdk\nddeapi.lib $(CPATHL)\psdk\iphlpapi.lib  $(CPATHL)\psdk\rasapi32.lib
LIBS = $(LIBS1) $(LIBS2) $(LIBS3)

[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, $Pp\$T,, $(LIBS),, $FGR
Cmd1 = $Pp\$T
Cmd2 = Borra.bat

[.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.

 


Saludos

Adhemar
Saludos,

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

Re: Compilar con BCC582

Postby Daniel Garcia-Gil » Mon Aug 16, 2010 1:16 pm

Adhemar

Verifica este path dentro y que estes usando la version correcta de borland D:\COMPILER\bcc55
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Compilar con BCC582

Postby acuellar » Mon Aug 16, 2010 1:24 pm

Daniel, eso ya está corregido.

y sale el mismo error

Saludos

Adhemar
Saludos,

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

Next

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 100 guests