Page 5 of 8

Re: HMG 3.0.40 ( Re-building lib )

Posted: Thu Dec 29, 2011 2:02 pm
by danielmaximiliano
esgici wrote:Hi All

I can't re-build HMG lib via buildlib.bat :(

C:\hmg>buildlib
Harbour 3.1.0dev (Rev. 17111)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'source\ErrorSys.prg'...
source\ErrorSys.prg(48) Error F0029 Can't open #include file 'hmg.ch'
hbmk2: Error: Running Harbour compiler (embedded). 1
(C:\hmg\harbour\bin\harbour.exe) -n2 source\ErrorSys.prg source\h_browse.prg sou
rce\h_button.prg source\h_checkbox.prg source\h_combo.prg source\h_controlmisc.prg
...
\ -iC:\hmg\harbour\include


In fact I need no re-build HMG, but my own lib; attempting re-build HMG was for learning new way to build a lib.

Any help will be appreciated.

Regards

--

Esgici
Hi Esgici:
your installation is in c:\hmg??
I see the end of the error refers to the route:
-iC:\hmg\HARBOUR\include

Re: HMG 3.0.40 ( Re-building lib )

Posted: Thu Dec 29, 2011 2:25 pm
by esgici
danielmaximiliano wrote: your installation is in c:\hmg??
Yes; is this causing any problem ?

Saludos

--

Esgici

Re: HMG 3.0.40

Posted: Wed Jan 04, 2012 7:13 pm
by mol
Can sb. check if incremental linking is working with HMG IDE 3.0.40?

My project has grown up and compilation time is too long for my patience... :lol:

Re: HMG 3.0.40

Posted: Thu Jan 05, 2012 12:01 pm
by esgici
Hi Marek
mol wrote:Can sb. check if incremental linking is working with HMG IDE 3.0.40?

My project has grown up and compilation time is too long for my patience... :lol:
Did you tried inc=yes in your conf ( conf tab of IDE or file .hbc ) ?

I guess inc means incremental (building) and default is no.

Please share the result.

--

Esgici

Re: HMG 3.0.40

Posted: Thu Jan 05, 2012 1:10 pm
by mol
esgici wrote:Hi Marek
mol wrote:Can sb. check if incremental linking is working with HMG IDE 3.0.40?

My project has grown up and compilation time is too long for my patience... :lol:
Did you tried inc=yes in your conf ( conf tab of IDE or file .hbc ) ?

I guess inc means incremental (building) and default is no.

Please share the result.

--

Esgici
Really works!
How stupid am I? :lol: :lol: :lol:
I've didn'd combined it.

Thanks Esgici!
Best regards, Marek

Re: HMG 3.0.40

Posted: Thu Jan 05, 2012 2:45 pm
by esgici
Hi Marek

I'm glad that it work and thanks to sharing the result :)

IMHO it will be better if default value is "Yes" ;)

Regards

--

Esgici

Re: HMG 3.0.40

Posted: Thu Jan 05, 2012 4:23 pm
by mol
esgici wrote:Hi Marek

I'm glad that it work and thanks to sharing the result :)

IMHO it will be better if default value is "Yes" ;)

Regards

--

Esgici
I agree with you...
Difference is great. Without incremental compilation, building my project takes about 90s, wiyth incremenetal ca 5 sec. It especially matters when some errors occurs and you need compile project few times one by one.

HMG 3.0.40

Posted: Thu Jan 05, 2012 5:48 pm
by Pablo César
I am having troubles with GetStartUpFolder() which it should returns cStartUpFolderPath, right ? So it is returning a current folder path. Am I doing something wrong or it is a bug of this version ?

Re: HMG 3.0.40

Posted: Thu Jan 05, 2012 6:18 pm
by esgici
Hi Marek
mol wrote:... and you need compile project few times one by one.
Moreover we have a Reset Project Incremental Data option in the project menu.
By this way we can do a non-incremental build whenever we need, even was set inc=yes.

Regards

--

Esgici

Re: HMG 3.0.40

Posted: Thu Jan 05, 2012 6:23 pm
by esgici
Hola Pablo, how are you ?
Pablo César wrote:I am having troubles with GetStartUpFolder() which it should returns cStartUpFolderPath, right ? So it is returning a current folder path. Am I doing something wrong or it is a bug of this version ?
Regarding HMG doc, the GetStartUpFolder() function Returns The Application Startup Folder Path.

I guess that your expectation is different; what StartUp your matter ?

Saludos

--

Esgici