News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Using FLTK with Code::Blocks

Started by H, August 23, 2009, 01:36:30 AM

Previous topic - Next topic

H

I was wondering if anyone could help me in getting started using FLTK with Code::Blocks. In short, I've tried creating a new project and extracting the fltk folder I downloaded to a bunch of different places, etc., but I haven't been able to get it working. I also need to be able to use the headers and files found here - http://www.stroustrup.com/Programming/Graphics/

A link to a guide or some basic instructions would be great, but any help is appreciated. Thanks.

gintasdx

Well I actually was getting the same problem.
You can follow my little guide or download compiled library
from the link bellow:
Setting Up CodeBlocks:: and FLTK

codeur

#2
You don't say for what OS or what compiler..

Codeblocks-EP ("EDU-Portable", an unofficial Windows only distribution not supported on these forums) comes with pre-installed FLTK library and FLUID tool under the MinGW compiler.

FLTK projects are offered in the "New from template..." project window.
The pre-compiled (static) libs and headers are in subdirectory ..\sdk\fltk
http://codeblocks.codecutter.org
Stroustrup's fltk code should compile with that. I am not too sure of his hash-map, vector and string code. His book should tell you whether he has made sure these work with MinGW.