At 13:30 2003-07-01 -0300, Denise N.R. Azevedo wrote:
>Hi Avik<?xml:namespace prefix =3D o ns =3D=20
>"urn:schemas-microsoft-com:office:office" />
>
>
>
>I got messages like this:
>
> [linker error] undefined reference to "jpeg functions"
>
>
>
>But, it had compiled correctly, and I have added the library in the link=20
>option
>-----Mensagem original-----
>De: dev...@li...=20
>[mailto:dev...@li...]Em nome de Avik Ghose
>Enviada em: ter=E7a-feira, 1 de julho de 2003 12:54
>Para: Denise N.R. Azevedo; dev...@li...
>Assunto: Re: [Dev-C++] Imagelib
>
>Hi Denise,
>can you tell what exact kind of error messages you are getting?
Hi there. jpeglib is a little bit butterfingers. Its headers have no=20
checking for c++ environment. You got to know, that jpeglib is a C library,=
=20
and thus, you should include them inside an extern "C" block. Just like=
this:
extern "C" {
#include "jpeglib.h"
}
The header also doesn't really want to run together with some standard C++=
=20
includes and tries to redefine Types and stuff. Maybe it will be fixed=20
someday...
|