HMG-IDE 3.0.0 (Forum test VI)

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

Moderator: Rathinagiri

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

HMG-IDE 3.0.0 (Forum test VI)

Post by Roberto Lopez »

Hi All,

Here is ide 3.0.0 forum test VI.

It requires HMG 3.0.0 forum test VI.

The only change is that it is compatible with HMG 3 :)

IDE_30_TEST_06_A.RAR (INCLUDE BUILD.BAT PATCH)

Enjoy!
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: HMG-IDE 3.0.0 (Forum test VI)

Post by Vanguarda »

WOW

Thank once again master.

with best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: HMG-IDE 3.0.0 (Forum test VI)

Post by Vanguarda »

Hello Master,

Sorry, but i dont be able for compile my project using this version of HMG-IDE.

When i click on compile button, show me a window "building" and it is closed. And my resource file not opened in this IDE.

Where i miss?

with best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG-IDE 3.0.0 (Forum test VI)

Post by Rathinagiri »

I am sure it is 'Diwali' gift. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG-IDE 3.0.0 (Forum test VI)

Post by mol »

I've tried to recompile my project with version 3.0 (hmg & ide).
I've reset incremental data, deleted manually all *.o files, but compiler didn't start.
I can see "BUILD" window for a while and nothing else happens.
What's going on?

Marek
arroya2
Posts: 172
Joined: Thu Aug 06, 2009 7:16 am

Re: HMG-IDE 3.0.0 (Forum test VI)

Post by arroya2 »

Maestro te lo estás currando (expresión andaluza que quiere decir "trabajando" y que le da más dramatismo).

Es una maravilla lo que está haciendo.

Saludos
Rafael Pérez
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG-IDE 3.0.0 (Forum test VI)

Post by Roberto Lopez »

mol wrote:I've tried to recompile my project with version 3.0 (hmg & ide).
I've reset incremental data, deleted manually all *.o files, but compiler didn't start.
I can see "BUILD" window for a while and nothing else happens.
What's going on?

Marek
I've forgot something....

Please, replace \hmg\batch\build.bat with the following and re-test:

Code: Select all

@echo off

rem ***************************************************************************
rem HMG 3.0 Build batch 
rem Roberto Lopez (2009.10.16)
rem Syntax:
rem
rem	Build [/i|/r|/d|/cs|/ci/cr] <PrgFile> | <filelist.hbp> [config.hbc]
rem	
rem	[/i] : incremental build
rem	[/r] : incremental build (rebuild all)
rem
rem	[/cs] : Console/mixed mode (std build)
rem	[/ci] : Console/mixed mode (incremental build)
rem	[/cr] : Console/mixed mode (incremental rebuild all)
rem
rem	[/d] : Debug mode (gui and console)
rem	
rem
rem	<filelist.hbm> : A text file with .hbp extension containing a source list
rem	<configfile.hbc>: A text file with configuration parameters as additional
rem	libs, include paths and lib paths.
rem 
rem		<configfile.hbc> Syntax:
rem 
rem		incpaths = incpath1 incpath2 ... incpathn
rem                   
rem		libpaths = libpath1 libpath2 ... libpathn
rem 
rem		libs = lib1 lib2 ... libn
rem
rem	- library names must not include 'lib' prefix nor '.a' extension.
rem
rem	- build.bat will create an 'error.log' file in the app folder when build
rem	process ends with an error condition.
rem
rem
rem ***************************************************************************

cls

echo building...

if exist hbmk.log del hbmk.log
if exist hbmk.so.log del hbmk.so.log
if exist windres.log del windres.log
if exist error.log del error.log

rem ***************************************************************************
rem Set variables
rem ***************************************************************************

Set Path=c:\hmg\util;c:\hmg\mingw\bin;c:\hmg\harbour\bin;%PATH%
if "%Resources%"==""  Set Resources=c:\hmg\resources\minigui.o
if "%HmgPath%" =="" Set HmgPath=c:\hmg

set GT=-gtgui
set DEBUG=""
set BUILDTYPE=""
set REBUILDALL=""
set RUN=.T.

rem ---------------------------------------------------------------------------
rem Parameters Processing
rem ---------------------------------------------------------------------------

rem ***************************************************************************
rem No run after build
rem ***************************************************************************

if "%1"=="/n" goto norun
if "%1"=="/N" goto norun

:continue0

rem ***************************************************************************
rem Console Incremental Rebuild
rem ***************************************************************************

if "%1"=="/cr" goto consoleincrebuild
if "%1"=="/CR" goto consoleincrebuild

rem ***************************************************************************
rem Console Incremental
rem ***************************************************************************

if "%1"=="/ci" goto consoleincremental
if "%1"=="/CI" goto consoleincremental

rem ***************************************************************************
rem GUI Incremental Rebuild
rem ***************************************************************************

if "%1"=="/r" goto increbuild
if "%1"=="/R" goto increbuild

rem ***************************************************************************
rem Console Standard Build
rem ***************************************************************************

if "%1"=="/cs" goto console
if "%1"=="/CS" goto console

