Ayuda Al compilar pe.prg de samples de xharbour

Ayuda Al compilar pe.prg de samples de xharbour

Postby ruben Dario » Wed Nov 26, 2014 8:04 pm

Saludos al Fórum
Estoy compilando la carpeta xharbour-code Rev 10042\xharbour\samples\pe

PE.PRG y editorhi.PRG y editorlo.c

No esta compilado editorlo.c , este es el error. no se porque no lo compila.


Me genera estos errores.

este es el bc para compilarlo no se donde esta el erro.

Code: Select all  Expand view

#BCC
VERSION=BCB.01
!ifndef CC_DIR
CC_DIR = $(MAKE_DIR)
!endif

!ifndef HB_DIR
HB_DIR = $(HARBOUR_DIR)
!endif

DEFX=__HARBOUR__
ifeq ($(DEBUG),)
    DEBUG=__NODEBUG__
endif
ifeq ($(PRG_COMPILER),XHARBOUR)
    DEFX=__XHARBOUR__
endif

FWDIR = \fwh

#lparam= /L /M /Q  ANTES ASI/L /N /W

RECURSE= NO
 
SHELL =
COMPRESS = YES
EXTERNALLIB = NO
XFWH = NO
FILESTOADD =  1
WARNINGLEVEL =  0
USERDEFINE =
USERINCLUDE =
GUI = NO
MT = NO
INCLU = include

SRC00 = .\
SRC01 = prg
SRC02 = obj
SRC03 = c

PROJECT = PLASMENU.exe $(PR)

OBJFILES = $(SRC02)\PXPMENU.obj //
 $(SRC02)\PXP0013.obj //
 $(SRC02)\PXPASIG.obj //
 $(SRC02)\PE.obj //
 $(SRC02)\editorhi.obj //

 $(OB)

PRGFILES = $(SRC01)\PXPMENU.PRG //
 $(SRC01)\PXP0013.PRG //
 $(SRC01)\PXPASIG.PRG //
 $(SRC01)\PE.PRG //
 $(SRC01)\editorhi.PRG //

 $(PS)

OBJCFILES = $(OBJ)\editorlo.obj $(OBC)

CFILES = editorlo.c  $(CF)
RESFILES =
RESDEPEN =
TOPMODULE = $(SRC01)\PLASMENU.PRG
LIBFILES = lang.lib vm.lib rtl.lib rdd.lib macro.lib pp.lib dbfntx.lib dbfcdx.lib dbffpt.lib common.lib gtwin.lib codepage.lib ct.lib tip.lib pcrepos.lib hsx.lib hbsix.lib debug.lib hbhpdf.lib png.lib zlib.lib $(SRC00)\lib\xHarb\librub_xh.lib $(SRC00)\lib\xHarb\librub1_xh.lib $(SRC00)\lib\xHarb\grump_xh.lib $(SRC00)\lib\xHarb\libsuper_xh.lib $(SRC00)\lib\xHarb\dialog32_xh.lib $(SRC00)\lib\xHarb\filexls_xh.lib $(FWDIR)\LIB\Fivehx.lib $(FWDIR)\LIB\FiveHC.lib $(SRC00)\lib\xHarb\dolphin_xh.lib $(SRC00)\lib\xHarb\libmysql.lib $(SRC00)\lib\xHarb\EasyRep_xh.lib $(CC_DIR)\lib\psdk\psapi.lib

EXTLIBFILES =
DEFFILE =
HARBOURFLAGS =  -w0
CFLAG1 =  -OS $(SHELL)  $(CFLAGS) -d -c -L$(HB_DIR)\lib
CFLAG2 =  -I$(HB_DIR)\include;$(CC_DIR)\include;$(FWDIR)\include
RFLAGS =
LFLAGS = -L$(CC_DIR)\lib\obj;$(CC_DIR)\lib;$(HB_DIR)\lib -Gn -M -m -s -Tpe -x -ap
IFLAGS =
LINKER = ilink32
 
