|
From: Antonio C. <anc...@gm...> - 2015-03-10 14:51:07
|
Acá pasa algo raro, con el ejemplo que mande en un post anterior y luego de
agregar las 2 librerías que me dijiste habia compilado correctamente, pero
cuando agregué otro formato que tenía para una Orden de Compra me salieron
otros errores. Este es el archivo con el formato para la Orden de Compra:
#include 'harupdf.ch'
/***/
Function Example()
local cPath,archivo,nPag
priva page,nheight,nwidth,def_font,def_font1,def_font2
cPath :=hb_dirbase()
archivo:="cotiza" +LTRIM( xnum ) +".pdf"
pdf:= HPDF_New()
HPDF_SetCompressionMode( pdf, HPDF_COMP_ALL )
HPDF_Page_SetSize( pdf, 4, 1 ) // A4 Portrait 595x841
HPDF_SetPageMode( pdf, HPDF_PAGE_MODE_USE_OUTLINE )
page:= HPDF_AddPage (pdf)
def_font:= HPDF_GetFont (pdf, "Helvetica-Bold","WinAnsiEncoding")
def_font1:= HPDF_GetFont (pdf, "Helvetica","WinAnsiEncoding")
def_font2:= HPDF_GetFont (pdf, "Courier","WinAnsiEncoding")
nPag:=1
filename1:="logomeda.jpg"
image:= HPDF_LoadJpegImageFromFile (pdf, filename1)
HPDF_Page_DrawImage (page,image, 60, 715, 120,100)
EncaProPDF( @page,@nheight,@nwidth,def_font,def_font1,def_font2,@nPag )
nRow:= 250
j:=1
nFilas:=1
whil j <= len( xarticulo )
HPDF_Page_TextOut (page, 60,nheight -nRow,transform( XARTICULO[J],"@R
!!-!!!!!!!!!!!!!!" ) )
HPDF_Page_TextOut (page,160,nheight -nRow,str( XCANTIDAD[J],8,2 ) )
HPDF_Page_TextOut (page,200,nheight -nRow,hb_oemtoansi( xdetalle[J] ) )
HPDF_Page_TextOut (page,360,nheight -nRow,str( XPRECIO[J] * (-xdesc[j] /
100) +xprecio[j],12,3 ) )
HPDF_Page_TextOut (page,460,nheight -nRow,str( xtotitem[j],12,4 ) )
nRow+=10
HPDF_Page_TextOut (page, 60,nheight -nRow,"*" )
nRow+=10
j++
nFilas++
if nFilas = 15
HPDF_Page_EndText (page)
page:=HPDF_AddPage(pdf)
EncaProPDF( @page,@nheight,@nwidth,def_font,def_font1,def_font2,@nPag )
nRow:= 250
nfilas:=1
end if
end whil
HPDF_Page_EndText (page)
HPDF_Page_SetLineWidth (page, 0)
HPDF_Page_Rectangle (page, 50, nheight-640, nwidth - 100, 20)
HPDF_Page_Stroke (page)
nRow:=600
HPDF_Page_SetFontAndSize (page, def_font1, 6)
HPDF_Page_BeginText (page)
HPDF_Page_TextOut (page, 60, nheight -nRow, "Vendedor: " +cVende +" - "
+vendedor->nom_ven )
HPDF_Page_TextOut (page, 60, nheight -630, "1º Desc.: " +ltrim( str( xd1 )
) +"% = " +ltrim( str( (tsuma*xd1)/100 ) ) )
HPDF_Page_TextOut (page, 160, nheight -630, "2º Desc.: " +ltrim( str( xd2 )
) +"% =" )
HPDF_Page_TextOut (page, 250, nheight -630, "3º Desc.: " +ltrim( str( xd3 )
) +"% =" )
HPDF_Page_TextOut (page, 450, nheight -630, "TOTAL: " +ltrim( str(
ttotal,12,4 ) ) )
HPDF_Page_EndText (page)
HPDF_Page_SetFontAndSize (page, def_font,12)
HPDF_Page_BeginText (page)
HPDF_Page_TextOut (page, 400, nheight -670, "TOTAL: " +ltrim( str(
tsubtotal,12,4 ) ) )
HPDF_Page_TextOut (page, 60, nheight -670, "ESTOS PRECIOS NO INCLUYEN
I.V.A." )
HPDF_Page_EndText (page)
HPDF_Page_SetFontAndSize (page, def_font1,7)
HPDF_Page_BeginText (page)
HPDF_Page_TextOut (page, 50, nheight -690, "Tipo de pago: " +xpago +" - "
+xcpago )
HPDF_Page_TextOut (page, 50, nheight -700, "Observaciones:" )
HPDF_Page_TextOut (page, 50, nheight -710, "Novedad del vendedor:" )
HPDF_Page_TextOut (page, 50, nheight -730, "Plazo de entrega :" )
HPDF_Page_TextOut (page, 50, nheight -740, "Lugar de entrega : " +xlugar )
HPDF_Page_TextOut (page, 50, nheight -750, "Impuestos internos :" )
HPDF_Page_EndText (page)
HPDF_SaveToFile (pdf, cPath +archivo )
HPDF_Free (pdf)
retu
/***/
static Function EncaProPDF(
page,nheight,nwidth,def_font,def_font1,def_font2,nPag )
nheight:= HPDF_Page_GetHeight (page)
nwidth:= HPDF_Page_GetWidth (page)
HPDF_Page_SetLineWidth (page, 0)
HPDF_Page_Rectangle (page, 50, nheight-550, nwidth - 100, 530)
HPDF_Page_Rectangle (page, 50, nheight-130, nwidth - 100, 0)
HPDF_Page_Rectangle (page, 350,nheight-130 , nwidth -400, 110)
HPDF_Page_Rectangle (page, 50, nheight-200, nwidth - 100, 0)
HPDF_Page_Rectangle (page, 50, nheight-220, nwidth - 100, 0)
HPDF_Page_Rectangle (page, 50, nheight-240, nwidth - 100, 0)
HPDF_Page_Stroke (page)
HPDF_Page_SetFontAndSize (page, def_font1, 6)
HPDF_Page_BeginText (page)
HPDF_Page_TextOut (page, 500, nheight -50, "Hoja: " +str( nPag,2 ) )
HPDF_Page_EndText (page)
HPDF_Page_SetFontAndSize (page, def_font, 7)
HPDF_Page_BeginText (page)
HPDF_Page_TextOut (page, 400, nheight -60, "PROFORMA Nº: " +LTRIM( xnum ))
HPDF_Page_EndText (page)
HPDF_Page_SetFontAndSize (page, def_font, 6)
HPDF_Page_BeginText (page)
HPDF_Page_TextOut (page, 250, nheight -120, "IVA Responsable Inscripto" )
HPDF_Page_EndText (page)
HPDF_Page_SetFontAndSize (page, def_font1, 6)
HPDF_Page_BeginText (page)
HPDF_Page_TextOut (page, 200, nheight -70, "Resipol S.A." )
HPDF_Page_TextOut (page, 200, nheight -80, "Av. J. A. Roca 2928 (1686)" )
HPDF_Page_TextOut (page, 200, nheight -90, "Hurlingham, Buenos Aires,
Argentina" )
HPDF_Page_TextOut (page, 200, nheight -100, "Tel.: 4665-4835 Lin. Rot." )
HPDF_Page_TextOut (page, 200, nheight -110, "Fax.: 4662-0354" )
HPDF_Page_TextOut (page, 400, nheight -70, "Fecha " +dtoc( xfecha ) )
HPDF_Page_TextOut (page, 400, nheight -80, "Fecha de inicio de actividad" )
HPDF_Page_TextOut (page, 400, nheight -90, "C.U.I.T.: 30-67705876-1" )
HPDF_Page_TextOut (page, 400, nheight -100, "I.B.C.M.: 901-159064-6" )
HPDF_Page_TextOut (page, 60, nheight -140, "Cliente Nº: 06-0412" )
HPDF_Page_TextOut (page, 60, nheight -150, "Razón Social: " +cnombre )
HPDF_Page_TextOut (page, 60, nheight -160, "Domicilio: " +cdomi )
HPDF_Page_TextOut (page, 450, nheight -160, "Cotización: " +transform(
xcotiza,"99.999" ) )
HPDF_Page_TextOut (page, 200, nheight -170, "(" +ccodpos +") - " +trim(
clocalidad ) )
HPDF_Page_TextOut (page, 300, nheight -170, "Teléfono:" +ctel )
HPDF_Page_TextOut (page, 60, nheight -180, "Provincia: " +cprovincia )
HPDF_Page_TextOut (page, 60, nheight -190, "País: " +cpais )
HPDF_Page_TextOut (page, 300, nheight -190, "C.U.I.T.: " +cCuit )
HPDF_Page_TextOut (page, 60, nheight -210, "Referencia: " +str(
clientes->docugtia ) )
HPDF_Page_TextOut (page, 60, nheight -230, "CODIGO" )
HPDF_Page_TextOut (page, 170, nheight -230, "CANT." )
HPDF_Page_TextOut (page, 200, nheight -230, "DETALLE" )
HPDF_Page_TextOut (page, 380, nheight -230, "UNIT." )
HPDF_Page_TextOut (page, 470, nheight -230, "TOTAL" )
HPDF_Page_EndText (page)
HPDF_Page_SetFontAndSize (page, def_font2, 6)
HPDF_Page_BeginText (page)
nPag++
retu
Y los errores que me arroja son los siguientes:
C:\hb32\comp\mingw\BIN\GCC.EXE -Wall -o E:\hb32\PRUEBA\EXAMPLE.EXE
C:\hb32\comp\mingw\BIN\_2015031035135_Script.ld -mconsole
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x2c):
undefined reference to `png_get_PLTE'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x1b5):
undefined reference to `png_create_read_struct'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x1c9):
undefined reference to `png_create_info_struct'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x1ea):
undefined reference to `png_set_sig_bytes'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x203):
undefined reference to `png_set_read_fn'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x217):
undefined reference to `png_read_info'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x23a):
undefined reference to `png_destroy_read_struct'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x2d2):
undefined reference to `png_get_IHDR'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x2f1):
undefined reference to `png_read_update_info'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x3f6):
undefined reference to `png_destroy_read_struct'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x449):
undefined reference to `png_set_strip_16'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x46b):
undefined reference to `png_get_valid'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x593):
undefined reference to `png_get_image_height'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x5ab):
undefined reference to `png_get_image_width'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x5c3):
undefined reference to `png_get_color_type'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x60b):
undefined reference to `png_get_interlace_type'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x62b):
undefined reference to `png_get_rowbytes'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x63f):
undefined reference to `png_get_image_height'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x757):
undefined reference to `png_get_tRNS'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x890):
undefined reference to `png_get_image_height'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x8a4):
undefined reference to `png_get_image_width'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x8d4):
undefined reference to `png_get_rowbytes'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x974):
undefined reference to `png_get_rowbytes'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x988):
undefined reference to `png_get_image_height'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0xa0d):
undefined reference to `png_read_rows'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0xa46):
undefined reference to `png_read_image'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0xade):
undefined reference to `png_get_rowbytes'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0xb92):
undefined reference to `png_read_image'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0xd12):
undefined reference to `png_read_image'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x1156):
undefined reference to `png_sig_cmp'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x1203):
undefined reference to `png_get_io_ptr'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x1317):
undefined reference to `png_get_error_ptr'
C:\hb32\LIB\WIN\MINGW/liblibhpdf.a(hpdfimap.o):hpdfimap.c:(.text+0x13b2):
undefined reference to `png_sig_cmp'
Antonio
Sistemas
Resipol
El 10 de marzo de 2015, 9:42, Fernando Yurisich <
fyu...@us...> escribió:
> Agregar liblibhpdf.a y vuelve a probar.
>
> Saludos
> Fernando Yurisich
>
> Q.P.M. is the continuation of Q.A.C. project manager for (x)Harbour and
> OOHG/Minigui based projects.
> Visit us at http://sourceforge.net/p/qpm and join the user list.
> For OOHG samples and documents, visit
> http://oohg.wikia.com/wiki/Object_Oriented_Harbour_GUI_Wiki
> Please support me with a donation via PayPal
> <https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VYXQYCKWXLWAG&lc=UY&item_name=FYM&item_number=OOHG%2fQPM¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted>
> .
>
> El 10 de marzo de 2015, 9:21, Antonio Cardinaux <anc...@gm...>
> escribió:
>
> Compilé el siguiente ejemplo usando QPM:
>>
>> #include 'harupdf.ch'
>>
>> /***/
>> Function Example()
>>
>> local pdf := HPDF_New()
>>
>> HPDF_SetCompressionMode( pdf, HPDF_COMP_ALL )
>>
>> HPDF_Page_SetSize( pdf, 4, 1 ) // A4 Portrait 595x841
>>
>> HPDF_SetPageMode( pdf, HPDF_PAGE_MODE_USE_OUTLINE )
>>
>> page := HPDF_AddPage( pdf )
>>
>> HPDF_Page_SetLineWidth( page, 0.5 )
>> def_font1 := HPDF_GetFont( pdf, "Times-Roman", "WinAnsiEncoding" )
>> def_font2 := HPDF_GetFont( pdf, "Times-Bold", "WinAnsiEncoding" )
>>
>> HPDF_Page_BeginText( page )
>>
>> // 595x841
>>
>> HPDF_Page_SetFontAndSize( page, def_font2, 18 )
>> texto( page, 20, 803, 'MEDANO I.C.I.' )
>> texto( page,400, 803, 'RESIPOL S.A.' )
>> HPDF_Page_SetFontAndSize( page, def_font1, 10 )
>> texto( page,20, 770, 'ORDEN DE COMPRA Nº' )
>> texto( page,400, 770, 'Fecha: ' +Dtoc( Date() ) )
>>
>> texto( page,20, 750, 'Sujeto a la aprobación de gerencia de ventas' )
>> texto( page,20, 740, 'Vendedor: ' )
>> texto( page,400, 740, "Cuenta Nº: " +repl( "_",20 ) )
>> texto( page,20, 730, 'Código del Proveedor: Y240' )
>> texto( page,20, 720, 'Firma: TAISHAN FIBERGLASS INC' )
>> texto( page,400, 720, "Autorizado por: ____________________" )
>> texto( page,20, 710, 'C.U.I.T.: 000000000000000' )
>> texto( page,20, 700, 'Domicilio:' )
>> texto( page,400, 700, "Flete:" )
>> texto( page,20, 690, 'Localidad: SHANDONG PR' )
>> texto( page,400, 690, "Forma de Envio:" )
>> texto( page,20, 680, 'Provincia: 23' )
>> texto( page,400, 680, "I.B. Nº:" )
>> texto( page,20, 670, 'Cond. de Pago: 01 - CONTADO' )
>> texto( page,400, 670, "DJAI:" )
>> texto( page,20, 660, 'Referencia: SELINA HU' )
>> texto( page,400, 660, "Factura:" )
>> line( page, 650, 20, 555 )
>> HPDF_Page_EndText( page )
>>
>> HPDF_SaveToFile( pdf, 'example.pdf' )
>>
>> HPDF_Free( pdf )
>>
>> return NIL
>>
>>
>> ////////////////////////////////////////////////////////////////////////////
>> static function line( page, line, ini, tam, picote )
>>
>> picote := if(picote = NIL, .F., picote)
>>
>> if picote
>> HPDF_Page_SetDash(page, {3}, 1, 1)
>> endif
>> HPDF_Page_MoveTo( page, ini, line )
>> HPDF_Page_LineTo( page, ini+tam, line )
>> HPDF_Page_Stroke(page)
>> if picote
>> HPDF_Page_SetDash(page, NIL, 0, 0)
>> endif
>>
>> return NIL
>>
>>
>> ////////////////////////////////////////////////////////////////////////////
>> static function colu( page, col, ini, tam, picote )
>>
>> picote := if(picote = NIL, .F., picote)
>>
>> if picote
>> HPDF_Page_SetDash(page, {3}, 1, 1)
>> endif
>> HPDF_Page_MoveTo( page, col, ini )
>> HPDF_Page_LineTo( page, col, ini+tam )
>> HPDF_Page_Stroke(page)
>> if picote
>> HPDF_Page_SetDash(page, NIL, 0, 0)
>> endif
>>
>> return NIL
>>
>>
>> ////////////////////////////////////////////////////////////////////////////
>> static function texto( page, col, lin, texto, fim, direita )
>>
>> local tw
>>
>>
>> direita := if( direita = NIL, .F., direita )
>>
>> if fim = NIL
>> col += 2
>> elseif ! direita
>> tw := HPDF_Page_TextWidth( page, texto )
>> col += ( ( fim - col ) / 2 ) - ( tw / 2 )
>> endif
>> if direita
>> tw := HPDF_Page_TextWidth( page, texto )
>> col -= tw + 4
>> endif
>> HPDF_Page_TextOut( page, col, lin, texto )
>>
>> return NIL
>>
>> y me arroja los siguientes errores:
>>
>> C:\hb32\comp\mingw\BIN\GCC.EXE -Wall -o E:\hb32\PRUEBA\EXAMPLE.EXE
>> C:\hb32\comp\mingw\BIN\_2015031032782_Script.ld -mconsole
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x16): undefined
>> reference to `HPDF_Free'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x89): undefined
>> reference to `HPDF_New'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0xc9): undefined
>> reference to `HPDF_Free'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x102): undefined
>> reference to `HPDF_NewDoc'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x142): undefined
>> reference to `HPDF_FreeDoc'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x182): undefined
>> reference to `HPDF_FreeDocAll'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x1e5): undefined
>> reference to `HPDF_SaveToFile'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x242): undefined
>> reference to `HPDF_SaveToStream'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x282): undefined
>> reference to `HPDF_GetStreamSize'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x2f1): undefined
>> reference to `HPDF_ReadFromStream'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x372): undefined
>> reference to `HPDF_ResetStream'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x3b2): undefined
>> reference to `HPDF_HasDoc'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x405): undefined
>> reference to `HPDF_SetErrorHandler'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x452): undefined
>> reference to `HPDF_GetError'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x492): undefined
>> reference to `HPDF_GetErrorDetail'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x4d2): undefined
>> reference to `HPDF_ResetError'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x525): undefined
>> reference to `HPDF_SetPagesConfiguration'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x585): undefined
>> reference to `HPDF_SetPageLayout'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x5d2): undefined
>> reference to `HPDF_GetPageLayout'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x625): undefined
>> reference to `HPDF_SetPageMode'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x672): undefined
>> reference to `HPDF_GetPageMode'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x6c5): undefined
>> reference to `HPDF_SetOpenAction'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x712): undefined
>> reference to `HPDF_GetCurrentPage'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x752): undefined
>> reference to `HPDF_AddPage'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x7a5): undefined
>> reference to `HPDF_InsertPage'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x818): undefined
>> reference to `HPDF_GetFont'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x8ba): undefined
>> reference to `HPDF_AddPageLabel'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x912): undefined
>> reference to `HPDF_CreateExtGState'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x994): undefined
>> reference to `HPDF_CreateOutline'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0x9f5): undefined
>> reference to `HPDF_GetEncoder'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0xa42): undefined
>> reference to `HPDF_GetCurrentEncoder'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0xa95): undefined
>> reference to `HPDF_SetCurrentEncoder'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0xb08): undefined
>> reference to `HPDF_SetInfoAttr'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0xb65): undefined
>> reference to `HPDF_GetInfoAttr'
>> C:\hb32\LIB\WIN\MINGW/libhbhpdf.a(core.o):core.c:(.text+0xc9e): undefined
>> reference to `HPDF_SetInfoDateAttr'
>>
>> Esto está compilado en un equipo con Windows 7 (64), y agregué la
>> librería libhbhpdf.a en la solapa LIB. Adjunto el archivo QPM
>>
>>
>> Antonio
>> Sistemas
>> Resipol
>>
>> 2015-03-09 18:09 GMT-03:00 Fernando Yurisich <
>> fyu...@us...>:
>>
>>> Agregar libhbhpdf.a en la solapa LIB.
>>>
>>> Saludos
>>> Fernando Yurisich
>>>
>>> Q.P.M. is the continuation of Q.A.C. project manager for (x)Harbour and
>>> OOHG/Minigui based projects.
>>> Visit us at http://sourceforge.net/p/qpm and join the user list.
>>> For OOHG samples and documents, visit
>>> http://oohg.wikia.com/wiki/Object_Oriented_Harbour_GUI_Wiki
>>> Please support me with a donation via PayPal
>>> <https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VYXQYCKWXLWAG&lc=UY&item_name=FYM&item_number=OOHG%2fQPM¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted>
>>> .
>>>
>>> El 9 de marzo de 2015, 17:52, Antonio Cardinaux <anc...@gm...>
>>> escribió:
>>>
>>>>
>>>> Tengo una carpeta con los PRG de un sistema en modo consola que compilo
>>>> mediante un archivo HBP con Harbour nightly
>>>> mediante el comando HBMK2 ARCHIVO.HBP. Esto funciona correctamente.
>>>> Cuando vi el post de hace unos días que hablaba acerca de compilar
>>>> usando QPM y Harbour Nightly, arme un proyecto en
>>>> QPM, todo iba bien hasta que me pide las librerías que usan HARUPDF y
>>>> no se cuales son y adonde tengo que buscarlas.
>>>> ¿Alguien me podría dar una ayuda al respecto ?. Gracias
>>>>
>>>> Antonio
>>>> Sistemas
>>>> Resipol
>>>> --
>>>> *Antonio Cardinaux** - Lanús* -* Pcia. de Buenos Aires - Argentina*
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>>> sponsored
>>>> by Intel and developed in partnership with Slashdot Media, is your hub
>>>> for all
>>>> things parallel software development, from weekly thought leadership
>>>> blogs to
>>>> news, videos, case studies, tutorials and more. Take a look and join the
>>>> conversation now. http://goparallel.sourceforge.net/
>>>> _______________________________________________
>>>> qpm-users mailing list
>>>> qpm...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/qpm-users
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>> sponsored
>>> by Intel and developed in partnership with Slashdot Media, is your hub
>>> for all
>>> things parallel software development, from weekly thought leadership
>>> blogs to
>>> news, videos, case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> qpm-users mailing list
>>> qpm...@li...
>>> https://lists.sourceforge.net/lists/listinfo/qpm-users
>>>
>>>
>>
>>
>> --
>> *Antonio Cardinaux** - Lanús* -* Pcia. de Buenos Aires - Argentina*
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> things parallel software development, from weekly thought leadership
>> blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> qpm-users mailing list
>> qpm...@li...
>> https://lists.sourceforge.net/lists/listinfo/qpm-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> qpm-users mailing list
> qpm...@li...
> https://lists.sourceforge.net/lists/listinfo/qpm-users
>
>
--
*Antonio Cardinaux** - Lanús* -* Pcia. de Buenos Aires - Argentina*
|