by artu01 » Wed Aug 11, 2021 5:13 am
Hola amigos:
Estoy tratando de compilar y me sale esto:
> Executing task in folder prgfw_modjul21: D:\arturo\veryanlin\prgfw_modjul21\gohp.bat <
D:\arturo\veryanlin\prgfw_modjul21>set oldpath=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\Rational\common;C:\Program Files\IDM Computer Solutions\UEStudio;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\TPuy\bin;C:\Program Files\TPuy\include;C:\Program Files\Git\cmd;C:\Program Files\sqlite3;;C:\Users\TOSHIBA\AppData\Local\Programs\Microsoft VS Code\bin
D:\arturo\veryanlin\prgfw_modjul21>set path=c:\1712\bcc7\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\Rational\common;C:\Program Files\IDM Computer Solutions\UEStudio;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\TPuy\bin;C:\Program Files\TPuy\include;C:\Program Files\Git\cmd;C:\Program Files\sqlite3;;C:\Users\TOSHIBA\AppData\Local\Programs\Microsoft VS Code\bin
D:\arturo\veryanlin\prgfw_modjul21>c:\1712\harbour\bin\hbmk2 test.hbp
hbmk2[test]: Warning: Cannot find 3rd/minizip/minizip.hbc (referenced from
hbmzip.hbc)
hbmk2[test]: Warning: Cannot find 3rd/minizip/minizip.hbc (referenced from
hbmzip.hbc)
Harbour 3.2.0dev (r1801051438)
Copyright (c) 1999-2016, http://harbour-project.org/
Error F0033 Can't open standard rule file 'hbwin.ch'
hbmk2[test]: Error: Running Harbour compiler (built-in). 1
(c:\1712\harbour\bin\harbour.exe) -n2 test1.prg -DHBMK_HAS_HBCT=1 -DHBMK_HAS_HBTIP=1 -DHBMK_HAS_HBFSHIP=1 -DHBMK_HAS_HBXPP=1 -DHBMK_HAS_HBWIN=1 -DHBMK_HAS_XHB=1 -DHBMK_HAS_HBMZIP=1 -DHBMK_HAS_HBZIPARC=1 -oC:\Users\TOSHIBA\AppData\Local\Temp\hbmk_p3p19u.dir\
-ic:\1712\bcc7\Include -ic:\1712\bcc7\Include\dinkumware -ic:\1712\bcc7\Include\windows\crtl -ic:\1712\bcc7\Include\windows\rtl -ic:\1712\bcc7\Include\windows\sdk -ic:\1712\harbour\include -ic:\1712\fwh\include -i. -ic:\1712\harbour\contrib\hbtip -ic:\1712\harbour\contrib\hbfship -ic:\1712\harbour\contrib\hbxpp -u+hbwin.ch -u+hbmzip.ch
D:\arturo\veryanlin\prgfw_modjul21>test1.exe
"test1.exe" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
D:\arturo\veryanlin\prgfw_modjul21>set path=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\Rational\common;C:\Program Files\IDM Computer Solutions\UEStudio;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\TPuy\bin;C:\Program Files\TPuy\include;C:\Program Files\Git\cmd;C:\Program Files\sqlite3;;C:\Users\TOSHIBA\AppData\Local\Programs\Microsoft VS Code\bin
Las tareas reutilizarán el terminal, presione cualquier tecla para cerrarlo.baje del github el harbour y copie los archivos .hbc en mi carpeta donde esta el prg y en carpeta bin del harbour
tasks.json
- Code: Select all Expand view RUN
{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version":
"2.0.0",
"tasks":
[ { "label":
"echo",
"type":
"shell",
"command":
"D:\\arturo\\veryanlin\\prgfw_modjul21\\gohp.bat",
"problemMatcher":
[],
"group":
{ "kind":
"build",
"isDefault":
true } } ]}
gohp.bat
- Code: Select all Expand view RUN
set oldpath=%path%
set path=c:\1712\bcc7\bin;%path%
c:\1712\harbour\bin\hbmk2 test.hbp
test1.exe
set path=%oldpath%
test.hbp
- Code: Select all Expand view RUN
test1.prg
-Ic:\1712\fwh\include
-Lc:\1712\fwh\lib
-lfiveh
-lfivehc
xhb.hbc
hbct.hbc
hbwin.hbc
hbmzip.hbc
hbziparc.hbc
test1.prg
- Code: Select all Expand view RUN
#INCLUDE "FiveWin.ch"
function MAIN()
test()
return nil
function test()
?'Hola mundo'
return nil
fwh 17.12, harbour 3.2.0, pelles C, bcc7, Ms-Sql