ALLOBJ = c0x32.obj $(OBJFILES) $(OBJCFILES)
ALLRES = $(RESDEPEN)
ALLLIB = $(LIBFILES) import32.lib cw32.lib
.autodepend
 
#DEPENDS
 
#COMMANDS
.cpp.obj:
$(CC_DIR)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**
 
.c.obj:
$(CC_DIR)\BIN\bcc32 -I$(HB_DIR)\include $(CFLAG1) $(CFLAG2) -o$* $**
 
.prg.obj:
$(HB_DIR)\bin\harbour -D__EXPORT__ -D$(DEFX) -n -go -I$(HB_DIR)\include;$(SRC00)\include;$(FWDIR)\include $(HARBOURFLAGS) -o$* $** > error.log

.rc.res:
$(CC_DIR)\BIN\brcc32 $(RFLAGS) $<
 
#BUILD
 
$(PROJECT): $(CFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
    $(CC_DIR)\BIN\$(LINKER) @&&!  
    $(LFLAGS) +
    $(ALLOBJ), +
    $(PROJECT),, +
    $(ALLLIB), +
    $(DEFFILE), +
    $(ALLRES)
!
 




Code: Select all  Expand view


K:\v_xharb>\xharbour\bin\hbmake genep_xh.bc
K:\BCC582\BIN\ilink32 @makefile.lnk
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_ED_NEW' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_CONFIG' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_KILL' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_UNLOCK' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_ADDTEXT' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_SETTEXT' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_LCOUNT' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_INSTEXT' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_GETTEXT' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_GETLINE' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_GETNEXT' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_READTEXT' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_STABILIZE' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_ROW' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_COL' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_WINROW' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_WINCOL' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_PUTCHAR' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_DOWN' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_UP' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_DELLINE' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_DELWORD' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_DELCHAR' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_BSPACE' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_RETURN' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_PGDOWN' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_PGUP' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_TOP' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_BOTTOM' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_RIGHT' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_LEFT' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_HOME' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_END' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_PWORD' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_PUSH' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_POP' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ

 
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby Antonio Linares » Thu Nov 27, 2014 6:39 am

Ruben,

Los errores que has puesto son de enlazado pero no los de compilado.

Puedes copiar aqui el contenido de editorlo.c ?
regards, saludos

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

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby goosfancito » Thu Nov 27, 2014 2:44 pm

proba con esta app
a ver si te funciona.

viewtopic.php?f=6&t=29379&p=165884&hilit=creamake#p165884
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby ruben Dario » Thu Nov 27, 2014 3:35 pm

Antonio Linares wrote:Ruben,

Los errores que has puesto son de enlazado pero no los de compilado.

Puedes copiar aqui el contenido de editorlo.c ?


Gracias Antonio.

Aquí esta el código.

http://www.4shared.com/rar/i_FdcL7cba/carpeta_pe.html
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby Antonio Linares » Thu Nov 27, 2014 6:03 pm

Ruben,

Usas Borland ?
regards, saludos

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

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby Antonio Linares » Thu Nov 27, 2014 8:45 pm

Aqui compila bien con Borland aunque salen una serie de warnings que habria que revisar:

c:\temp>c:\bcc582\bin\bcc32 -c -Ic:\harbour\include editorlo.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
editorlo.c:
Warning W8060 editorlo.c 349: Possibly incorrect assignment in function FormatTe
xt
Warning W8012 editorlo.c 406: Comparing signed and unsigned values in function N
ewText
Warning W8075 editorlo.c 456: Suspicious pointer conversion in function HB_ED_AD
DTEXT
Warning W8060 editorlo.c 500: Possibly incorrect assignment in function GoToLine

Warning W8075 editorlo.c 643: Suspicious pointer conversion in function HB_ED_IN
STEXT
Warning W8012 editorlo.c 971: Comparing signed and unsigned values in function H
B_ED_GETLINE
Warning W8075 editorlo.c 1082: Suspicious pointer conversion in function HB_ED_S
ETTEXT
Warning W8004 editorlo.c 1155: 'lConv' is assigned a value that is never used in
function HB_ED_READTEXT
Warning W8012 editorlo.c 1238: Comparing signed and unsigned values in function
HB_ED_STABILIZE
Warning W8060 editorlo.c 1299: Possibly incorrect assignment in function HB_ED_S
TABILIZE
Warning W8012 editorlo.c 1929: Comparing signed and unsigned values in function
End
Warning W8012 editorlo.c 1943: Comparing signed and unsigned values in function
End
Warning W8012 editorlo.c 2059: Comparing signed and unsigned values in function
DelChar
Warning W8012 editorlo.c 2154: Comparing signed and unsigned values in function
BackSpace
Warning W8060 editorlo.c 2190: Possibly incorrect assignment in function BackSpa
ce
Warning W8012 editorlo.c 2317: Comparing signed and unsigned values in function
NextWord
Warning W8012 editorlo.c 2380: Comparing signed and unsigned values in function
PreviousWord
Warning W8012 editorlo.c 2468: Comparing signed and unsigned values in function
format_line
Warning W8012 editorlo.c 2636: Comparing signed and unsigned values in function
PutChar
Warning W8012 editorlo.c 2876: Comparing signed and unsigned values in function
Return

c:\temp>
regards, saludos

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

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby ruben Dario » Fri Nov 28, 2014 12:05 am

Antonio Linares wrote:Aqui compila bien con Borland aunque salen una serie de warnings que habria que revisar:

c:\temp>c:\bcc582\bin\bcc32 -c -Ic:\harbour\include editorlo.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
editorlo.c:
Warning W8060 editorlo.c 349: Possibly incorrect assignment in function FormatTe
xt
Warning W8012 editorlo.c 406: Comparing signed and unsigned values in function N
ewText
Warning W8075 editorlo.c 456: Suspicious pointer conversion in function HB_ED_AD
DTEXT
Warning W8060 editorlo.c 500: Possibly incorrect assignment in function GoToLine

Warning W8075 editorlo.c 643: Suspicious pointer conversion in function HB_ED_IN
STEXT
Warning W8012 editorlo.c 971: Comparing signed and unsigned values in function H
B_ED_GETLINE
Warning W8075 editorlo.c 1082: Suspicious pointer conversion in function HB_ED_S
ETTEXT
Warning W8004 editorlo.c 1155: 'lConv' is assigned a value that is never used in
function HB_ED_READTEXT
Warning W8012 editorlo.c 1238: Comparing signed and unsigned values in function
HB_ED_STABILIZE
Warning W8060 editorlo.c 1299: Possibly incorrect assignment in function HB_ED_S
TABILIZE
Warning W8012 editorlo.c 1929: Comparing signed and unsigned values in function
End
Warning W8012 editorlo.c 1943: Comparing signed and unsigned values in function
End
Warning W8012 editorlo.c 2059: Comparing signed and unsigned values in function
DelChar
Warning W8012 editorlo.c 2154: Comparing signed and unsigned values in function
BackSpace
Warning W8060 editorlo.c 2190: Possibly incorrect assignment in function BackSpa
ce
Warning W8012 editorlo.c 2317: Comparing signed and unsigned values in function
NextWord
Warning W8012 editorlo.c 2380: Comparing signed and unsigned values in function
PreviousWord
Warning W8012 editorlo.c 2468: Comparing signed and unsigned values in function
format_line
Warning W8012 editorlo.c 2636: Comparing signed and unsigned values in function
PutChar
Warning W8012 editorlo.c 2876: Comparing signed and unsigned values in function
Return

c:\temp>


Gracias Antonio
Revisando si compila , pero al Generar el ejecutable , genera el mismo error. Que enuncie inicialmente.
Le anexo el makefile.lnk

Code: Select all  Expand view

-LK:\BCC582\lib\obj;K:\BCC582\lib;K:\xHarbour\lib -Gn -M -m -s -Tpe -x -ap +
c0x32.obj obj\PXPMENU.obj obj\PXP0013.obj obj\PXPASIG.obj obj\PXPASIG1.obj obj\PXPASIGa.obj obj\PXPASIG1a.obj obj\PXPBR27.obj obj\PXPTB04.obj obj\PXPTB04a.obj obj\PXPBRXX.obj obj\PXPBRXXa.obj obj\PXPTBROW.obj obj\PXPCONDI.obj obj\PXPCOND1.obj obj\PXPRESQL_1.obj obj\PXPRESQL_1a.obj obj\PXP100.obj obj\PXP101.obj obj\PXP102.obj obj\PXP110.obj obj\PXP200.obj obj\PXP210.obj obj\PXP300.obj obj\PXP301.obj obj\PXP302.obj obj\PXP303.obj obj\PXP304.obj obj\PXP305.obj obj\PXP306.obj obj\PXP307.obj obj\PXP308.obj obj\PXP309.obj obj\PXP310.obj obj\PXP311.obj obj\PXP312.obj obj\PXP313.obj obj\PXP320.obj obj\PXP321.obj obj\PXP322.obj obj\PXP323.obj obj\PXP324.obj obj\PXP330.obj obj\PXP400.obj obj\PXP401.obj obj\PXP403.obj obj\PXP404.obj obj\PXP405.obj obj\PXP406.obj obj\PXP407.obj obj\PXP408.obj obj\PXP409.obj obj\PXP440.obj obj\PXP441.obj obj\PXP442.obj obj\PXP450.obj obj\PXP451.obj obj\PXP452.obj obj\PXP453.obj obj\PXP454.obj obj\PXP460.obj obj\PXP500.obj obj\PXP501.obj obj\PXP502.obj obj\PXP503.obj obj\PXP504.obj obj\PXP505.obj obj\PXP510.obj obj\PXP600.obj obj\PXP601.obj obj\PXP602.obj obj\PXP603.obj obj\PXP604.obj obj\PXP610.obj obj\PXP700.obj obj\PXP701.obj obj\PXP702.obj obj\PXP800.obj obj\PXP801.obj obj\PXP802.obj obj\PXP803.obj obj\PXP804.obj obj\PXP4000.obj obj\PXP4001.obj obj\PXP4002.obj obj\PXP4003.obj obj\PXP4003A.obj obj\PXP4004.obj obj\PXP5000.obj obj\PXP5001.obj obj\PXP5010.obj obj\PXP5011.obj obj\PXP7000.obj obj\PXP7001.obj obj\PXP7002.obj obj\PXP9000.obj obj\PXP9001.obj obj\PXP1065.obj obj\PXP1071.obj obj\PXP3010.obj obj\PXP3011.obj obj\PXPCARGA.obj obj\CXCASIG.obj obj\CXCASIG1.obj obj\CXCASIGa.obj obj\CXCASIG1a.obj obj\CXC1431.obj obj\CXC403.obj obj\CXC404.obj obj\CXC405.obj obj\CXC406.obj obj\CXC407.obj obj\CXC408.obj obj\CXC501.obj obj\CXC602.obj obj\CXCTBR27.obj obj\NXNASIG.obj obj\NXNASIG1.obj obj\NXNASIGa.obj obj\NXNASIG1a.obj obj\NXNTBRO.obj obj\NXN400.obj obj\NXN500.obj obj\NXN501.obj obj\NXN600.obj obj\NXN610.obj obj\NXN611.obj obj\NXN612.obj obj\NXN613.obj obj\NXN614.obj obj\NXN615.obj obj\NXN700.obj obj\NXN1000.obj obj\NXN1001.obj obj\NXN1002.obj obj\NXN1003.obj obj\NXN1004.obj obj\NXN1005.obj obj\NXN1050.obj obj\NXN1051.obj obj\NXN1431.obj obj\NXN2040.obj obj\NXNTBROW.obj obj\NXNTBR21.obj obj\CONASIG.obj obj\CONASIG1.obj obj\CONASIGa.obj obj\CONASIG1a.obj obj\CONTBR28.obj obj\CONT502.obj obj\CONT503.obj obj\CONT510.obj obj\CONT1050.obj obj\CONT1080.obj obj\CONT1081.obj obj\PXPFunc_1.obj obj\PXPFunc_2.obj obj\PXPFunc_3.obj obj\PXPClases.obj obj\PXPClavag.obj obj\s3meta2.obj obj\DEMO_FWH.obj obj\PXPFASTR_1.obj obj\PXPEYSAREP_1.obj obj\PXPFUNCIONES.obj obj\PXP_CLASE.obj obj\PXP1030.obj obj\PE.obj obj\editorhi.obj obj\editorlo.obj, +
PLASMENU.exe,, +
lang.lib vm.lib rtl.lib rdd.lib macro.lib pp.lib dbfntx.lib dbfcdx.lib dbffpt.lib common.lib gtwin.lib codepage.lib ct.lib tip.lib pcrepos.lib hsx.lib hbsix.lib debug.lib hbhpdf.lib png.lib zlib.lib libnf.lib .\\lib\xHarb\librub_xh.lib .\\lib\xHarb\librub1_xh.lib .\\lib\xHarb\grump_xh.lib .\\lib\xHarb\libsuper_xh.lib .\\lib\xHarb\dialog32_xh.lib .\\lib\xHarb\filexls_xh.lib \fwh\LIB\Fivehx.lib \fwh\LIB\FiveHC.lib .\\lib\xHarb\dolphin_xh.lib .\\lib\xHarb\libmysql.lib .\\lib\xHarb\EasyRep_xh.lib K:\BCC582\lib\psdk\psapi.lib import32.lib cw32.lib, +
, +
 


Antonio Usted genero el Ejecutable. Para saber si pasa lo mismo.


Gracias
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby Antonio Linares » Fri Nov 28, 2014 2:47 pm

Ruben,

Tienes que enlazar la libreria hbmisc.lib de Harbour
regards, saludos

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

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby ruben Dario » Sat Nov 29, 2014 5:10 pm

Antonio Linares wrote:Ruben,

Tienes que enlazar la libreria hbmisc.lib de Harbour


Gracias Antonio.

Lo estoy compiladon con Harbour y bcc68
Me da este error

Code: Select all  Expand view

K:\v_xharb>if not exist obj md obj

K:\v_xharb>K:\BCC582\bin\make -fpe.mak
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    K:\harbour\bin\harbour K:\v_xharb\pe\pe.PRG /L /N /W /Oobj\ /IK:\FWH\include;K:\harbour\include;.\include
Harbour 3.2.0dev (r1406271520)
Copyright (c) 1999-2014, http://harbour-project.org/
Compiling 'K:\v_xharb\pe\pe.PRG'...

Lines 41, Functions/Procedures 2
Generating C source output to 'obj\pe.c'... Done.
    K:\BCC582\bin\bcc32 -c -tWM -IK:\harbour\include -oobj\pe obj\pe.c
Embarcadero C++ 6.80 for Win32 Copyright (c) 1993-2014 Embarcadero Technologies, Inc.
obj\pe.c:
    K:\harbour\bin\harbour K:\v_xharb\pe\editorhi.PRG /L /N /W /Oobj\ /IK:\FWH\include;K:\harbour\include;.\include
Harbour 3.2.0dev (r1406271520)
Copyright (c) 1999-2014, http://harbour-project.org/
Compiling 'K:\v_xharb\pe\editorhi.PRG'...

100

200

300

100

100

200

300

400

500

600

Lines 1334, Functions/Procedures 25
Generating C source output to 'obj\editorhi.c'... Done.
    K:\BCC582\bin\bcc32 -c -tWM -IK:\harbour\include -oobj\editorhi obj\editorhi.c
Embarcadero C++ 6.80 for Win32 Copyright (c) 1993-2014 Embarcadero Technologies, Inc.
obj\editorhi.c:
    echo off
    echo K:\BCC582\lib\c0w32.obj + > b32.bc
    echo OBJ\pe.obj + >> b32.bc
    echo OBJ\editorhi.obj, + >> b32.bc
    echo pe.exe, + >> b32.bc
    echo pe.map, + >> b32.bc
    echo K:\FWH\lib\FiveH.lib + >> b32.bc
    echo K:\FWH\lib\FiveHC.lib + >> b32.bc
    echo K:\harbour\lib\hbrtl.lib + >> b32.bc
    echo K:\harbour\lib\hbvm.lib + >> b32.bc
    echo K:\harbour\lib\gtgui.lib + >> b32.bc
    echo K:\harbour\lib\hblang.lib + >> b32.bc
    echo K:\harbour\lib\hbcpage.lib + >> b32.bc
    echo K:\harbour\lib\hbmacro.lib + >> b32.bc
    echo K:\harbour\lib\hbrdd.lib + >> b32.bc
    echo K:\harbour\lib\rddntx.lib + >> b32.bc
    echo K:\harbour\lib\rddcdx.lib + >> b32.bc
    echo K:\harbour\lib\rddfpt.lib + >> b32.bc
    echo K:\harbour\lib\hbsix.lib + >> b32.bc
    echo K:\harbour\lib\hbdebug.lib + >> b32.bc
    echo K:\harbour\lib\hbcommon.lib + >> b32.bc
    echo K:\harbour\lib\hbpp.lib + >> b32.bc
    echo K:\harbour\lib\hbpcre.lib + >> b32.bc
    echo K:\harbour\lib\hbct.lib + >> b32.bc
    echo K:\harbour\lib\hbzlib.lib + >> b32.bc
    echo K:\harbour\lib\hbmisc.lib + >> b32.bc
    echo K:\harbour\lib\hbtip.lib + >> b32.bc
    echo K:\harbour\lib\png.lib + >> b32.bc
    echo K:\harbour\lib\hbwin.lib + >> b32.bc
    echo K:\BCC582\lib\cw32.lib + >> b32.bc
    echo K:\BCC582\lib\import32.lib + >> b32.bc
    echo K:\BCC582\lib\psdk\odbc32.lib + >> b32.bc
    echo K:\BCC582\lib\psdk\nddeapi.lib + >> b32.bc
    echo K:\BCC582\lib\psdk\iphlpapi.lib + >> b32.bc
    echo K:\BCC582\lib\psdk\msimg32.lib + >> b32.bc
    echo K:\BCC582\lib\psdk\psapi.lib + >> b32.bc
    echo K:\BCC582\lib\psdk\rasapi32.lib >> b32.bc
    K:\BCC582\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_CTOT' referenced from K:\FWH\LIB\FIVEH.LIB|VALBLANK
Error: Unresolved external '_HB_FUN_HB_COMPILEFROMBUF' referenced from K:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_TOLEAUTO' referenced from K:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HHASKEY' referenced from K:\FWH\LIB\FIVEH.LIB|FWDECODE
Error: Unresolved external '_HB_FUN_TTOS' referenced from K:\FWH\LIB\FIVEH.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_GETACTIVEOBJECT' referenced from K:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from K:\FWH\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_ANSITOWIDE' referenced from K:\FWH\LIB\FIVEH.LIB|TGET
Error: Unresolved external '_HB_FUN_DATETIME' referenced from K:\FWH\LIB\FIVEH.LIB|PRV2PDF
Error: Unresolved external '_HB_FUN_HB_DECODE' referenced from K:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_WILDMATCH' referenced from K:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_NUMTOHEX' referenced from K:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_STRTOHEX' referenced from K:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_HEXTOSTR' referenced from K:\FWH\LIB\FIVEH.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_NOTIFY' referenced from K:\FWH\LIB\FIVEH.LIB|WINDOW
Error: Unresolved external '_HB_FUN_ED_KILL' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_UNLOCK' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_PUSH' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_POP' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unable to perform link

** error 2 ** deleting pe.exe
 

Este es el Archivo pe.mak

[code]

HDIRL=K:\harbour
BCDIR=K:\BCC582
FWDIR=K:\FWH

.path.OBJ = .\obj
.path.CH = $(FWDIR)\include;$(HDIRL)\include
PRG= \
K:\v_xharb\pe\pe.prg \
K:\v_xharb\pe\editorhi.prg

C= \
K:\v_xharb\pe\editorlo.c

OBJ=$(PRG:.prg=.obj)
OBJS=$(OBJ:.\=.obj\)

PROJECT : pe.exe

pe.exe : $(OBJS)
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo OBJ\pe.obj + >> b32.bc
echo OBJ\editorhi.obj, + >> b32.bc
echo pe.exe, + >> b32.bc
echo pe.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib + >> b32.bc
echo $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HDIRL)\lib\hbrtl.lib + >> b32.bc
echo $(HDIRL)\lib\hbvm.lib + >> b32.bc
echo $(HDIRL)\lib\gtgui.lib + >> b32.bc
echo $(HDIRL)\lib\hblang.lib + >> b32.bc
echo $(HDIRL)\lib\hbcpage.lib + >> b32.bc
echo $(HDIRL)\lib\hbmacro.lib + >> b32.bc
echo $(HDIRL)\lib\hbrdd.lib + >> b32.bc
echo $(HDIRL)\lib\rddntx.lib + >> b32.bc
echo $(HDIRL)\lib\rddcdx.lib + >> b32.bc
echo $(HDIRL)\lib\rddfpt.lib + >> b32.bc
echo $(HDIRL)\lib\hbsix.lib + >> b32.bc
echo $(HDIRL)\lib\hbdebug.lib + >> b32.bc
echo $(HDIRL)\lib\hbcommon.lib + >> b32.bc
echo $(HDIRL)\lib\hbpp.lib + >> b32.bc
echo $(HDIRL)\lib\hbpcre.lib + >> b32.bc
echo $(HDIRL)\lib\hbct.lib + >> b32.bc
echo $(HDIRL)\lib\hbzlib.lib + >> b32.bc
echo $(HDIRL)\lib\hbmisc.lib + >> b32.bc
echo $(HDIRL)\lib\hbtip.lib + >> b32.bc
echo $(HDIRL)\lib\png.lib + >> b32.bc
echo $(HDIRL)\lib\hbwin.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\psapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib >> b32.bc

