Author Topic: Using FLTK with Code::Blocks  (Read 20092 times)

Offline H

  • Multiple posting newcomer
  • *
  • Posts: 15
Using FLTK with Code::Blocks
« 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.

Offline gintasdx

  • Single posting newcomer
  • *
  • Posts: 3
    • Developers Diary
Re: Using FLTK with Code::Blocks
« Reply #1 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

Offline codeur

  • Multiple posting newcomer
  • *
  • Posts: 113
    • Code::Blocks EDU-Portable
Re: Using FLTK with Code::Blocks
« Reply #2 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.
« Last Edit: August 10, 2011, 12:50:29 am by codeur »