#7074 closed defect (invalid)
Error while reading PNG image!
Reported by: | SF/ruehmann | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Engine: Sword25 |
Version: | Keywords: | ||
Cc: | Game: | Broken Sword 2.5 |
Description
ScummVM Version: ScummVM 1.9.0git1098-g5c9d3e3 Details: Game crashes at start with error while reading png image. Language of Game: English Version Of Game: Download Platform: Linux (Kubuntu 14.04 LTS), GCC I had it work partly (timebomb crash) in 1.4 or so.
Ticket imported from: bugs/7074.
Change History (6)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
I´ve made it work by rename /usr/local/include/libpng16 to libpng16.old seems the configure script tests for the libpng12, the compiler than uses the libpng16 headers and the programm than try´s to load libpng12 what´s resulting in an incompatibility.
Thanks, JPR
Would be fine if that behaviour could be corrected.
comment:3 by , 9 years ago
This sounds very strange, it sounds like the header and/or library setup on yours system is messed up. We simply try to include "png.h" and link against "libpng.so". The behavior you seem to see suggests that png.h is a libpng 1.6.x and libpng.so is 1.2.x. Did you ever install libraries manually instead of using system packages? (The /usr/local/ changes you mention seem to suggest so.)
comment:4 by , 9 years ago
Hello Thanks, that was the point. there were links in the /usr/local/include/ Folder to the headers in libpng16. I´ve deleted them and everythings normal again.
comment:5 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:6 by , 9 years ago
Thanks for confirming this was an issue on your side. Closing as invalid.
Can you please attach the full output of ScummVM while trying to run Sword25?