2011年11月26日星期六

VS2008 FLTK Setting

refer to the vedio tutorial: http://www.seriss.com/people/erco/fltk-videos

1.download the stable version FLTK-1.3

2.open the fltk.sln from the IDE folder, choose "Debug Cario" to Debug or Release configuration, otherwise , there will be error showing missing "cario-win32.h", because there is no third-party Cario. However, there will be some problems when choosing Debug configuration, so i chose the Release.

->build all

3. create the folder:D:\Program Files\FLTK-1.3
copy foler FL, lib and fluid.exe to the above folder.

4.add D:\Program Files\FLTK-1.3 and D:\Program Files\FLTK-1.3\lib to the Visual Studio option

5.add fltk.lib wsock32.lib comctl32.lib in the linker option, this is very important.

没有评论: