SAMPLES\REPORT.ADVANCED.6\demo.prg en HMG 3.0.40

Moderator: Rathinagiri

Post Reply
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

SAMPLES\REPORT.ADVANCED.6\demo.prg en HMG 3.0.40

Post by fchirico »

SPANISH:
Este ejemplo dejó de funcionar en la versión HMG 3.0.40, debido que usa la librería \hmg.3.0.35\HARBOUR\lib\libhbvpdf.a y la versión HMG 3.0.40 no contiene dicha librería.

Muestro el mensaje de error si compilamos el programa:

ENGLISH:
This example stopped working in version 3.0.40 HMG, because it uses the library "\ hmg.3.0.35 \ HARBOUR \ lib \ libhbvpdf.a" and HMG 3.0.40 version does not contain that library.

Sampling error message when you compile the program:


Harbour 3.1.0dev (Rev. 17111)
Copyright (c) 1999-2011, http://harbour-project.org/
E:/hmg.3.0.40/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1a8): undefined reference to `HB_FUN_PDFINIT'
E:/hmg.3.0.40/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x1c8): undefined reference to `HB_FUN_PDFOPEN'
E:/hmg.3.0.40/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x2f8): undefined reference to `HB_FUN_PDFNEWPAGE'
E:/hmg.3.0.40/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x3a8): undefined reference to `HB_FUN_PDFCLOSE'
E:/hmg.3.0.40/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x478): undefined reference to `HB_FUN_PDFSETFONT'
E:/hmg.3.0.40/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x488): undefined reference to `HB_FUN_PDFATSAY'
E:/hmg.3.0.40/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x498): undefined reference to `HB_FUN_PDFTEXTWIDTH'
E:/hmg.3.0.40/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4c8): undefined reference to `HB_FUN_PDFIMAGE'
E:/hmg.3.0.40/lib/libhmg.a(h_rptgen.o):h_rptgen.c:(.data+0x4e8): undefined reference to `HB_FUN_PDFBOX'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/Users/Aborigen/AppData/Local/Temp/hbmk_zsbhsy.dir/demo.o C:/Users/Aborigen/AppData/Local/Temp/hbmk_zsbhsy.dir/hbmk_x8lvk6.o E:/hmg.3.0.40/SAMPLES/REPORT.ADVANCED.6/_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 -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 -odemo.exe -LE:/hmg.3.0.40/harbour/lib/win/mingw -LE:/hmg.3.0.40/harbour/bin -LE:/hmg.3.0.40/lib
Saludos, Fernando Chirico.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: SAMPLES\REPORT.ADVANCED.6\demo.prg en HMG 3.0.40

Post by Pablo César »

Hola Fernando, fijate este tópico: http://hmgforum.com/viewtopic.php?f=2&t=2075&start=10, tienes que copiar los siguientes archivos: hbvpdf.ch, hbvpdf.prg y
hbvpsup.prg que están en el subdirectorio SAMPLES\REPORT.ADVANCED e añadir en tu prg principal Set procedure to hbvpdf.prg y Set procedure to hbvpsup.prg.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: SAMPLES\REPORT.ADVANCED.6\demo.prg en HMG 3.0.40

Post by fchirico »

Gracias Pablo.

Sí, yo lo bine solucionando simplemente compilando con la librería de la HMG 3.0.35, pero quería ver si había sido reemplazada por otra.

Nuevamente gracias!
Saludos, Fernando Chirico.
Post Reply