Just upgraded to 3.0.38, but have problem...

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

James
Posts: 7
Joined: Sat Jul 16, 2011 4:05 pm

Just upgraded to 3.0.38, but have problem...

Post by James »

Hello, everybody, how are you? I'm fine. I just get this message when I push Play in HMG.

Image

Am I the only one with this problem?
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Just upgraded to 3.0.38, but have problem...

Post by Rathinagiri »

Hi,

Sorry, it is my mistake. :(

Please delete hmg.ini in ide folder.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
James
Posts: 7
Joined: Sat Jul 16, 2011 4:05 pm

Re: Just upgraded to 3.0.38, but have problem...

Post by James »

Thanks, Rathinagiri! :)
James
Posts: 7
Joined: Sat Jul 16, 2011 4:05 pm

Re: Just upgraded to 3.0.38, but have problem...

Post 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.

Image

Also, I opened the SAMPLE\CONSOLE program, and it won't work, and I can't find the console setting:

Image

Thanks for your help. :)
User avatar
tave2009
Posts: 61
Joined: Tue Jul 14, 2009 3:33 am
Location: San Francisco, Córdoba, Argentina.

Re: Just upgraded to 3.0.38, but have problem...

Post 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
Nada se pierde. Todo se transforma. (Lavoussier)
Nothing is lost. Everything changes.
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Just upgraded to 3.0.38, but have problem...

Post by Rathinagiri »

Sorry, I will check and solve the problem. :(
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Just upgraded to 3.0.38, but have problem...

Post 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 :(
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Just upgraded to 3.0.38, but have problem...

Post 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.
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Just upgraded to 3.0.38, but have problem...

Post by Rathinagiri »

Hi Marek,

hbvpdf library is not included I think. :(

Try include these files in your project code or create a separate library.
Attachments
hbvpdf.zip
(122.07 KiB) Downloaded 708 times
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Just upgraded to 3.0.38, but have problem...

Post 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.
Image
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:

Image

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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply