[Scummvm-devel] Jpeg compilation errors

Johannes Schickel lordhoto at gmail.com
Sat Dec 14 01:37:36 CET 2013


On 12/13/2013 08:01 PM, Always yours, Fedor. wrote:
> Hi! I try to compile ScummVM with Jpeg 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 libjpeg.lib succefully without jpeg-turbo code from libjpeg-turbo-code-1082-tags-1.3.0.zip.
> I attach jpeg headers used for compilation scummvm_base.mmp.
> Building without jpeg support succesful.
> Here console log :

It definitly looks wrong that HAVE_PROTOTYPES isn't defined in 
(j)config.h. This would explain most (if not all) of these errors since 
the prototypes don't have any argument list without that define and thus 
the compiler thinks they take no arguments (so HAVE_PROTOTYPES should 
really have been defined in the first place).

Another note: I'm not sure where this "config.h" file comes from but it 
sounds really dangerous to have a global "config.h" file in your include 
path. All the configuration definitions from config.h should really be 
in jconfig.h.

// Johannes




More information about the Scummvm-devel mailing list