nao consigo compilar
Moderador: Moderadores
nao consigo compilar
Boa noite,
fiz a instalacao conforme orientacao
na hora de compiar da este erro aqui.
'upx' não é reconhecido com um command interno
ou externo, um programa operável ou arquivo em lotes.land
ja baixei tudo de novo para ver se era problema de download.
re fiz tudo mas nao deu certo da dando este erro.
nao sei o aque fazer ...
mais
ha, o meu prg so tem 2 linha
para teste...
function main()
? "ola"
fiz a instalacao conforme orientacao
na hora de compiar da este erro aqui.
'upx' não é reconhecido com um command interno
ou externo, um programa operável ou arquivo em lotes.land
ja baixei tudo de novo para ver se era problema de download.
re fiz tudo mas nao deu certo da dando este erro.
nao sei o aque fazer ...
mais
ha, o meu prg so tem 2 linha
para teste...
function main()
? "ola"
Sempre há uma solucao para os nossos problema clipper.....
- sygecom
- Administrador

- Mensagens: 7131
- Registrado em: 21 Jul 2006 10:12
- Localização: Alvorada-RS
- Contato:
o UPX só serve para compactar o .EXE e vc encontra ele no link abaixo:
http://upx.sourceforge.net/
Basta colocar o UPX.EXE no seu PATH, ou usando o hbmake desmarque a opção de comprimir EXE.
Abraços
Leonardo Machado
http://upx.sourceforge.net/
Basta colocar o UPX.EXE no seu PATH, ou usando o hbmake desmarque a opção de comprimir EXE.
Abraços
Leonardo Machado
Leonardo Machado
xHarbour.org + Hwgui + PostgreSql
xHarbour.org + Hwgui + PostgreSql
to com problema ainda...
Ola,
nao deu certo, mas eu tava reparando uma coisa,
quando vai marcando as opcaoes, quando chega no prg ele da uma
msg.
menhum prg foi encontrado enter
nenhum prg foi selecionado enter
eu acho e por isso que nao aparece nada.
mas tem um prg la com o nome de
menu.prg
desde ja agradeco sua atencao!!
fico no agardo
nao deu certo, mas eu tava reparando uma coisa,
quando vai marcando as opcaoes, quando chega no prg ele da uma
msg.
menhum prg foi encontrado enter
nenhum prg foi selecionado enter
eu acho e por isso que nao aparece nada.
mas tem um prg la com o nome de
menu.prg
desde ja agradeco sua atencao!!
fico no agardo
Sempre há uma solucao para os nossos problema clipper.....
duvidas ainda..
Boa Noite,
Porq deu estes erros no meu arquivo? Se fosse no clipper nao dava!
tenho, 44 prgs
coloquei a function mani() no menu principal
Dese ja agradeco a ajuda.
t+
Porq deu estes erros no meu arquivo? Se fosse no clipper nao dava!
tenho, 44 prgs
coloquei a function mani() no menu principal
Código: Selecionar todos
xHarbour Compiler build 0.99.70 (SimpLex)
Copyright 1999-2006, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'MENU.PRG'...
100
200
300
500
600
700
800
900
1000
1100
1200
1300
1400
1500
1600
Lines 1676, Functions/Procedures 52
Generating C source output to 'obj\MENU.c'...
Done.
Building object module for 'obj\MENU.c'
using C compiler 'BCC32' as defined in 'C:\XHARBOUR\BIN\harbour.cfg'...
Exec: BCC32 -c -D__EXPORT__ -IC:\XHARBOUR\include -d -LC:\XHARBOUR\lib -oobj\MENU.obj obj\MENU.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
obj\MENU.c:
Done.
Deleting: "obj\MENU.c"
Done.
xHarbour Compiler build 0.99.70 (SimpLex)
Copyright 1999-2006, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'CABECA.PRG'...
Lines 14, Functions/Procedures 1
Generating C source output to 'obj\CABECA.c'...
Done.
Building object module for 'obj\CABECA.c'
using C compiler 'BCC32' as defined in 'C:\XHARBOUR\BIN\harbour.cfg'...
Exec: BCC32 -c -D__EXPORT__ -IC:\XHARBOUR\include -d -LC:\XHARBOUR\lib -oobj\CABECA.obj obj\CABECA.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
obj\CABECA.c:
Done.
Deleting: "obj\CABECA.c"
Done.
xHarbour Compiler build 0.99.70 (SimpLex)
Copyright 1999-2006, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'CADGRUPO.PRG'...
CADGRUPO.PRG(5) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(6) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(7) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(9) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(11) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(12) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(13) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(14) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(15) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(16) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(17) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(18) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(19) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(20) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(21) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(22) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(23) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(24) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(25) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(27) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(28) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(29) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(31) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(33) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(34) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(35) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(36) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(40) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(41) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(42) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(43) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(44) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(45) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(46) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(47) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(48) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(49) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(50) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(51) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(53) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(54) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(55) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(57) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(58) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(59) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(60) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(62) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(63) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(65) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(67) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(69) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(70) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(73) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(74) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(75) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(76) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(77) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(78) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(79) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(80) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(81) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(82) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(83) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(84) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(85) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(87) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(90) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(105) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(106) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(107) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(108) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(109) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(111) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(125) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(127) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(128) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(130) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(131) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(133) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(134) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(135) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(136) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(137) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(139) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(140) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(141) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(143) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(144) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(145) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(147) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(149) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(150) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(152) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(153) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(154) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(155) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(157) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(158) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(159) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(160) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(162) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(163) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(164) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(167) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(168) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(170) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(171) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(175) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(176) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(177) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(178) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(180) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(184) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(185) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(186) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(187) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(189) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(190) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(191) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(192) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(193) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(194) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(195) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(196) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(198) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(200) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(202) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(203) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(204) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(207) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(208) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(209) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(210) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(213) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(217) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(218) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(219) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(220) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(222) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(223) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(224) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(225) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(226) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(227) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(228) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(229) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(231) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(233) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(235) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(237) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(238) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(239) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(240) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(242) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(244) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(245) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(246) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(248) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(249) Error E0001 Statement not allowed outside of procedure or function
CADGRUPO.PRG(251) Error E0001 Statement not allowed outside of procedure or function
160 errors
No code generated
t+
Sempre há uma solucao para os nossos problema clipper.....
- sygecom
- Administrador

