>
>
> > > Show us what you have for your link line.
> > > This looks a lot like you have either forgotten to link in=20
> > 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.
> > >
> >=20
> > Is this what you mean:
> >=20
> > g++  -o bin/Release/one obj/Release/main.o   /usr/lib/libfltk.a
>
>
> Yes, that is probably the line.
> It is not complete however, as you don't seem to be linking in anything
> other than fltk - you will also need to link in the system libs and the
> various X libs and possibly a pile of other stuff.
>
> Do you have fltk-config on your system? It should have been installed
> along with the fltk libs themselves. If so, in a shell, running:
>
>    fltk-config --ldflags
>
> Will produce the list of libs, in the appropriate order, that you need
> to apply for your system.
>
> I'm not at a linux box right now, and can't remember off-hand what the
> list would be like. Perhaps someone else has an example to hand?
>

I think something is missing.

[pa...@home ~]$ fltk-config --ldflags
-lfltk
[pa...@home ~]$

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to