Page 6 of 7

Re: HMG 3.0.41

Posted: Tue Jun 05, 2012 6:52 am
by Rathinagiri
I am testing with the latest Harbour build. I will come out ASAP.

Re: HMG 3.0.41

Posted: Tue Jun 05, 2012 8:27 am
by mol
thx!

Re: HMG 3.0.41

Posted: Tue Jun 05, 2012 9:58 am
by esgici
rathinagiri wrote:I am testing with the latest Harbour build. I will come out ASAP.
Good news, thanks :)

Regards

--

Esgici

Re: HMG 3.0.41

Posted: Tue Jun 05, 2012 4:19 pm
by IMATECH
Hello Rathi...


One more adjust needed on file: \HMG_ver_x\Include\i_controlmisc.ch

Include this source FROM line: 48

Code: Select all


MEMVAR _HMG_lMultiple
MEMVAR _ShowContextMenus


Before adjust: i_controlmisc.ch

Code: Select all


#define IDC_ARROW	32512
#define IDC_IBEAM	32513
#define IDC_WAIT	32514
#define IDC_CROSS	32515
#define IDC_UPARROW	32516
#define IDC_SIZENWSE	32642
#define IDC_SIZENESW	32643
#define IDC_SIZEWE	32644
#define IDC_SIZENS	32645
#define IDC_SIZEALL	32646
#define IDC_NO	32648
#define IDC_APPSTARTING	32650
#define IDC_HELP	32651


Result After adjust: i_controlmisc.ch

Code: Select all


MEMVAR _HMG_lMultiple
MEMVAR _ShowContextMenus

#define IDC_ARROW	32512
#define IDC_IBEAM	32513
#define IDC_WAIT	32514
#define IDC_CROSS	32515
#define IDC_UPARROW	32516
#define IDC_SIZENWSE	32642
#define IDC_SIZENESW	32643
#define IDC_SIZEWE	32644
#define IDC_SIZENS	32645
#define IDC_SIZEALL	32646
#define IDC_NO	32648
#define IDC_APPSTARTING	32650
#define IDC_HELP	32651



...

Code: Select all


IMHO, source optimization helps a lot but modifying an existing project by the users will be cumbersome. I think while compiling our projects we can change the warning level appropriately. Right?

IMHO 2: Yes: Users who want to use warnings to optimize code just need to set this when desired ...





Best Regards...

Re: HMG 3.0.41 Problems with linker

Posted: Sat Jun 16, 2012 1:22 pm
by hkrasser
Hello!
Thank you very much for your hard work!

In HMG 3.0.41 I have a problem with linking ( the same as in HMG 3.0.40).
Although I dont use any of these functions, there are always undefined references:
--------------------------------------------------------
Harbour 3.1.0dev (Rev. 17406)
Copyright (c) 1999-2012, http://harbour-project.org/
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x188): undefined reference to `HB_FUN_PDFINIT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1a8): undefined reference to `HB_FUN_PDFOPEN'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x2d8): undefined reference to `HB_FUN_PDFNEWPAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x388): undefined reference to `HB_FUN_PDFCLOSE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x458): undefined reference to `HB_FUN_PDFSETFONT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x468): undefined reference to `HB_FUN_PDFATSAY'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x478): undefined reference to `HB_FUN_PDFTEXTWIDTH'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4a8): undefined reference to `HB_FUN_PDFIMAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4c8): undefined reference to `HB_FUN_PDFBOX'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/DOKUME~1/DOKTOR~1.000/LOKALE~1/Temp/hbmk_0k0emp.dir/hermes.o C:/DOKUME~1/DOKTOR~1.000/LOKALE~1/Temp/hbmk_0k0emp.dir/hbmk_ccyvm1.o D:/H_Work/Hermes/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lhfcl -lini -lreport -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oHermes.exe -LC:/hmg.3.0.41/harbour/lib/win/mingw -LC:/hmg.3.0.41/harbour/bin -LC:/hmg.3.0.41/lib
Harbour 3.1.0dev (Rev. 17406)
Copyright (c) 1999-2012, http://harbour-project.org/
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x188): undefined reference to `HB_FUN_PDFINIT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1a8): undefined reference to `HB_FUN_PDFOPEN'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x2d8): undefined reference to `HB_FUN_PDFNEWPAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x388): undefined reference to `HB_FUN_PDFCLOSE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x458): undefined reference to `HB_FUN_PDFSETFONT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x468): undefined reference to `HB_FUN_PDFATSAY'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x478): undefined reference to `HB_FUN_PDFTEXTWIDTH'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4a8): undefined reference to `HB_FUN_PDFIMAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4c8): undefined reference to `HB_FUN_PDFBOX'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/DOKUME~1/DOKTOR~1.000/LOKALE~1/Temp/hbmk_0k0emp.dir/hermes.o C:/DOKUME~1/DOKTOR~1.000/LOKALE~1/Temp/hbmk_0k0emp.dir/hbmk_ccyvm1.o D:/H_Work/Hermes/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lhfcl -lini -lreport -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oHermes.exe -LC:/hmg.3.0.41/harbour/lib/win/mingw -LC:/hmg.3.0.41/harbour/bin -LC:/hmg.3.0.41/lib
-----------------------------------------------------------------------------------------------------

