HMG.4 IDE TEST 2011.11.25

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

HMG.4 IDE TEST 2011.11.25

Post by Roberto Lopez »

Hi All,

An updated IDE.4 test release.

It requires that you replace the current buildapp.bat with the following:

Code: Select all

@echo off

REM
REM $Id$
REM

IF DEFINED HMGPATH GOTO HmgPathDefined

SET HMGPATH=c:\hmg.4
SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\harbour\comp\mingw\bin;%PATH%
SET HB_WITH_QT=%HMGPATH%\harbour\include

:HmgPathDefined

if "%1"=="/3" goto compatible

HBMK2 %1 %2 %3 %4 %5 %6 %7 %8 -w3 -es2

goto end

:compatible

shift

HBMK2 %1 %2 %3 %4 %5 %6 %7 %8 -q -DHMG3 -i. -run >build.log 2>&1

IF ERRORLEVEL 1 NOTEPAD build.log

:end
Enjoy!
Attachments
ide4c.zip
(1 MiB) Downloaded 790 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: HMG.4 IDE TEST 2011.11.25

Post by jairpinho »

buildapp.bat modified and compiled the hello.hbp

hbmk2: Processando script local: hbmk.hbm
hbmk2: Harbour: Compilando m¢dulos...
Harbour 3.1.0dev (Rev. 17111)
Copyright (c) 1999-2011, http://harbour-project.org/

F:\@Prog-Xbase\HMG-4\ide4c\sample\main.prg(8) Error E0020 Incomplete statement or unbalanced delimiters

F:\@Prog-Xbase\HMG-4\ide4c\sample\main.prg(9) Error E0020 Incomplete statement or unbalanced delimiters

2 errors

No code generated.
hbmk2: Erro: Executando o compilador Harbour (interno): 1
(c:\hmg.4\harbour\bin\harbour.exe) -n2 F:\@Prog-Xbase\HMG-4\ide4c\sample\main.prg F:\@Prog-Xbase\HMG-4\ide4c\sample\main_button_1_action.prg -q -DHMG3 -o.hbmk\win\mingw\ -ic:\hmg.4\harbour\include -iC:\HMG.4\SVN\include -ic:\hmg.4\harbour\contrib\hbqt\qtcore -ic:\hmg.4\harbour\contrib\hbqt -ic:\hmg.4\harbour\contrib\hbqt\qtgui -ic:\hmg.4\harbour\contrib\hbqt\qtnetwork -ic:\hmg.4\harbour\contrib\hbqt\qtsql -ic:\hmg.4\harbour\contrib\hbqt\gtqtc -ic:\hmg.4\harbour\contrib\hbct -ic:\hmg.4\harbour\contrib\xhb -ic:\hmg.4\harbour\contrib\hbtip -ic:\hmg.4\harbour\contrib\hbwin -ic:\hmg.4\harbour\contrib\hbfship -ic:\hmg.4\harbour\contrib\hbxpp -ic:\hmg.4\harbour\contrib\gtwvg -i.
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
danielmaximiliano
Posts: 2646
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG.4 IDE TEST 2011.11.25

Post by danielmaximiliano »

Compila Ok.
Greenshot_2011-11-25_12-45-14.png
Greenshot_2011-11-25_12-45-14.png (191.08 KiB) Viewed 12796 times
mi ruta
hmgide_2011-11-25_23-13-35.png
hmgide_2011-11-25_23-13-35.png (89.44 KiB) Viewed 12794 times
Last edited by danielmaximiliano on Sat Nov 26, 2011 2:16 am, edited 1 time in total.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: HMG.4 IDE TEST 2011.11.25

Post by jairpinho »

installed the new version and compiled hmg.4.bin.win.2011.11.23.exe
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: HMG.4 IDE TEST 2011.11.25

Post by jairpinho »

when you add a frame after other objects do not work the same examples of the Appendix
Attachments
sample.zip
(1.64 MiB) Downloaded 747 times
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: HMG.4 IDE TEST 2011.11.25

