Harbour 3.2 SVN x HwGui CVS

Projeto HwGui - Biblioteca visual para Harbour/xHarbour

Moderador: Moderadores

Avatar do usuário
Toledo
Administrador
Administrador
Mensagens: 3133
Registrado em: 22 Jul 2003 18:39
Localização: Araçatuba - SP
Contato:

Harbour 3.2 SVN x HwGui CVS

Mensagem por Toledo »

Amigos, fui obrigado a atualizar a versão do Harbour de 2.1 para 3.2, e agora não estou conseguindo compilar as libs da HwGui.

Log de compilação hwgui.lib:
C:\hwgui>hbmk2 hwgui.hbp -rebuild
hbmk2: Processando op‡äes do ambiente: -compiler=mingw
hbmk2: Harbour: Compilando m¢dulos...
source\hbrowse.prg(3875) Warning W0034 STATIC Function 'FLTRECCOUNT' defined bu
t never used
source\hbrowse.prg(3875) Warning W0034 STATIC Function 'FLTRECNORELATIVE' defin
ed but never used

No code generated.
hbmk2: Erro: Executando o compilador Harbour (interno): 1
(C:\HARBOUR\bin\harbour.exe) -n1 source\errorsys.prg source\hipedit.prg source\d
rawwidg.prg source\guimain.prg source\barcode.prg source\hbrowse.prg source\hche
ck.prg source\hcombo.prg source\hcontrol.prg source\hcwindow.prg source\hdatepic
.prg source\hdialog.prg source\hedit.prg source\hfreeimg.prg source\hfrmtmpl.prg
source\hgraph.prg source\hgrid.prg source\hgridex.prg source\hlistbox.prg sourc
e\htool.prg source\hmonthc.prg source\htrackbr.prg source\hanimat.prg source\hni
ce.prg source\hownbtn.prg source\hpanel.prg source\hprinter.prg source\hprogres.
prg source\hradio.prg source\hpager.prg source\hrebar.prg source\hriched.prg sou
rce\hsayimg.prg source\hshbtn.prg source\hsplash.prg source\hsplit.prg source\ht
ab.prg source\htimer.prg source\htree.prg source\hrect.prg source\hupdown.prg so
urce\hwindow.prg source\hwinprn.prg source\menu.prg source\repexec.prg source\pr
intdos.prg source\hdc.prg source\hhyper.prg source\richtext.prg -n -q0 -w3 -es2
-olib\.hbmk\win\mingw\ -iC:\HARBOUR\include -iinclude

