Re: [Dev-C++] Problem with jpeg.library
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2004-02-28 21:22:28
|
The library is written in C, and your program in C++.
do:
extern "C" {
#include "jpeglib.h"
}
to inform the compiler that it should look for the jpeg functions using
the C calling convention, and not try to name-mangle the symbols.
/Per W
On Sat, 28 Feb 2004, Emiliano wrote:
> It won't see any function, ie I get errors like this one:
>
>
> [Linker error] undefined reference to `jpeg_std_error(jpeg_error_mgr*)'
>
>
>
> I have also included in the linker tab "jpeg.lib" and "libjpeg.a", both
> alone and together, but it won't change.
>
> Do I need to do something else?
>
> thanks,
> Emiliano
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|