Post by jairpinho »

There is a problem with radiogroup frame around
Attachments
radiogroup.jpg
radiogroup.jpg (209.13 KiB) Viewed 12790 times
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
danielmaximiliano
Posts: 2646
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG.4 IDE TEST 2011.11.25

Post by danielmaximiliano »

jairpinho wrote:when you add a frame after other objects do not work the same examples of the Appendix
intenta cambiar el orden de los controles
Greenshot_2011-11-25_23-47-17.png
Greenshot_2011-11-25_23-47-17.png (195.81 KiB) Viewed 12789 times
despues compila ok
Greenshot_2011-11-25_23-46-38.png
Greenshot_2011-11-25_23-46-38.png (164.29 KiB) Viewed 12789 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
danielmaximiliano
Posts: 2646
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG.4 IDE TEST 2011.11.25

Post by danielmaximiliano »

Roberto Lopez wrote:Hi All,

An updated IDE.4 test release.

It requires that you replace the current buildapp.bat with the following:

Code: Select all

@echo off

REM
REM $Id$
REM

IF DEFINED HMGPATH GOTO HmgPathDefined

SET HMGPATH=c:\hmg.4
SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\harbour\comp\mingw\bin;%PATH%
SET HB_WITH_QT=%HMGPATH%\harbour\include

:HmgPathDefined

if "%1"=="/3" goto compatible

HBMK2 %1 %2 %3 %4 %5 %6 %7 %8 -w3 -es2

goto end

:compatible

shift

HBMK2 %1 %2 %3 %4 %5 %6 %7 %8 -q -DHMG3 -i. -run >build.log 2>&1

IF ERRORLEVEL 1 NOTEPAD build.log

:end
Enjoy!
Hola Roberto:
Usando Build.bat desde la carpeta de /samples/progressbar el mismo compila perfectamente los ejemplos 1 y 3, pero el ejemplo sample_2.prg no compila dado que tiene varios "Warning".
hbmk2: Processing local make script: hbmk.hbm
Harbour 3.1.0dev (Rev. 17111)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'C:\hmg.4\svn\samples\progressbar\demo_2.prg'...
C:\hmg.4\svn\samples\progressbar\demo_2.prg(83) Warning W0003 Variable 'OPROGRESSBAR1' declared but not used in function 'MAIN(16)'
C:\hmg.4\svn\samples\progressbar\demo_2.prg(83) Warning W0003 Variable 'OPROGRESSBAR2' declared but not used in function 'MAIN(17)'
C:\hmg.4\svn\samples\progressbar\demo_2.prg(83) Warning W0003 Variable 'OPROGRESSBAR3' declared but not used in function 'MAIN(18)'
C:\hmg.4\svn\samples\progressbar\demo_2.prg(83) Warning W0003 Variable 'OPROGRESSBAR4' declared but not used in function 'MAIN(19)'
C:\hmg.4\svn\samples\progressbar\demo_2.prg(83) Warning W0003 Variable 'OPROGRESSBAR5' declared but not used in function 'MAIN(20)'
C:\hmg.4\svn\samples\progressbar\demo_2.prg(83) Warning W0003 Variable 'OBUTTON1' declared but not used in function 'MAIN(21)'

No code generated.
hbmk2: Error: Running Harbour compiler (embedded). 1
(c:\hmg.4\harbour\bin\harbour.exe) -n2 C:\hmg.4\svn\samples\progressbar\demo_2.prg -w3 -es2 -oC:\Temp\hbmk_gmjo2d.dir\ -ic:\hmg.4\harbour\include -i..\..\include -ic:\hmg.4\harbour\contrib\hbqt\qtcore -ic:\hmg.4\harbour\contrib\hbqt -ic:\hmg.4\harbour\contrib\hbqt\qtgui -ic:\hmg.4\harbour\contrib\hbqt\qtnetwork -ic:\hmg.4\harbour\contrib\hbqt\qtsql -ic:\hmg.4\harbour\contrib\hbqt\gtqtc -ic:\hmg.4\harbour\contrib\hbct -ic:\hmg.4\harbour\contrib\xhb -ic:\hmg.4\harbour\contrib\hbtip -ic:\hmg.4\harbour\contrib\hbwin -ic:\hmg.4\harbour\contrib\hbfship -ic:\hmg.4\harbour\contrib\hbxpp -ic:\hmg.4\harbour\contrib\gtwvg
dado que el manejo de ERRORLEVEL en Buildapp.bat es solamente en el modo compatibilidad, por eso no muestra cualquier tipo de error

