>
> > Trying to compile a project under Fedora 10, with=20
> > Code::Blocks, and get this:
> >=20
> > /usr/lib/libfltk.a(Fl.o): In function=20
> > `Fl_Widget::damage(unsigned char, int, int, int, int)':
> > (.text+0x8b7): undefined reference to `XUnionRectWithRegion'
> > /usr/lib/libfltk.a(Fl.o): In function=20
> > `Fl_Widget::damage(unsigned char, int, int, int, int)':
> > (.text+0x95e): undefined reference to `XDestroyRegion'
> > /usr/lib/libfltk.a(Fl.o): In function=20
> > `Fl_Widget::damage(unsigned char)':
> > (.text+0x9dc): undefined reference to `XDestroyRegion'
> > /usr/lib/libfltk.a(Fl.o): In function `Fl_Window::handle(int)':
> > (.text+0xf09): undefined reference to `XMapWindow'
> > ..
> > and so on for a while.
> >=20
> > It looked to me as though I was missing x lib but, have=20
> > installed everything i can find, and still get this problem.
>
> Show us what you have for your link line.
> This looks a lot like you have either forgotten to link in the necessary
> libs, or you have linked them in the wrong order.
> Remember that gcc is (indeed, many compilers are) sensitive to link
> order, so you may have the correct libs but in the wrong order.
>

Is this what you mean:

g++  -o bin/Release/one obj/Release/main.o   /usr/lib/libfltk.a
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to