Compilar con BCC582

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

Compilar con BCC582

Post by acuellar »

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: 1312
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: Compilar con BCC582

Post by acuellar »

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

Saludos

Adhemar
Saludos,

Adhemar C.
User avatar
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: Compilar con BCC582

Post by Daniel Garcia-Gil »

Adhemar

Bcc582 se introdujo a partir de la 10.04

http://forums.fivetechsupport.com/viewt ... 894#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
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
User avatar
acuellar
Posts: 1312
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: Compilar con BCC582

Post by acuellar »

Gracias Daniel,
No estaba al tanto

Haré un esfuerzo para actualizar mi FWH

Saludos

Adhemar
Saludos,

Adhemar C.
surGom
Posts: 624
Joined: Wed Oct 19, 2005 12:03 pm
Contact:

Re: Compilar con BCC582

Post by surGom »

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

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

Re: Compilar con BCC582

Post by acuellar »

No

Cómo se compila la librería?

Gracias Luis

Saludos

Adhemar
Saludos,

Adhemar C.
surGom
Posts: 624
Joined: Wed Oct 19, 2005 12:03 pm
Contact:

Re: Compilar con BCC582

Post by surGom »

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

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

Re: Compilar con BCC582

Post by surGom »

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

Re: Compilar con BCC582

Post by Patricio Avalos Aguirre »

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
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: Compilar con BCC582

Post by Daniel Garcia-Gil »

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
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
User avatar
acuellar
Posts: 1312
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: Compilar con BCC582

Post by acuellar »

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

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
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: Compilar con BCC582

Post by Daniel Garcia-Gil »

Adhemar

que metodo usas para construir tu aplicacion?

puede que se estes armando mal
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
User avatar
acuellar
Posts: 1312
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: Compilar con BCC582

Post by acuellar »

Daniel

Uso UEstudio con el siguiente Application

Code: Select all

# --------- 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
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: Compilar con BCC582

Post by Daniel Garcia-Gil »

Adhemar

Verifica este path dentro y que estes usando la version correcta de borland D:\COMPILER\bcc55
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
User avatar
acuellar
Posts: 1312
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: Compilar con BCC582

Post by acuellar »

Daniel, eso ya está corregido.

y sale el mismo error

Saludos

Adhemar
Saludos,

Adhemar C.
Post Reply