C:\hwgui>
Log de compilação hbxml.lib:
C:\hwgui>hbmk2 @hbxml.hbp -rebuild
hbmk2: Processando op‡äes do ambiente: -compiler=mingw
hbmk2: Harbour: Compilando m¢dulos...
hbmk2: Compilando...
../../../../source/xml/xmlparse.c:49:1: error: unknown type name 'ULONG'
../../../../source/xml/xmlparse.c: In function 'HB_FUN_HBXML_TRANSFORM':
../../../../source/xml/xmlparse.c:69:4: error: unknown type name 'ULONG'
../../../../source/xml/xmlparse.c: At top level:
../../../../source/xml/xmlparse.c:119:40: error: unknown type name 'ULONG'
../../../../source/xml/xmlparse.c:184:50: error: unknown type name 'BOOL'
../../../../source/xml/xmlparse.c:305:1: error: unknown type name 'BOOL'
../../../../source/xml/xmlparse.c: In function 'hbxml_readComment':
../../../../source/xml/xmlparse.c:335:29: error: 'FALSE' undeclared (first use i
n this function)
../../../../source/xml/xmlparse.c:335:29: note: each undeclared identifier is re
ported only once for each function it appears in
../../../../source/xml/xmlparse.c:335:37: error: 'TRUE' undeclared (first use in
this function)
../../../../source/xml/xmlparse.c: At top level:
../../../../source/xml/xmlparse.c:338:1: error: unknown type name 'BOOL'
../../../../source/xml/xmlparse.c: In function 'hbxml_readCDATA':
../../../../source/xml/xmlparse.c:368:29: error: 'FALSE' undeclared (first use i
n this function)
../../../../source/xml/xmlparse.c:368:37: error: 'TRUE' undeclared (first use in
this function)
../../../../source/xml/xmlparse.c: At top level:
../../../../source/xml/xmlparse.c:371:1: error: unknown type name 'BOOL'
../../../../source/xml/xmlparse.c: In function 'hbxml_readElement':
../../../../source/xml/xmlparse.c:378:4: error: unknown type name 'BOOL'
../../../../source/xml/xmlparse.c:379:4: error: unknown type name 'BOOL'
../../../../source/xml/xmlparse.c:397:4: warning: implicit declaration of functi
on 'hbxml_getattr' [-Wimplicit-function-declaration]
../../../../source/xml/xmlparse.c:397:17: warning: assignment makes pointer from
integer without a cast [enabled by default]
../../../../source/xml/xmlparse.c:400:14: error: 'FALSE' undeclared (first use i
n this function)
../../../../source/xml/xmlparse.c:417:14: error: 'TRUE' undeclared (first use in
this function)
../../../../source/xml/xmlparse.c:430:13: warning: implicit declaration of funct
ion 'hbxml_pp' [-Wimplicit-function-declaration]
../../../../source/xml/xmlparse.c:430:19: warning: assignment makes pointer from
integer without a cast [enabled by default]
../../../../source/xml/xmlparse.c: In function 'HB_FUN_HBXML_GETDOC':
../../../../source/xml/xmlparse.c:489:4: error: unknown type name 'BOOL'
../../../../source/xml/xmlparse.c:493:4: warning: implicit declaration of functi
on 'ISCHAR' [-Wimplicit-function-declaration]
../../../../source/xml/xmlparse.c:496:15: error: 'FALSE' undeclared (first use i
n this function)
../../../../source/xml/xmlparse.c:498:4: warning: implicit declaration of functi
on 'ISNUM' [-Wimplicit-function-declaration]
../../../../source/xml/xmlparse.c:501:7: error: unknown type name 'ULONG'
../../../../source/xml/xmlparse.c:505:42: error: 'BYTE' undeclared (first use in
this function)
../../../../source/xml/xmlparse.c:505:49: error: expected expression before ')'
token
../../../../source/xml/xmlparse.c:505:49: error: too few arguments to function '
hb_fsReadLarge'
C:/HARBOUR/include/hbapifs.h:160:29: note: declared here
../../../../source/xml/xmlparse.c:507:15: error: 'TRUE' undeclared (first use in
this function)
../../../../source/xml/xmlparse.c:521:10: error: unknown type name 'BOOL'
../../../../source/xml/xmlparse.c:522:28: warning: initialization makes pointer
from integer without a cast [enabled by default]
../../../../source/xml/xmlparse.c: In function 'hbxml_readElement':
../../../../source/xml/xmlparse.c:480:1: warning: control reaches end of non-voi
d function [-Wreturn-type]
../../../../source/xml/xmlparse.c: In function 'hbxml_readCDATA':
../../../../source/xml/xmlparse.c:369:1: warning: control reaches end of non-voi
d function [-Wreturn-type]
../../../../source/xml/xmlparse.c: In function 'hbxml_readComment':
../../../../source/xml/xmlparse.c:336:1: warning: control reaches end of non-voi
d function [-Wreturn-type]
hbmk2: Erro: Executando compilador C/C++. 1
gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer -W -Wall -pip
e -IC:/HARBOUR/include -I../../../../include ../../../../lib/.hbmk/win/mingw/hxm
ldoc.c ../../../../source/xml/xmlparse.c

C:\hwgui>
O que estou usando:
C:\hwgui>Harbour 3.2.0dev (Rev. 18232)
Copyright (c) 1999-2012, http://harbour-project.org/

