This time I want to share about how to use Fast Light Toolkit (FLTK) 1.1.10 in Visual Studio 2010 and how to set the Bjarne Stroustrup’s environment for trying the exercise in Chapter 12.
- Download FLTK 1.1.10.
Make new project in C++
Make sure that you choose empty project.
Open the properties window of the current project
In C/C++ -> General, set the Additional Include Directories to your FLTK path
In Linker->General, set the Additional Include Directories to your library folder path. There’re some tutorials about how to compile it on internet, you guys can Google it.
In Linker->Input, set the additional depency with
Ignore specific default libraries : “libcd.lib”
- Voila, the setting is done, you can use the FLTK library now. But there’s something more you need to do if you want to setting the Stroustrup’s environment.
- Download Stroustrup’s codes and add all codes in “GUI” folder into your project.
- And now, you can try what is taught in Stroustrup’s book.
May help 🙂