Am 23.01.2010 07:54, schrieb Frede:
> Dear,
> I use Ubuntu9.04 and CDT 6.0.1
> How to set up FLTK 1.1.10 in CDT?

I'm using Fedora, but it should be the same. It's a matter of project
settings:

[Project] -> [Properties] -> "C/C++Build" -> "Settings"

For "GCC C++ Compiler" -> "Directories" you need to insert the include
directory for header files: "/usr/local/include"

After that includes like <FL/Fl_Window.H> should be found by the CDT. If
not you should control the output of "make install" when setting up
FLTK, there the include directory is shown.

Next you need to setup the Linker by telling the libraries "GCC C++
Linker" -> "Libraries":

fltk_images
fltk_jpeg
fltk_png
fltk_z
fltk
pthread
dl
m
Xext
X11
Xpm

"fltk_images" to "fltk_z" are optional, Xpm is for using an icon.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to