3 Replies - 542 Views - Last Post: 07 July 2012 - 11:59 AM Rate Topic: -----

#1 Jimmy Rose  Icon User is offline

  • New D.I.C Head

Reputation: 7
  • View blog
  • Posts: 14
  • Joined: 02-July 12

Installing FLTK

Posted 02 July 2012 - 08:40 PM

Hello,
I'm working through Stroustrup's book Programming Principles and Practice Using C++ with the introduction of graphics his GUI library of choice is FLTK well the books instructions on installation are incorrect. I'm suppose to add the libraries found the lib folder to the vc\lib folder but there aren't any lib files except the one he instructs not to add. There are lib files in other folders but they're VC++ Project type I'm not too familiar with library files but ain't I suppose to be looking for object type files. Version of FLTK I'm using is 1.1.9.
If there is anyone with any insight or experience with installing FLTK I would appreciate it.
Thanks for any help :)

Is This A Good Question/Topic? 0
  • +

Replies To: Installing FLTK

#2 snoopy11  Icon User is offline

  • Engineering ● Software
  • member icon

Reputation: 494
  • View blog
  • Posts: 1,543
  • Joined: 20-March 10

Re: Installing FLTK

Posted 02 July 2012 - 09:18 PM

You need to build it,

I refer you to this Tutorial where I help another member

LaserBeak

do the same thing...

Link on advice to Build FLTK

Snoopy.
Was This Post Helpful? 0
  • +
  • -

#3 Jimmy Rose  Icon User is offline

  • New D.I.C Head

Reputation: 7
  • View blog
  • Posts: 14
  • Joined: 02-July 12

Re: Installing FLTK

Posted 07 July 2012 - 04:10 AM

Hello,
I was able to find libraries online here:
http://www.cs.washin...tk_install.html
I still couldn't figure out how to use the libraries from:
http://www.stroustru...ogramming/FLTK/

But after find them I got this system error:
"The program can't start because MSVCR90.dll is missing from
your computer. Try reinstalling the program to fix this problem."

After going online it seems many people get this error and they incorrectly try to fix the error by reinstalling Visual Studio but I found the solution and I was able to compile and finally use the libraries.
The Runtime Libraries under Code Generation have to be set at Multi-threaded DLL (/MD).
You get there by going to your Properties->Configuration Properties->Code Generation->Runtime Libraries->Multi-threaded DLL (/MD).
Here's how to get there if anyone has this problem and trying to fix it.
Thanks
Was This Post Helpful? 0
  • +
  • -

#4 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 1928
  • View blog
  • Posts: 5,738
  • Joined: 05-May 12

Re: Installing FLTK

Posted 07 July 2012 - 11:59 AM

You should really use 1.3.0. Read the current README.MSWindows.txt in the file and it gives instructions for VS2010.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1