$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc

.PRG.OBJ:
$(HDIRL)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HDIRL)\include;.\include
$(BCDIR)\bin\bcc32 -c -tWM -I$(HDIRL)\include -oobj\$& obj\$&.c

.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HDIRL)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c

del tmp

[code]
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby Antonio Linares » Sat Nov 29, 2014 6:54 pm

Tienes que enlazar la libreria hbcplr.lib de Harbour
regards, saludos

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

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby ruben Dario » Sat Nov 29, 2014 7:37 pm

Antonio Linares wrote:Tienes que enlazar la libreria hbcplr.lib de Harbour


Gracias Antonio
enlazo la libreria hbcplr.lib , y sigue lo mismo.

Pero Enlazo esta librería xhb.lib

No se que otra librería me falta.

Y me dan estos errores.
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_ED_KILL' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_UNLOCK' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_PUSH' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unresolved external '_HB_FUN_ED_POP' referenced from K:\V_XHARB\OBJ\EDITORHI.OBJ
Error: Unable to perform link
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby Antonio Linares » Sat Nov 29, 2014 9:36 pm

Tienes que enlazar hbmisc.lib
regards, saludos

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

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby ruben Dario » Sat Nov 29, 2014 11:53 pm

Antonio Linares wrote:Tienes que enlazar hbmisc.lib


