problem with jpegcreator.cpp

MoRpHeUz morpheuz at gmail.com
Tue Oct 28 12:34:56 GMT 2008


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




More information about the kde-core-devel mailing list