I am using fltk 1.1.10 in code::blocks on vista pro; 
I configurated the library like it is indicated in fltk.org (with mingw and 
msys).
I have linked the lib to c::b by stiing the global variables!
here is my code but I have an error !!!
please help me.
thank you
--------------------------------------------------code--------------------------------------------------------------------
#include <FL/Fl.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Shared_Image.H>
#include <FL/Fl_Widget.H>
#include <FL/Fl_JPEG_Image.H>
#include <stdio.h>
#include <stdlib.h>

int main() {


     Fl_Window *window = new Fl_Window(300,180);
     window->fullscreen();
     int a = window->w();
     int b = window->h();
     Fl_Box *box = new Fl_Box(FL_UP_BOX,50,50,50,50,"bb");
     box->labelfont (FL_SCREEN_BOLD);
     box->labelcolor (FL_BLUE);
     const char *c = "c:/1.jpg";
     Fl_JPEG_Image jpg(c);
     window->color (FL_BLACK);
     window->image(jpg);
     window->end();
     window->show();
     return(Fl::run());
}

----------------------------------------------------error------------------------------------------------------------
obj\Release\main.o:main.cpp|| undefined reference to 
`Fl_JPEG_Image::Fl_JPEG_Image(char const|
||=== Build finished: 1 errors, 0 warnings ===|

                                          
_________________________________________________________________
Hotmail : une messagerie performante et gratuite avec une sécurité signée 
Microsoft
https://signup.live.com/signup.aspx?id=60969
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to