News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

No support for fltk 2.0?

Started by Buddhist[CHinA], March 12, 2008, 09:25:40 PM

Previous topic - Next topic

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

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.
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

mandrav

MacFly is right, just check this post which outlines the process.
Be patient!
This bug will be fixed soon...

Buddhist[CHinA]