Gracias Antonio.

Pero ya tenia esta hbmisc.lib , pero sigue el mismo problema.
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby Antonio Linares » Sun Nov 30, 2014 12:53 am

Ruben,

Prueba a crear esas 4 funciones de esta forma:

function ED_KILL()

return nil

y a ver si asi te construye el EXE
regards, saludos

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

Re: Ayuda Al compilar pe.prg de samples de xharbour

Postby ruben Dario » Sun Nov 30, 2014 2:49 am

Antonio Linares wrote:Ruben,

Prueba a crear esas 4 funciones de esta forma:

function ED_KILL()

return nil

y a ver si asi te construye el EXE


Ya cree la 4 funciones, y crea el ejecutable.

Pero al Ejecutar me da estos errores

Code: Select all  Expand view

Application
===========
   Path and name: K:\v_xharb\pe.exe (32 bits)
   Size: 2,874,880 bytes
   Compiler version: Harbour 3.2.0dev (r1406271520)
   FiveWin  Version: FWH 14.06
   Windows version: 6.2, Build 9200

   Time from start: 0 hours 0 mins 0 secs
   Error occurred at: 11/29/14, 21:44:44
   Error description: Error BASE/1076  Argument error: >=
   Args:
     [   1] = P   0x2841E4
     [   2] = N   0

