Thank you for the reply. I built the debug version of all the sample applications. Everything went just fine. I noticed that the include libraries were fltkd.lib, wsock32.lib... and, guess what? comctl32.lib! It was not listed in the documentation as a requirement. I wonder why...
Anyway, now my hello world application works in both debug and release mode (here I switched of course to fltk.lib) just perfectlty! About the mailing list: I have no idea how to proceed with it, because there is not a single explanation how to reply to specific messages from it. It is the same story as with the include library - lack of documentation. You can't expect everyone to be perfect and to know everything about anything on this world. Until now I didn't know how to handle mailing lists. Now I know how to write you a reply in the proper way. Actually, I am disappointed that you are so harsh to a newbie like me. I hope to get further help and support about FLTK in the near future. 2008/11/16 imacarthur <[EMAIL PROTECTED]> > > On 16 Nov 2008, at 7:14, Zdravko Monov wrote: > > I am using VS2008 on Vista SP1 with FLTK 1.1.9. >> I extract the tar in a folder in My Documents. Then I open the fltk >> solution from vc2005 directory. Next I do click on "Build Solution". I wait >> a few minutes and get only a few warnings about the debug log not being >> accessible or something, anyway. I built both debug and release versions of >> FLTK. >> Next, I try some applications from the test folder - most of them start >> okay. Editor does not start because of missing fltkdll.dll. >> > > > All the examples should work correctly - if any of them do not, you may > need to expend some effort into finding out why not, as they work perfectly > for many other users. Perhaps something is broken in your installation of > the VS tools, for example? Are you able to build other projects using these > tools? > > > Then I start a new project in VS2008 - console one, paste the hello world >> source code. Then under C/C++ General I add additional include dir - the one >> where FLTK resides. Then I try compile - it works! >> Then I add the lib dir in the Linker General properties. I also add these >> dependancies under Linker Input: fltkd.lib wsock32.lib >> This is what the documentation says to do! I use the *d version, because I >> use debug mode right now in VS. >> I got this: >> >> 1>------ Build started: Project: fltk_test, Configuration: Debug Win32 >> ------ >> 1>Linking... >> 1>fltkd.lib(Fl.obj) : error LNK2019: unresolved external symbol >> [EMAIL PROTECTED] referenced in function "long __stdcall >> WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@ >> @YGJPAUHWND__@@[EMAIL PROTECTED]) >> 1>C:\Users\Zdravko\Documents\Visual Studio >> 2008\Projects\fltk_test\Debug\fltk_test.exe : fatal error LNK1120: 1 >> unresolved externals >> >> Strangely enough, I don't get the conflict with msvcrt.lib right now. I >> might have done something in a different way... >> Anyway, you tell me what is wrong here. I followed the docs precisely! >> > > I looks like you have not linked in all the required MS libraries; in > particular, TrackMouseEvent comes from User32.lib, I think. > > It is not enough to just link to the fltk libs, you must also link to all > the required system libraries also. You need to examine the linker settings > used for the examples in the test folder, and ensure that your link line is > the same. > Note, also, that with many linkers, the *order* of the libraries also > matters, so you need to ensure that you have all of the required libraries, > in the required order, or it will not work correctly. > > Try that - it really does look as if you simply have the wrong linker > configuration. Let us know what happens. > > > OK: now I'm going to say a few things that might seem harsh! > > - If you are receiving the mailing list in digest format (as it seems you > are) then it is imperative that you *edit* your posts when you reply, to > remove any extraneous posts not relevant to your question, and to CHANGE the > SUBJECT LINE of your reply to reflect the content of your question. > If you do not do these simple courtesies, then after a while people will > become annoyed at your posts and will start to ignore them. We do not want > that to happen. (This is basic netiquette, and I am disappointed that you > either do not know it, or have chosen to ignore it.) > > > > > > > -- Zdravko Monov _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

