Author Topic: No support for fltk 2.0?  (Read 5663 times)

Offline Buddhist[CHinA]

  • Single posting newcomer
  • *
  • Posts: 3
No support for fltk 2.0?
« 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.

Offline dje

  • Lives here!
  • ****
  • Posts: 682
Re: No support for fltk 2.0?
« Reply #1 on: March 12, 2008, 09:26:50 pm »
Hi !

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

Dje

Offline Buddhist[CHinA]

  • Single posting newcomer
  • *
  • Posts: 3
Re: No support for fltk 2.0?
« Reply #2 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: No support for fltk 2.0?
« Reply #3 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: No support for fltk 2.0?
« Reply #4 on: March 13, 2008, 09:49:12 am »
MacFly is right, just check this post which outlines the process.
Be patient!
This bug will be fixed soon...

Offline Buddhist[CHinA]

  • Single posting newcomer
  • *
  • Posts: 3
Re: No support for fltk 2.0?
« Reply #5 on: March 13, 2008, 10:49:43 am »
Cool!
Really appreciated.