Página 1 de 1

Erro na compilacao

Enviado: 28 Jun 2007 18:41
por Cleiton Fidelis
Divinopolis MG 18h34 29 de Junho de 2007 - Quinta feira.


Ola meninos e meninas!

Resolvi entrar de cara no xharbour + minigui.
Pois bem,

Instatei o xharbour na pasta c:\xharbour
Minigui em c:\minigui
Bcc55 em c:\bcc55

Meu bcc32 esta assim
-IC:\bcc55\include;C:\xharbour\include
-LC:\bcc55\lib;C:\xharbour\lib


Ilink32:
-LC:\BCC55\LIB;C:\XHARBOUR\LIB

Salvos em c:\bcc55\bin;


Coloquei as variaveis no windowx xp, atravez de meu computador, sistemas, variaveis de ambiente.. novo..

SET LIB=C:\XHARBOUR\LIB;C:\BCC55\LIB;C:\MINIGUI\LIB
SET INCLUDE=C:\XHARBOUR\INCLUDE;C:\BCC55\INCLUDE;C:\MINIGUI\INCLUDE
SET PATH=C:\XHARBOUR\BIN;C:\BCC55\BIN

Estou entrando em \minigui\samples\basic\tab e digito
hbmake demo.cb -ex
me retorna o seguinte erro
C:\BCC55\BIN\ilink32 @makefile.lnk
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN__DEFINEWINDOW' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__DEFINEMAINMENU' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__DEFINEMENUPOPUP' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__DEFINEMENUITEM' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__DEFINESEPARATOR' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN_DOMETHOD' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__ENDMENUPOPUP' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN_SETPROPERTY' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN_MSGINFO' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN_GETPROPERTY' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN_INPUTBOX' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__ENDMENU' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__ENDWINDOW' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__ISCONTROLDEFINED' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__BEGINTAB' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__BEGINTABPAGE' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__ENDTABPAGE' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN__ENDTAB' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ
Error: Unresolved external '_HB_FUN_MINIGUIVERSION' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Error: Unresolved external '_HB_FUN__DEFINEBUTTON' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Error: Unresolved external '_HB_FUN_MSGSTOP' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Error: Unresolved external '_HB_FUN__BEGINFRAME' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Error: Unresolved external '_HB_FUN__DEFINELABEL' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Error: Unresolved external '_HB_FUN__DEFINEHOTKEY' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Error: Unresolved external '_HB_FUN_INSERTSHIFTTAB' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Error: Unresolved external '_HB_FUN_INSERTTAB' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Error: Unresolved external '_HB_FUN_GETTITLEHEIGHT' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Error: Unresolved external '_HB_FUN_GETBORDERHEIGHT' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Error: Unresolved external '_HB_FUN_GETMENUBARHEIGHT' referenced from C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ
Warning: Public symbol '_HB_FUN_MAIN' defined in both module C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO.OBJ and C:\MINIGUI\SAMPLES\BASIC\TAB\OBJ\DEMO2.OBJ


Se uso o compile.bat
diz que "o Sistema nao pode encontrar o caminho especificado"

Por favor... alguem me ajude .... to batendo cabeca , lendo , lendo..
Onde errei?

Desde ja agradeco

Cleiton Fidelis
Divinopolis mG
cleitonfidelis@hotmail.com

Re: Erro na compilacao

Enviado: 28 Jun 2007 19:01
por Maligno
Cleiton Fidelis escreveu:Coloquei as variaveis no windowx xp, atravez de meu computador, sistemas, variaveis de ambiente.. novo..

SET LIB=C:\XHARBOUR\LIB;C:\BCC55\LIB;C:\MINIGUI\LIB
SET INCLUDE=C:\XHARBOUR\INCLUDE;C:\BCC55\INCLUDE;C:\MINIGUI\INCLUDE
SET PATH=C:\XHARBOUR\BIN;C:\BCC55\BIN
Unresolved external é sempre problema de path. Esses SETs estão completos? Não faltaram os SETs abaixo?

HB_INC_INSTALL = c:\xharbour\include
HB_LIB_INSTALL = c:\xharbour\lib
HB_LIBLIST = rtl.lib lang.lib vm.lib macro.lib pp.lib common.lib gtwin.lib rdd.lib dbfcdx.lib dbfntx.lib

Outra: quando altero minhas variáveis de ambiente pelo "Meu Computador" preciso reiniciar a máquina. Reiniciou a sua?

Enviado: 29 Jun 2007 08:04
por Cleiton Fidelis
Divinopolis mG 08h04 29 de Junho de 2007 - Sexta Feira.

Maligno,

Obrigado por prontamente responder.
Fiz como orientou, faltava as variaveis que me indicou mesmo, atualizei, porem continuou no erro.

Vou apagar as pastas, as variaveis e instalar tudo novamente, certamente estou comentendo erro e passando por cima...

Posto novamente o resultado. Se tiver (em) mais alguma sugestao, aceito.


Obrigado
Cleiton Fidelis
cleitonfidelis@hotmail.com

Enviado: 29 Jun 2007 08:29
por Maligno
Infelizmente, em questão de XHarbour não posso opinar muito, já que não uso. Mas o problema que você apresentou é típico de compilação. Daí pude sugerir alguma coisa.

Mas que erro está apresentando agora?

Enviado: 29 Jun 2007 11:45
por sygecom
Tche, Cleiton Fidelis ....tente primeiro usar o xharbour no modo consle...e faça alguns teste no console...depois ism...use a minigui....

Faça como esta no link abaixo:
http://www.caclipperwebsite.com/harbour.shtml

Abraços
Leonardo Machado