Page 1 of 1

HMG.4 New Windows Binaries+Source Release (2011.11.23)

Posted: Wed Nov 23, 2011 6:27 am
by Rathinagiri
Hi All,

Updated Windows binaries along with HMG4 compatible HMG-IDE contributed by Roberto Lopez and the latest svn update.

https://sourceforge.net/projects/hmg/fi ... urce=files

I request you to test the build and report the problems you encounter.

Thank you.

Re: HMG.4 New Windows Binaries+Source Release (2011.11.23)

Posted: Wed Nov 23, 2011 8:08 am
by esgici
Thanks a lot Rathi :)

Regards

--

Esgici

Re: HMG.4 New Windows Binaries+Source Release (2011.11.23)

Posted: Wed Nov 23, 2011 9:37 am
by mol
I've tried to use new IDE and new hmg.4 to compile two of my huge projects.

the problem is a lot of errors, but I can''t see anything, because results of compilation dissappear from screen, you can not scroll result window.
It's unusable in this form :?
137 errors? from where?
How to find first of them?
Image

Re: HMG.4 New Windows Binaries+Source Release (2011.11.23)

Posted: Wed Nov 23, 2011 10:01 am
by mrduck
mol wrote:I've tried to use new IDE and new hmg.4 to compile two of my huge projects.
Can you please send akord.prg to me, please ?

Francesco

Re: HMG.4 New Windows Binaries+Source Release (2011.11.23)

Posted: Wed Nov 23, 2011 12:10 pm
by Roberto Lopez
mol wrote:I've tried to use new IDE and new hmg.4 to compile two of my huge projects.

the problem is a lot of errors, but I can''t see anything, because results of compilation dissappear from screen, you can not scroll result window.
It's unusable in this form :?
137 errors? from where?
How to find first of them?
I've published it for basic compatibility testing only.

It is (obviously) not ready for production. A lot of work must be done.

Despite that, you can easily solve your problem, simply redirecting the hbmk2 output to a file.

You can learn how to do that in HMG 3.x build.bat file.

If you achieve it, please post your modified buildapp.bat since it will be very useful for other users.

TIA!

Re: HMG.4 New Windows Binaries+Source Release (2011.11.23)

Posted: Wed Nov 23, 2011 12:47 pm
by mol
mrduck wrote:
mol wrote:I've tried to use new IDE and new hmg.4 to compile two of my huge projects.
Can you please send akord.prg to me, please ?

Francesco
Akord.prg is only one piece of code. You can downoload it from http://www.molsystemy.pl/kern/akord.prg

Re: HMG.4 New Windows Binaries+Source Release (2011.11.23)

Posted: Wed Nov 23, 2011 1:01 pm
by mol
Roberto Lopez wrote:
I've published it for basic compatibility testing only.

It is (obviously) not ready for production. A lot of work must be done.

Despite that, you can easily solve your problem, simply redirecting the hbmk2 output to a file.

You can learn how to do that in HMG 3.x build.bat file.

If you achieve it, please post your modified buildapp.bat since it will be very useful for other users.

TIA!
I've tried to modify buildapp.bat:

Code: Select all

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

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

...
but, it doesn't produce any log file.
Sorry, I don't know how to do it, now...

Re: HMG.4 New Windows Binaries+Source Release (2011.11.23)

Posted: Wed Nov 23, 2011 2:01 pm
by Roberto Lopez
mol wrote:
Roberto Lopez wrote:
I've published it for basic compatibility testing only.

It is (obviously) not ready for production. A lot of work must be done.

Despite that, you can easily solve your problem, simply redirecting the hbmk2 output to a file.

You can learn how to do that in HMG 3.x build.bat file.

If you achieve it, please post your modified buildapp.bat since it will be very useful for other users.

TIA!
I've tried to modify buildapp.bat:

Code: Select all

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

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

...
but, it doesn't produce any log file.
Sorry, I don't know how to do it, now...
Please, look at build.bat (hbmk2 line) in (ie) 3.0.35 binaries.

It requires a little utility called redir (included in the distribution, UTIL folder).

Re: HMG.4 New Windows Binaries+Source Release (2011.11.23)

Posted: Wed Nov 23, 2011 2:40 pm
by Roberto Lopez
mol wrote: but, it doesn't produce any log file.
Sorry, I don't know how to do it, now...
Something like that:

Code: Select all

redir -eo  hbmk2 ...desired hbmk2 parameters...  >build.log
And to read comfortably the results you could add the following:

Code: Select all

notepad build.log
Pretty easy :)

Re: HMG.4 New Windows Binaries+Source Release (2011.11.23)

Posted: Wed Nov 23, 2011 3:58 pm
by mrduck
mol wrote:I've tried to use new IDE and new hmg.4 to compile two of my huge projects.
The errors you see are from lines like these:

Code: Select all

OkGl_Akord.L201Zad.VALUE := str(aAktyw[1]/465,5,2)
These kind of lines should be converted by a rule in hmg3.ch, using a compile-time xcommand definition based on window name. It seems to work when it is used to extract a value... perhaps I simplified hmg3.ch too much... and I don't know the results of the #IFs so I can't see if other lines give errors.


To see what happens, please add to hbmk2 line in buildapp

Code: Select all

-prgflag=-p -prgflag=-p+
This will create .ppo and .ppt files during compilation. Please send me akord.ppt, akord.ppo AND OKGl_Akord so that I can simulate what happens.