I think we have reached the limits of my knowledge of the use of the MS VS IDE tools - perhaps someone who is more familiar with the tools will have some suggestions.
>From the things that you are saying, I have a feeling that this is some configuration issue, rather than an inherent problem... Are you building other projects successfully using these tools, and is it all working OK? To be honest, when I run into troubles with the MS VS tools, I just dump them, install Msys + mingw, and work from the configure scripts in the normal way. Anyway, some further observations interleaved below, for what they are worth. > One of your questions involved the fltkd.lib. It was and is > located in the project project's lib folder, specifically: > > My Documents > Visual Studio 2008 > Projects > GUI-2 // The test program from the documentation (page 9) > fltk-1.1.10rc2 > lib > fltkd.lib This hierarchy looks odd to me personally - I don't think I would install fltk (or any library) underneath a project, or indeed inside the VS tools hierarchy. But, that aside, I don't see why it would not work. If you open the MS project file in the fltk directory itself and build that, all goes well? Do the example programs in the test folder get built? Does fluid.exe get built? If you go into the test folder and double-click on the generated exe's, do they run? > I have also set the Visual C++ tools>options>Include files > and the Library files to point to the fltk-1.1.10rc2 folder. > The path for the library is: > > C:\Documents and Settings\Owner\My Documents\Visual Studio > 2008\Projects\fltk-1.1.10rc2 > > I have the same path in the Include file and it works so I'm > assuming that the library path is correct even though it doesn't work. To be honest, I would just be copying one of the fltk example programs and using its settings... > ------ Rebuild All started: Project: fltkdll, Configuration: > Debug Win32 ------ > Deleting intermediate and output files for project 'fltkdll', > configuration 'Debug|Win32' Hmm "fltkdll"? I thought you were trying to build the static lib? If you are having difficulties I would strongly advocate building the static lib first, and when that seems good, then we can look at building the DLL. Why do you need the DLL? For most purposes the static lib is a better bet. > Creating library .\../test/fltkdlld.lib and object > .\../test/fltkdlld.exp > LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with > use of other libs; use /NODEFAULTLIB:library OK - this looks very much like something is wrong with the project settings for the linker options and such. Probably liking in the wrong mode (MS have really weird linking configs...) I don't know the details of fixing this in the MS IDE, but others will. Google may even know - I think it is a matter of changing the linkage model to something else (multi-threaded DLL mode?) but the details elude me. The fltk project files ought to have the correct liker settings - did you copy this from the fltk project file, or is this based on whatever default setting MS decided to use in VS? > fltkzd.lib(adler32.obj) : warning LNK4099: PDB 'vc90.pdb' was > not found with '..\lib\fltkzd.lib' or at 'C:\Documents and > Settings\Owner\My Documents\Visual Studio > 2008\Projects\fltk-1.1.10rc2\visualc\vc90.pdb'; linking > object as if no debug info > > [there are many more lines of the same ilk.] > > The last line "linking object as if no debug info" sounds > ominous. However, I have no idea what it means or what to do about it. I'd fix the earlier problem first, then rebuild the fltk lib from the ground up, and *then* see where you are before worrying about that. I suspect it is a consequence of earlier problems. SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