Harbour Build Info
---------------------------
Version: Harbour 3.2.0dev (Rev. 18232)
Compiler: MinGW GNU C 4.6.1 (32-bit)
Platform: Windows XP 5.1.2600 Service Pack 3
PCode version: 0.3
ChangeLog last entry: 2012-10-05 22:10 UTC+0200 Viktor Szakats (vszakats syenar.
net)
ChangeLog ID: ChangeLog 18232 2012-10-05 20:11:47Z vszakats
Built on: Oct 5 2012 19:00:27
Build options: (Clipper 5.3b) (Clipper 5.x undoc)
---------------------------
Alguém já conseguiu compilar a HwGui com Harbour 3.2?

Abraços,
Toledo - Clipper On Line
toledo@pctoledo.com.br
Harbour 3.2/MiniGui/HwGui
Faça uma doação para o fórum, clique neste link: http://www.pctoledo.com.br/doacao
Imatech
Usuário Nível 3
Usuário Nível 3
Mensagens: 350
Registrado em: 24 Ago 2010 23:48
Localização: Goiânia-GO

Harbour 3.2 SVN x HwGui CVS

Mensagem por Imatech »

Olá Toledo !
.
.
.
Acredito que basta modificar as diretivas de compilação (arquivos .hbp):

-w3

para

-w2
.
.
.
Assim as Static poderão continuar existindo no código (mesmo sem uso)...
.
.
.
https://pctoledo.org/forum/viewto ... gui#p75665
M., Ronaldo

by: IMATECH

IMATION TECNOLOGIA
Avatar do usuário
Toledo
Administrador
Administrador
Mensagens: 3133
Registrado em: 22 Jul 2003 18:39
Localização: Araçatuba - SP
Contato:

Harbour 3.2 SVN x HwGui CVS

Mensagem por Toledo »

Ronaldo, não adiantou... ainda continua com erro e a lib não é criada.

Abraços,
Toledo - Clipper On Line
toledo@pctoledo.com.br
Harbour 3.2/MiniGui/HwGui
Faça uma doação para o fórum, clique neste link: http://www.pctoledo.com.br/doacao
esbasso
Colaborador
Colaborador
Mensagens: 325
Registrado em: 24 Jan 2007 17:49
Localização: CHAPECO/SC

Harbour 3.2 SVN x HwGui CVS

Mensagem por esbasso »

ou comente esta funçao ou atualize a lib
Luis Fernando Basso
Desenvolvedor VFP + XHARBOUR + HWGUI
lfbasso@gmail.com
http://www.engersoft.com.br
Avatar do usuário
Toledo
Administrador
Administrador
Mensagens: 3133
Registrado em: 22 Jul 2003 18:39
Localização: Araçatuba - SP
Contato:

Harbour 3.2 SVN x HwGui CVS

Mensagem por Toledo »

Comentei as funções, mas continua com erro.
source\printdos.prg:576:1: error: unknown type name 'BOOL'
source\printdos.prg: In function 'file_read':
source\printdos.prg:602:18: error: 'TRUE' undeclared (first use in this function
)
source\printdos.prg:602:18: note: each undeclared identifier is reported only on
ce for each function it appears in
Luis, qual versão da HwGui tá mais atualizada (CVS ou SVN) e qual o endereço para baixar?

Abraços,
Toledo - Clipper On Line
toledo@pctoledo.com.br
Harbour 3.2/MiniGui/HwGui
Faça uma doação para o fórum, clique neste link: http://www.pctoledo.com.br/doacao
esbasso
Colaborador
Colaborador
Mensagens: 325
Registrado em: 24 Jan 2007 17:49
Localização: CHAPECO/SC

Harbour 3.2 SVN x HwGui CVS

Mensagem por esbasso »

do SVN

svn://svn.code.sf.net/p/hwgui/code/trunk/hwgui
Luis Fernando Basso
Desenvolvedor VFP + XHARBOUR + HWGUI
lfbasso@gmail.com
http://www.engersoft.com.br
Responder