Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Buddhist[CHinA] on March 12, 2008, 09:25:40 pm

Title: No support for fltk 2.0?
Post by: Buddhist[CHinA] on March 12, 2008, 09:25:40 pm
I've tried to configure a new project with fltk2.0, but it always complained "fltk.h" never found.

Any comment about how to create a fltk project?

Thanks in advance.
Title: Re: No support for fltk 2.0?
Post by: dje on March 12, 2008, 09:26:50 pm
Hi !

Did you set the compiler search directories in the project build options ?

Dje
Title: Re: No support for fltk 2.0?
Post by: Buddhist[CHinA] on March 13, 2008, 06:01:02 am
Hi !

Did you set the compiler search directories in the project build options ?

Dje

I can't even successfully create a fltk project, so I have no chance to set the compiler search directory.
The problem I got is that I had to configure some environment for fltk during the process of creating the fltk project, (try it from "new project, select "fltk project"). However, C::B insisted requiring the header file "fl.h", which's gone in fltk 2.0. So I suspected if C::B supports 2.0.
Thanks.
Title: Re: No support for fltk 2.0?
Post by: MortenMacFly on March 13, 2008, 09:40:23 am
So I suspected if C::B supports 2.0.
The FLTK project wizard is a scripted wizard. You can setup it for FLTK 2 yourself. Have a look at [
YOUR_CB_FOLDER]\share\CodeBlocks\templates\wizard\fltk
, the file is called "wizard.script".  You might want to adjust the sources in the subfolders, too.

It's pretty easy and yes: Will be implemented in the future permanently.
Title: Re: No support for fltk 2.0?
Post by: mandrav on March 13, 2008, 09:49:12 am
MacFly is right, just check this post (http://forums.codeblocks.org/index.php/topic,3223.msg59778.html#msg59778) which outlines the process.
Title: Re: No support for fltk 2.0?
Post by: Buddhist[CHinA] on March 13, 2008, 10:49:43 am
Cool!
Really appreciated.