On 14.01.2011 14:55, Brian Tilley wrote:
>> Ian wrote
>>
>> That looks weird - looks like the fltk_jpeg lib somehow incorporates
>> duplicates of the entire fltk.lib...
>>
>> Must be a linker misconfig or something, I guess?
>>
>>
> Looks like you were right Ian,
>
> I think I've sorted all the problems now.
>
> I've modified all the .dsp files to replace the $(ProjectName) part of the 
> path with the individual Project name.
> So for Fluid (for example)
> # PROP Output_Dir "Release/Fluid"

I've checked the .dsp files for single programs, and they seem to be okay,
as far as I can see with diff and such.

> Then I've modified fltk_images.dsp to remove fltk.lib from the dependencies 
> as this was clashing with the same dependency in fltk_jpeg.lib which it was 
> also dependent on.

What you describe (how it was) looks indeed wrong, but your solution seems
to be wrong as well, if I understood what you did.

fltk_jpeg.lib should not depend on anything, it's standalone.
fltk_zlib.lib should not depend on anything, it's standalone.
fltk_png.lib depends on fltk_zlib.lib.

fltk_images.lib depends on fltk_jpeg.lib, fltk_png.lib, and fltk.lib.

The same for the DLL versions, of course.

I don't have the MS IDE here, but I can run a test later tonight or
tomorrow with VC 2008.

> I've attached a ZIP file to the STR containing all the ide files for 
> VisualC++ V6. I've included the Build Logs for the Libraries and Fluid for 
> evidence.

I didn't look at the build logs (yet).

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to