Re: HMG 3.0.41

Posted: Sat Jun 16, 2012 1:27 pm
by hkrasser
The same Project works fine in HMG 3.0.34 without any undefined references!!

Re: HMG 3.0.41

Posted: Sat Jun 16, 2012 8:48 pm
by danielmaximiliano
Hi
a question, i_rptgen.ch included in the project or within their Main.prg??? 44

but mount a small example that uses the functions.


Post data : creates a new post about the problems that occur on your installation hmg.3.0.41

Re: HMG 3.0.41

Posted: Sun Jun 17, 2012 7:31 am
by hkrasser
Dear danielmaximiliano!

Thank You for interesting.
I did NOT include i_rptgen.ch. But even after including there are the same undefined references.

I am using reports ( see Posting.zip - unfortunately the errors do not appear in little samples like C:\hmg.3.0.41\SAMPLES\REPORT.BASIC.1)

Re: HMG 3.0.41

Posted: Mon Jun 18, 2012 4:52 pm
by marco_malac
Hello Dear All,
I'm having exactly the same experience that our friend krasser.

Marco Malac

Re: HMG 3.0.41 Problems with linker

Posted: Mon Jun 18, 2012 6:46 pm
by danielmaximiliano
hkrasser wrote:Hello!
Thank you very much for your hard work!

In HMG 3.0.41 I have a problem with linking ( the same as in HMG 3.0.40).
Although I dont use any of these functions, there are always undefined references:
--------------------------------------------------------
Harbour 3.1.0dev (Rev. 17406)
Copyright (c) 1999-2012, http://harbour-project.org/
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x188): undefined reference to `HB_FUN_PDFINIT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1a8): undefined reference to `HB_FUN_PDFOPEN'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x2d8): undefined reference to `HB_FUN_PDFNEWPAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x388): undefined reference to `HB_FUN_PDFCLOSE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x458): undefined reference to `HB_FUN_PDFSETFONT'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x468): undefined reference to `HB_FUN_PDFATSAY'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x478): undefined reference to `HB_FUN_PDFTEXTWIDTH'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4a8): undefined reference to `HB_FUN_PDFIMAGE'
C:/hmg.3.0.41/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4c8): undefined reference to `HB_FUN_PDFBOX'
Hi all:
the error is generated because the library needed HBVPDF found in the installation of 3.2 Nightly Harbour, already compiled library copy that found in the zip file to the folder
C:\hmg.3.0.41\MINGW\lib
and "hbvpdf.ch" their respective folders
C:\hmg.3.0.41\INCLUDE

the library is in its installation Harbour
hbvpdf.rar
Library HBVPDF
(240.06 KiB) Downloaded 445 times
c:\hb32\examples\hbvpdf

sorry for not responding faster, only have to resolve errors in typography / fonts Textbox controls

Hola a todos:
el error que se genera porque falta la libreria HBVPDF que se encuentra en la instalacion de Harbour 3.2 Nightly, copiar dicha libreria ya compilada que se encuentra en el archivo rar
C:\hmg.3.0.41\MINGW\lib
y "hbvpdf.ch" a su respectiva carpeta
C:\hmg.3.0.41\INCLUDE
perdón por no responder mas rapido