Comments (5)
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.
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.
@JoseQuintas src/3rd/png has been updated in this repo, please report if the issue is still valid.
from core.
It is already made.
from core.
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)
- can't recompile harbour after msys2 clang64 openssl version upgrade HOT 5
- can't compile harbour anymore (msys2 clang64) HOT 1
- harbour instalation forgot contrib/hbhpdf/tests/files folder
- Static compilation - BASE/1302 Argument error: HOT 3
- TBROWSEDB() ERROR AFTER LAST HARBOUR UPDATE HOT 1
- HBMK2: unrecoverable error 6005: Exception error HOT 6
- GPF when accesing member of NIL using @ operator HOT 2
- memory and array HOT 9
- GTGLFW
- Official Docker image?
- OpenSSL HOT 3
- no error -w3 when use function
- harbour becomes UNUSABLE to me HOT 1
- Compare issue HOT 2
- Information returned for HB_VERSION_HARBOUR HOT 2
- Compiling Harbour under Debian 12 HOT 2
- RDDADS Problem HOT 6
- Have the Color extensions to the tools been tested? HOT 1
- Incorrect default value for lLock parameter in dbAppend() documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.