rem ***************************************************************************
rem If debug mode specified, use GTWIN and pass -b parameter
rem ***************************************************************************

if "%1"=="/d" goto debug
if "%1"=="/D" goto debug

rem ***************************************************************************
rem If /i parameter rceived set BUILDTYPE to incremental
rem ***************************************************************************

if "%1"=="/i" goto incremental
if "%1"=="/I" goto incremental

rem ***************************************************************************
rem If /i parameter rceived set BUILDTYPE to incremental
rem ***************************************************************************

if "%1"=="/i" goto incremental
if "%1"=="/I" goto incremental

:continue

if exist %~n1.exe del %~n1.exe

if exist %~n1.exe goto error

rem ***************************************************************************
rem If a resource with the same base name as the first parameter exist compile it
rem ***************************************************************************

if exist %~n1.rc copy /b %HmgPath%\resources\minigui.rc+%~n1.rc+%HmgPath%\resources\filler _temp.rc >NUL
if exist %~n1.rc redir -e windres.log windres -i _temp.rc -o _temp.o 
if exist %~n1.rc Set Resources=_temp.o

rem ***************************************************************************
rem invoke HBMK2
rem ***************************************************************************

redir -eo  hbmk2 -nohbc -o%~n1.exe %GT% %DEBUG% -head=real %BUILDTYPE% %REBUILDALL% -incpath=%HmgPath%\include -incpath=%CD% -L%HmgPath%\lib -lminigui -lhbmysql -lmysql -lcrypt -ledit -leditex -lgraph -lini -lreport -lhbwin -lhbziparc -lhbmzip -lmsvfw32 -lvfw32 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbvpdf -lhbmemio -lhbsqlit3 -lsqlite3 -lhbfimage.a -lhbpgsql -lpq -prgflag=/q %1 %2 %3 %4 %5 %6 %7 %8 %9 %Resources%  >hbmk.log

goto end

rem ***************************************************************************
rem Procedure increbuild
rem ***************************************************************************

:increbuild

set BUILDTYPE=-inc
set REBUILDALL=-rebuild

shift

goto continue

rem ***************************************************************************
rem Procedure Console
rem ***************************************************************************

:console

set GT=-gtwin

shift

goto continue

rem ***************************************************************************
rem Procedure Debug
rem ***************************************************************************

:debug

set GT=-gtwin
set DEBUG=-b

echo Options NoRunAtStartup > Init.cld

shift

goto continue

rem ***************************************************************************
rem Procedure Incremental
rem ***************************************************************************

:Incremental

set BUILDTYPE=-inc

shift
goto continue

rem ***************************************************************************
rem Procedure IncConsole
rem ***************************************************************************

:consoleincremental

set BUILDTYPE=-inc
set GT=-gtwin

shift

goto continue

rem ***************************************************************************
rem Procedure IncConsole
rem ***************************************************************************

:consoleincrebuild

set BUILDTYPE=-inc
set GT=-gtwin
set REBUILDALL=-rebuild

shift

goto continue

rem ***************************************************************************
rem Procedure NoRun
rem ***************************************************************************

:norun

set RUN=.F.

shift

goto continue0

rem ***************************************************************************
rem Procedure Error
rem ***************************************************************************

:error

echo Can't delete previous %~n1.exe version (still running?) > error.log

goto showlog

:end

rem ***************************************************************************
rem Cleanup
rem ***************************************************************************

rem If build error, create 'error.log' ----------------------------------------

if errorlevel 1 if exist windres.log copy /b windres.log+hbmk.log error.log >nul

if errorlevel 1 if not exist windres.log copy /b hbmk.log error.log >nul

rem If no error run the exe ---------------------------------------------------

if "%RUN%"==".T." if not errorlevel 1 if exist %~n1.exe %~n1.exe

rem Delete temporary files ----------------------------------------------------

if exist windres.log del windres.log
if exist hbmk.log del hbmk.log
if exist hbmk.so.log del hbmk.so.log

if exist _temp.rc del _temp.rc

if exist _temp.o  del _temp.o

rem if exist delete debugger file ---------------------------------------------

if exist init.cld del init.cld

:showlog

if exist error.log type error.log

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG-IDE 3.0.0 (Forum test VI)

Post by Roberto Lopez »

Vanguarda wrote:Hello Master,

Sorry, but i dont be able for compile my project using this version of HMG-IDE.

When i click on compile button, show me a window "building" and it is closed. And my resource file not opened in this IDE.

Where i miss?

with best regards,
Please, replace build.bat with the one included in the previous message and re-test.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG-IDE 3.0.0 (Forum test VI)

Post by Roberto Lopez »

Vanguarda wrote:Hello Master,

Sorry, but i dont be able for compile my project using this version of HMG-IDE.

When i click on compile button, show me a window "building" and it is closed. And my resource file not opened in this IDE.

Where i miss?

with best regards,
Apparently, resource compiler in MingW 4 is working different.

Some resource names are not accepted now, ie: BUTTON resource from resource demo causes an error.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply