Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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


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 lordhoto, 8 years ago

Can you please attach the full output of ScummVM while trying to run Sword25?

comment:2 by SF/ruehmann, 8 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 lordhoto, 8 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 "". The behavior you seem to see suggests that png.h is a libpng 1.6.x and 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 SF/ruehmann, 8 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 criezy, 8 years ago

Resolution: invalid
Status: newclosed

comment:6 by criezy, 8 years ago

Thanks for confirming this was an issue on your side. Closing as invalid.

Note: See TracTickets for help on using tickets.