How do I install FLTK for VS2010?

Tony picture Tony · Oct 30, 2010 · Viewed 7.7k times · Source

I'm doing a project for school have to incorporate a form of GUI. Sadly, I have no experience with GUIs whatsoever so I just spend the last few hours comparing the various toolkits and settled on FLTK for it's lightweightness. I also spent the time attempting to install FLTK by reading various guides but to no avail.

I was wondering if anyone could tell me what to do step-by-step. Thanks in advance

BTW I am using Visual Studio 2010 Professional with Windows 7

Answer

Nikign picture Nikign · May 27, 2011

First you should download fltk from the website,( it may be .zip or .tar). I have downloaded fltk1.3.x...)

Then you extract it, open the folder and look for a file with extension .dsw. (mine was in a folder called ide). This file will open a Visual Studio Solution.

It will probably ask you to upgrade the solution to the current version of Visual Studio. Say yes to all.

When the project opens, click build/build solution. It takes some time to be built.

Then from the lib folder copy the .lib files (except readme.lib) to the folder ProgramFilesx86/MicrosoftVisualStudio10/VC/lib.

Then copy FL folder into the ProgramFilesx86/MicrosoftVisualStudio10/VC/include.

installation is over... for more details you can read programming principles and practice using c++ by Stroustrup.