Code::Blocks Forums

User forums => Help => Topic started by: H on August 23, 2009, 01:36:30 am

Title: Using FLTK with Code::Blocks
Post by: H on August 23, 2009, 01:36:30 am
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.
Title: Re: Using FLTK with Code::Blocks
Post by: gintasdx on August 09, 2011, 03:58:49 pm
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  (http://gintasdx.althirius-studios.com/2011/08/tutorial-codeblocks-with-fltk.html)
Title: Re: Using FLTK with Code::Blocks
Post by: codeur on August 10, 2011, 12:30:41 am
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.