I've only recently been introduced into C++, about a month ago, and I've had a little go with some books and internet threads to help me get started on Dev-C++ and I think I'm doing okay!
Now, to come to the point, I recently bought Bjarne's book: Programming - Principles and Practice Using C++, and it's a great book, only problem is, I've been stumped by the end of Chapter 2.
He recommends you download FLTK, to compliment Microsoft Visual Studio C++, and he gives an appendix to explain it.
Only problem is, since publication, I think more updates have been added to FLTK, changing the folder structure, and in addition, I have a new update of Microsoft Visual.
The FLTK forums are a mess, I tried finding what I was looking for, but none of it made much sense, so I'm turning you guys for help.
So, any pointers on downloading, installing, building, and all that jazz for FLTK? Ideally, I could do with step-by-step instructions, as I'm not good at understanding abbreviations, or the like, to do with the computers themselves. If anyone could tell me simply what folders to copy, or what button to press, I would be extremely grateful.
Well your two minutes have already been more productive than my half an hour.
That article is all very well, but I do what it says, and there is no visible response.
Am I doing anything stupid?
1) Open up VS.
2) Open up a project in the "visualc" directory in my downloads.
3) There was no "fltk.dsw" so I went for "fltk.lib".
4) I converted and built all of those files.
Ok, you're going to have to be real simple with me, sorry.
I've put the DLL under C: -> Windows -> System. Would that be alright?
My .lib is now under Program Files -> Visual Studio 10.0 -> VC -> lib. Is this also right?
A query I have is that only the name appears to be .lib or .dll. They are both actually VC++ 6 Projects?!
There's a "README" Object File Library as well in the "lib" folder for FLTK.
And yes, I understand I'm bordering on ridiculously simple.
This might be information overload, but I've just opened the "README" file in notepad, came up with this:
README.lib
----------
This README file is a placeholder for library files on your
system.
Under Microsoft Windows a successful build of all projects and
configurations will contain debug and release libraries for you
to link to - all are built using the multi-threaded DLL
settings. The DLL files (fltkdll.dll and fltkdlld.dll) required
for a complete DLL-based binary distribution are located in the
"visualc" directory.
Under UNIX a single set of library files will be built, with or
without debug information depending on the options you provided
to the configure script.
---------
And it's right, I've suddenly got a whole lot of libraries in my VC folder.
However, the programme old Bjarne told me to write in the first place, still fails when I try to build it.
The programme was: