FLTK logo

Re: Ian+Edzard undefined reference to _jped_std_error

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Ian+Edzard undefined reference to _jped_std_error imm Mar 25, 2008  
 
On 25 Mar 2008, at 18:59, Frank Eory wrote:

> Hi guys,
> Thanks for respoding to my icon post. I have both codeblocks + MS  
> Visual C++ express. In codeblocks, compiling with Mingw, I  have  
> the exact same linker error problem as you guys dealt with over here:
> 'undefined reference to _jped_std_error'
> http://permalink.gmane.org/gmane.comp.lib.fltk.general/15852
>
>
> Linking executable: bin\Release\frankapp.exe
> .\..\fltk-1.1.8\lib/libfltkimages.a 
> (Fl_JPEG_Image.o):Fl_JPEG_Image.cxx:(.text+0xf9): undefined  
> reference to `_jpeg_std_error'
>
>
>
> I already built all the libfltk.a, libfltkjpeg.a, libfltkimages.a  
> libfltkpng.a libdltkz.a in both debug (_d.a) and release versions.  
> The linker seems to complain that for the libfltkimages.a  it is  
> missing functions from libfltkjpeg.a.
>
> I put the directories for the libraries in Build options->release->  
> search directores->linker. I even added an additional linker -L..\.. 
> \fltk-1.1.8\lib
>

This just sounds like you are linking in the wrong order. In general,  
you need to list the object or lib that *uses* a function before the  
lib that *provides* that function. Otherwise, the linker can think  
the function is not needed and just skip it...
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.