Code: Select all

:compatible

shift

HBMK2 %1 %2 %3 %4 %5 %6 %7 %8 -q -DHMG3 -i. -run >build.log 2>&1

IF ERRORLEVEL 1 NOTEPAD build.log
decidi modificar el mismo para adaptar cualquier tipo de ERRORLEVEL distinto de 0.

Code: Select all

@echo off

REM
REM $Id: buildapp.bat 831 2011-11-28 21:56:32Z roblez $
REM

IF DEFINED HMGPATH GOTO HmgPathDefined

SET HMGPATH=c:\hmg.4
SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\harbour\comp\mingw\bin;%PATH%
SET HB_WITH_QT=%HMGPATH%\harbour\include

:HmgPathDefined

if "%1"=="/3" goto compatible

HBMK2 %1 %2 %3 %4 %5 %6 %7 %8 -w3 -es2  >build.log 2>&1

IF %ERRORLEVEL% LSS 1 goto end 

START NOTEPAD build.log

exit

:compatible

shift

HBMK2 %1 %2 %3 %4 %5 %6 %7 %8 -q -DHMG3 -i.  >build.log 2>&1


IF %ERRORLEVEL% LSS 1 goto end 


START NOTEPAD build.log

exit

:end
Se podria considerar este formato o alguna mejora del mismo?
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG.4 IDE TEST 2011.11.25

Post by Roberto Lopez »

danielmaximiliano wrote: Hola Roberto:
Usando Build.bat desde la carpeta de /samples/progressbar el mismo compila perfectamente los ejemplos 1 y 3, pero el ejemplo sample_2.prg no compila dado que tiene varios "Warning".
Esos problemas de compatibilidad no están relacionados con el IDE.

Ha habido muchos cambios en la librería que han dejado sin funcionar a muchos ejemplos que deben ser revisados.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
danielmaximiliano
Posts: 2646
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG.4 IDE TEST 2011.11.25

Post by danielmaximiliano »

Roberto Lopez wrote: Esos problemas de compatibilidad no están relacionados con el IDE.

Ha habido muchos cambios en la librería que han dejado sin funcionar a muchos ejemplos que deben ser revisados.
codigo


No logre explicarme bien Roberto.
HBMK2 no compila debido a "Warning" en el codigo escrito a menos que uno lo indique en los parametros pasados.
-[no]ignore ignore errors when running compiler tools (default: off)
es posible que buildapp.bat genere tambien un Buil.log con los errores asociados no solo en el modo compatibilidad ?

Code: Select all

@echo off

REM
REM $Id: buildapp.bat 831 2011-11-28 21:56:32Z roblez $
REM

IF DEFINED HMGPATH GOTO HmgPathDefined

SET HMGPATH=c:\hmg.4
SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\harbour\comp\mingw\bin;%PATH%
SET HB_WITH_QT=%HMGPATH%\harbour\include

:HmgPathDefined

if "%1"=="/3" goto compatible

HBMK2 %1 %2 %3 %4 %5 %6 %7 %8 -w3 -es2  >build.log 2>&1

goto end

:compatible

shift

HBMK2 %1 %2 %3 %4 %5 %6 %7 %8 -q -DHMG3 -i.  >build.log 2>&1


:end

IF %ERRORLEVEL% lss 1 exit

START NOTEPAD build.log

exit
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply