FLTK


看了一天的KDE+QT还是找不到北,虽然也尝试了一个例子,Qt designer 和 KDevelop也都还很好用,但还是觉得比较难上手,进展比较慢。中午终于第2次放弃了Qt,下午开始看FLTK。希望以后的程序都用fltk来写,下面是FLTK的简单配置。

1. C/C++
    a. code generation, change runtime library to Multi-threaded DLL
    b. Command Line. /Ic:\fltk-1.1.4
    c. precompiled header, turn off.
2. Linker
    a. Command Line. c:\fltk-1.1.4\lib\fltk.lib wsock32.lib comctl32.lib

很不错的FLTK tutorial;
FLTK Video Tutorials—-http://seriss.com/people/erco/fltk-videos/
Beginner FLTK Tutorial — http://www3.telus.net/public/robark/

一个样本程序:
#include <FL/fl.h>
#include <FL/fl_window.h>

int main()
{
 Fl_Window win(720, 486);
 win.show();
 return Fl::run();
}

2 thoughts on “FLTK

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s