[Scummvm-devel] Png compilation error
Johannes Schickel
lordhoto at gmail.com
Sat Dec 14 01:42:50 CET 2013
On 12/13/2013 08:05 PM, Always yours, Fedor. wrote:
> Hi! I try to compile ScummVM with Png support for Symbian and get many errors.
> Headers present in System and User include path.
> I am using GCCE 4.4.1 from Mentor Graphics and S60_5th_Edition_SDK_v1.0.
> I build libpng.lib succefully from libpng-1.6.7 source.
> I attach png headers used for compilation scummvm_base.mmp.
> Building without Png support succesful.
> Here console log :
Since it looks like nearly no (none at all?) PNG symbols/definitions etc
are found I would assume "#include <png.h>" in line 29 of
graphics/decoders/png.cpp includes "graphics/decoders/png.h" instead of
your "global" actual PNG header file. So, this looks like an incorrect
build setup to me. Did you make sure that the global one is in a path
which takes include precedence over the current directory (or
graphics/decoders/ in case you add that to your include path)?
// Johannes
More information about the Scummvm-devel
mailing list