Menu

#7074 Error while reading PNG image!

Broken Sword 2.5
closed-invalid
nobody
None
5
2016-03-19
2016-03-14
No

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.

Discussion

  • Johannes Schickel

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

     
  • Jan-Peter Rühmann

    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.

     
  • Johannes Schickel

    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.)

     
  • Jan-Peter Rühmann

    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.

     
  • Thierry Crozat

    Thierry Crozat - 2016-03-19
    • status: open --> closed-invalid
     
  • Thierry Crozat

    Thierry Crozat - 2016-03-19

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