[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    problem with jpegcreator.cpp
From:       MoRpHeUz <morpheuz () gmail ! com>
Date:       2008-10-28 12:34:56
Message-ID: 7ce7bf330810280534y9915c30ne554dc7d60818d37 () mail ! gmail ! com
[Download RAW message or body]

Hi Peter (ppenz),

You included jpeglib.h inside the code but it should have "extern "C"
" because it's a C library. Probably it worked for you because your
distro have this library patched.

The patch would just be:

extern "C" {
#include <jpeglib.h>
}

Cheers!

-- 
-------------------------------------------------------
Blog: http://labs.morpheuz.eng.br/blog/
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic