Git Product home page Git Product logo

Comments (5)

JoseQuintas avatar JoseQuintas commented on August 24, 2024

I do not know about C source code.
Is it possible that PNG and harupdf are directly dependant ?
If yes, may be it is related to how they are on link order.
And this another reason to do not include libs=png on hbwin.hbc, because nested hbc can include hbwin.hbc and change order, this is not visible on HBP.

Generating C source output to 'C:\Users\jmcqu\AppData\Local\Temp\hbmk_tcnvbz.dir\harupdf.c'... Done.
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x33): undefined reference to png_get_io_ptr' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x147): undefined reference to png_get_error_ptr'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x19c): undefined reference to png_get_PLTE' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x325): undefined reference to png_create_read_struct'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x339): undefined reference to png_create_info_struct' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x35a): undefined reference to png_set_sig_bytes'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x373): undefined reference to png_set_read_fn' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x387): undefined reference to png_read_info'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x3aa): undefined reference to png_destroy_read_struct' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x442): undefined reference to png_get_IHDR'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x461): undefined reference to png_read_update_info' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x566): undefined reference to png_destroy_read_struct'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x5ce): undefined reference to png_get_valid' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x6f2): undefined reference to png_get_image_height'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x706): undefined reference to png_get_image_width' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x71a): undefined reference to png_get_color_type'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x75e): undefined reference to png_get_rowbytes' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x813): undefined reference to png_destroy_read_struct'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x828): undefined reference to png_set_strip_16' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x86b): undefined reference to png_destroy_read_struct'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x884): undefined reference to png_get_interlace_type' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x8a4): undefined reference to png_get_rowbytes'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x8b4): undefined reference to png_get_image_height' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x98f): undefined reference to png_get_tRNS'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xab8): undefined reference to png_get_image_height' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xad2): undefined reference to png_get_image_width'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xb0a): undefined reference to png_get_rowbytes' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xb98): undefined reference to png_get_rowbytes'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xbaa): undefined reference to png_get_image_height' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xc1d): undefined reference to png_read_rows'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xc52): undefined reference to png_read_image' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xcb6): undefined reference to png_read_image'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xd74): undefined reference to png_destroy_read_struct' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xecf): undefined reference to png_read_image'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0xf8f): undefined reference to png_read_image' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x1044): undefined reference to png_read_image'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x1110): undefined reference to png_read_image' d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x1276): undefined reference to png_sig_cmp'
d:/harbour/lib/win/mingw\liblibhpdf.a(hpdfimap.o):(.text+0x1382): undefined reference to `png_sig_cmp'
collect2.exe: error: ld returned 1 exit status

from core.

JoseQuintas avatar JoseQuintas commented on August 24, 2024

I copy src/3rd/png from 3.4 to 3.2 and all ok.
I do not know about C, I do not know if change is valid, but it works.

from core.

tuffnatty avatar tuffnatty commented on August 24, 2024

@JoseQuintas src/3rd/png has been updated in this repo, please report if the issue is still valid.

from core.

JoseQuintas avatar JoseQuintas commented on August 24, 2024

It is already made.

from core.

JoseQuintas avatar JoseQuintas commented on August 24, 2024

I was wrong. There are changes but problem is not solved.
Receive the error message just now. Solve on same way, copying from 3.4

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.