- Mensagens: 7131
- Registrado em: 21 Jul 2006 10:12
- Localização: Alvorada-RS
- Contato:
Olá Marbio,
Sobre os erros, bem provavel que o "CADGRUPO.PRG" esta iniciando sem um FUNCTION ou PROCEDURE. Tente colocar o nome de Function em todos os .PRG que inicia sem FUNCTION ou PROCEDURE.
Abraços
Leonardo Machado
Clipper não é xharbour e xharbour não é clipper, apenas tem quase que 100% de compatibilidade.Porq deu estes erros no meu arquivo? Se fosse no clipper nao dava!
Sobre os erros, bem provavel que o "CADGRUPO.PRG" esta iniciando sem um FUNCTION ou PROCEDURE. Tente colocar o nome de Function em todos os .PRG que inicia sem FUNCTION ou PROCEDURE.
o Correto é "Function Main()'coloquei a function mani() no menu principal
Abraços
Leonardo Machado
Leonardo Machado
xHarbour.org + Hwgui + PostgreSql
xHarbour.org + Hwgui + PostgreSql
Marbio, vc postou que não estava conseguindo compilar o programa com 2 linhas. (veja o código abaixo)
Depois vc postou que esta dando erro de não encontrar o programa (nenhum prg selecionado)
Depois disso vc postou que são 44 prg´s.
Vamos por partes.
Vc conseguiu compilar e executar o programa de 2 linhas?
Vc esta compilando um sistema (vários prg´s)?
Se sim, conseguiu compilar o sistema agora?
Desculpe, mas eu fiquei bem perdido nessa.
Depois vc postou que esta dando erro de não encontrar o programa (nenhum prg selecionado)
Depois disso vc postou que são 44 prg´s.
Vamos por partes.
Vc conseguiu compilar e executar o programa de 2 linhas?
Vc esta compilando um sistema (vários prg´s)?
Se sim, conseguiu compilar o sistema agora?
Desculpe, mas eu fiquei bem perdido nessa.
Código: Selecionar todos
function main()
? "ola"
return(Nil)
"TRS-80/Sincler/Apple/PC - Clipper Winter 85, tlink 1.0 [pc 10 MHz - 640K] {NEZ 8000 2Kb RAM}"
{POG - Programação Orientada a Gambiarra}
{POG - Programação Orientada a Gambiarra}
Ola, a todos que esta me ajudando...
Vc conseguiu compilar e executar o programa de 2 linhas?
sim! so foi um teste
Vc esta compilando um sistema (vários prg´s)?
sao vairos prgs,
Se sim, conseguiu compilar o sistema agora?
não, estou mudando, mas ainda estou meio confuso!
duvida.
quando falamos de procedure ou function, temos colocar o mesmo nome do prg
ex:
tela.prg
procedure tela
bla,bla
desde ja agradeco sua atencao...
t+
marbio.
Vc conseguiu compilar e executar o programa de 2 linhas?
sim! so foi um teste
Vc esta compilando um sistema (vários prg´s)?
sao vairos prgs,
Se sim, conseguiu compilar o sistema agora?
não, estou mudando, mas ainda estou meio confuso!
duvida.
quando falamos de procedure ou function, temos colocar o mesmo nome do prg
ex:
tela.prg
procedure tela
bla,bla
desde ja agradeco sua atencao...
t+
marbio.
Sempre há uma solucao para os nossos problema clipper.....
- sygecom
- Administrador

- Mensagens: 7131
- Registrado em: 21 Jul 2006 10:12
- Localização: Alvorada-RS
- Contato:
Re: nao consigo compilar
Olá Marbio,
Qualquer duvida , prende o grito...
Abraços
Leonardo Machado
Se estiver com duvidas, poste as duvidas e vamos resolvendo tudo por aqui, fique a vontade.não, estou mudando, mas ainda estou meio confuso!
Isso não é obrigatorio, mas pode ser usado sem problemas, a unica exigencia é um .prg não deve iniciar sem um nome de function ou procedure, como era usado no clipper. Apesar de eu já ouvir comentarios que isso tmb. funciona com o xharbour, mas particular metente quando pego sistemas em clipper que vou migrar para xHarbour, eu tem .PRG com apenas uma unica rotina sem nomes de function ou procedure, ou coloco o nome da function com o mesmo nome do .PRG.duvida.
quando falamos de procedure ou function, temos colocar o mesmo nome do prg
ex:
tela.prg
procedure tela
Qualquer duvida , prende o grito...
Abraços
Leonardo Machado
Leonardo Machado
xHarbour.org + Hwgui + PostgreSql
xHarbour.org + Hwgui + PostgreSql
Re: nao consigo compilar
[Marbio]
Vc conseguiu compilar sua aplicação?
Vc conseguiu compilar sua aplicação?
"TRS-80/Sincler/Apple/PC - Clipper Winter 85, tlink 1.0 [pc 10 MHz - 640K] {NEZ 8000 2Kb RAM}"
{POG - Programação Orientada a Gambiarra}
{POG - Programação Orientada a Gambiarra}


