Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install FLTK for VS2010?

Tags:

c++

fltk

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

like image 885
Tony Avatar asked Dec 22 '22 21:12

Tony


1 Answers

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.

like image 70
Nikign Avatar answered Jan 02 '23 08:01

Nikign