Page 1 of 5
Just upgraded to 3.0.38, but have problem...
Posted: Fri Jul 22, 2011 9:59 am
by James
Hello, everybody, how are you? I'm fine. I just get this message when I push Play in HMG.
Am I the only one with this problem?
Re: Just upgraded to 3.0.38, but have problem...
Posted: Fri Jul 22, 2011 1:23 pm
by Rathinagiri
Hi,
Sorry, it is my mistake.
Please delete hmg.ini in ide folder.
Re: Just upgraded to 3.0.38, but have problem...
Posted: Fri Jul 22, 2011 3:45 pm
by James
Thanks, Rathinagiri!

Re: Just upgraded to 3.0.38, but have problem...
Posted: Sun Jul 24, 2011 12:03 pm
by James
Hi, everybody, thanks for your help, I'm having another challenge with newly installed 3.0.38:
When I click here, nothing happens.
Also, I opened the SAMPLE\CONSOLE program, and it won't work, and I can't find the console setting:
Thanks for your help.

Re: Just upgraded to 3.0.38, but have problem...
Posted: Sun Jul 24, 2011 4:17 pm
by tave2009
Hello everyone.
I installed: HMG 3.0.38 from 0, and I have the same problem. I saw a post where you change the "build.bat", but does not fix the problem.
regard
Walter
Re: Just upgraded to 3.0.38, but have problem...
Posted: Sun Jul 24, 2011 5:34 pm
by Rathinagiri
Sorry, I will check and solve the problem.

Re: Just upgraded to 3.0.38, but have problem...
Posted: Sun Jul 24, 2011 8:04 pm
by mol
I've installed hmg.3.0.38 to my hmg 3.0.36 folder and everything seems to be OK.
I've rebuild my huge billing project, all test gone excellent till now.
Compilation time is longer than harbour 2.0

Re: Just upgraded to 3.0.38, but have problem...
Posted: Mon Jul 25, 2011 10:20 am
by mol
Something is wrong with reports, I suppose.
I think this problem is caused by missing library hbvpdf, which is placed in harbour\lib, but not included in linking process via IDE
While compiling one of my projests, where REPORT is used, I get an error:
Code: Select all
Harbour 3.0.0 (Rev. 16951)
Copyright (c) 1999-2011, http://harbour-project.org/
c:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1a8): undefined reference to `HB_FUN_PDFINIT'
c:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1c8): undefined reference to `HB_FUN_PDFOPEN'
c:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x2f8): undefined reference to `HB_FUN_PDFNEWPAGE'
c:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x3a8): undefined reference to `HB_FUN_PDFCLOSE'
c:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x478): undefined reference to `HB_FUN_PDFSETFONT'
c:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x488): undefined reference to `HB_FUN_PDFATSAY'
c:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x498): undefined reference to `HB_FUN_PDFTEXTWIDTH'
c:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4c8): undefined reference to `HB_FUN_PDFIMAGE'
c:/hmg/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4e8): undefined reference to `HB_FUN_PDFBOX'
I' ve copied this library to
\hmg\lib and I've added to configuration
libs=hbvpdf and linking is OK now.
Re: Just upgraded to 3.0.38, but have problem...
Posted: Mon Jul 25, 2011 10:37 am
by Rathinagiri
Hi Marek,
hbvpdf library is not included I think.
Try include these files in your project code or create a separate library.
Re: Just upgraded to 3.0.38, but have problem...
Posted: Mon Jul 25, 2011 10:44 am
by Rathinagiri
James wrote:Hi, everybody, thanks for your help, I'm having another challenge with newly installed 3.0.38:
When I click here, nothing happens.
This is because of editor.ini in IDE folder. Please delete or point your Notepad++ directory. Sorry for the inconvenience.
James wrote:
Also, I opened the SAMPLE\CONSOLE program, and it won't work, and I can't find the console setting:
Thanks for your help.

For console mode applications, please see the documentation for the recent note by Roberto. This is the extract:
In IDE, all build customizations must be handled by the user from 'Configuration' (project browser) tab. It is direct edit of the project .hbc file. Look at hbmk2 help for details. By default two gt drivers are ALWAYS linked: GTGUI (as default) and GTWIN (Windows console). To create console/mixed mode apps. you only must add this line to your main .prg: HB_GT_WIN_DEFAULT
When upgrading HMG, please, clean previous build data from your projects using incremental building. From command line, you must add the -clean parameter. From IDE, use the 'Reset project incremental data' option from the project menu.