New Report Advanced

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
jouhmg
Posts: 26
Joined: Thu Jul 31, 2008 3:22 am

New Report Advanced

Post by jouhmg »

English by Google
**************

Hi:

Joined a new application Advanced Report.

Compiler said to me:

"Undefined reference to HB_FUN_PDFINIT"
"Undefined reference to HB_FUN_PDFOPEN"
"Undefined reference to HB_FUN...
...
File (h_rptgen.c ):h_rptgen.c

Obviously I'm missing something
What is it? (PDF Functions)

TIA
jouhmg
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: New Report Advanced

Post by Rathinagiri »

Which version of HMG are you using? Can you post the sample.prg?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
jouhmg
Posts: 26
Joined: Thu Jul 31, 2008 3:22 am

Re: New Report Advanced

Post by jouhmg »

English by Google
*************
Hi:

Using HMG 2.9.3

Examples of Advanced Report function well.

Now, when incorporated into an application I get the error as if the missing file h_rptgen.c

The test is:

#include "minigui.ch"
Procedure Report
Use Test
LOAD REPORT Test
EXECUTE REPORT Test PREVIEW SELECTPRINTER
Use
Return

Regards
jouhmg
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: New Report Advanced

Post by sudip »

Hello jouhmg,

I just tested Demo2.prg within C:\HMG\samples\REPORT.ADVANCED folder.

It runs Ok. :)

If possible, please rename your HMG folder to another folder (eg, HMG_Old) and Re install HMG. Then try to compile. :)

With best regards.

Sudip
With best regards,
Sudip
jouhmg
Posts: 26
Joined: Thu Jul 31, 2008 3:22 am

Re: New Report Advanced

Post by jouhmg »

English by Google
*************

Hello sudip:

I did as recommended but still the error.

It may be that the package of HMG h_rptgen.c file is missing?

In the folder C:\HMG\Source file is h_rptgen.prg but not the file h_rptgen.c
This is correct?

Regards
jouhmg
User avatar
gfilatov
Posts: 1114
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: New Report Advanced

Post by gfilatov »

jouhmg wrote:English by Google
*************
Hi:

Using HMG 2.9.3

Examples of Advanced Report function well.

Now, when incorporated into an application I get the error as if the missing file h_rptgen.c

...
Hi,

Try to add the library hbvpdf to your link script by command:
-lhbvpdf

I hope that helps. :idea:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
jouhmg
Posts: 26
Joined: Thu Jul 31, 2008 3:22 am

Re: New Report Advanced

Post by jouhmg »

English by Google
*************
Hello Grigory:

That was the solution. :)

QAC use version 4.11.16 and possibly this is not contemplating
the introduction of this library, which made me understand a
little more how this tool.

I confirmed with the author of QAC if so.

Thank you very much.

Regards
jouhmg
Post Reply