Stack Calls
===========
   Called from: K:\v_xharb\pe\editorhi.PRG => EDITORNEW( 0 )
   Called from: K:\v_xharb\pe\pe.PRG => MEMOEDITOR( 0 )
   Called from: K:\v_xharb\pe\pe.PRG => MAIN( 0 )

System
======
   CPU type: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz 3100 Mhz
   Hardware memory: 7103 megs

   Free System resources: 90 %
        GDI    resources: 90 %
        User   resources: 90 %

   Windows total applications running: 4
      1 ,                                                                                                    
      2 , C:\Windows\SYSTEM32\SHLWAPI.dll                                                                    
      3 Conmutación de tareas, K:\v_xharb\pe.exe                                                                                  
      4 DDE Server Window, C:\Windows\SYSTEM32\OLE32.DLL                                                                      

Variables in use
================
   Procedure     Type   Value
   ==========================
   EDITORNEW
     Param   1:    O    Class: ERROR
   MEMOEDITOR
     Param   1:    N    0
     Param   2:    N    0
     Param   3:    N    23
     Param   4:    N    79
     Param   5:    N    254
     Param   6:    U    
     Param   7:    U    
     Param   8:    U    
     Param   9:    N    0
     Param  10:    N    168
     Local   1:    P    0x2841E4
     Local   2:    U    
     Local   3:    P    0x2841E4
     Local   4:    N    0
     Local   5:    U    
     Local   6:    U    
   MAIN
     Param   1:    C    ""
     Param   2:    N    0
     Param   3:    N    0
     Param   4:    N    23
     Param   5:    N    79
     Param   6:    L    .F.
     Local   1:    U    

Linked RDDs
===========
   DBF
   DBFFPT
   DBFBLOB
   DBFNTX

DataBases in use
================

Classes in use:
===============
     1 ERROR
     2 HBCLASS
     3 HBOBJECT
     4 TREG32

Memory Analysis
===============
      204 Static variables

   Dynamic memory consume:
      Actual  Value:          0 bytes
      Highest Value:          0 bytes

 
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Next

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 69 guests