User forums > General (but related to Code::Blocks)

No support for fltk 2.0?

(1/2) > >>

Buddhist[CHinA]:
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.

dje:
Hi !

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

Dje

Buddhist[CHinA]:

--- Quote from: dje on March 12, 2008, 09:26:50 pm ---Hi !

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

Dje

--- End quote ---

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.

MortenMacFly:

--- Quote from: Buddhist[CHinA] on March 13, 2008, 06:01:02 am ---So I suspected if C::B supports 2.0.

--- End quote ---
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.

mandrav:
MacFly is right, just check this post which outlines the process.

Navigation

[0] Message Index

[#] Next page

Go to full version