FLTK logo

Linking Problem in an Application using fltk 1.1.8 rc3

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 ]

Linking Problem in an Application using fltk 1.1.8 rc3 "Michael Heiser" Nov 30, 2009  
 
Hey guys,

 

at moment I am programming an application which should show an jpg image on
demand. I use fltk 1.1.8 cause I'm programming the App for uClinux and there
fltk 1.1.8 is used with nano-X and nxlib. Without image-support all
compiling and linking went well. Now I want to use Fl_JPEG_Image to show a
picture on demand in my app. I added fltk_images libz libpng and libjpeg to
LDFLAGS.

Now I got a linking error when I use fl_register_images() to get JPEG
support. The error occurs with normal gcc and toolchain-gcc. Error is
following:

 

undefined reference to `Fl_Shared_Image::add_handler(Fl_Image* (*)(char
const*, unsigned char*, int))'    tuerAlbum
line 0, external location: fl_images_core.cxx:    C/C++ Problem

 

Does anyone know a solution?

 

Greetz Michael
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'.