Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started 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.
-
Hi !
Did you set the compiler search directories in the project build options ?
Dje
-
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.
-
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.
-
MacFly is right, just check this post (http://forums.codeblocks.org/index.php/topic,3223.msg59778.html#msg59778) which outlines the process.
-
Cool!
Really appreciated.