On 11/09/2009 09:58 AM, MacArthur, Ian (SELEX GALILEO, UK) wrote:
>
>>>> A resulting problem was that a version disagreement came up between
>>>> what I used (jpeglib V7), what was on my system (6.something), and
>>>> what was in the FLTK jpeg libraries (6.something else).
>> This got worse
>>>> on Windows. Plus if anyone else ever tries to integrate my code
>>>> the same thing will come up again.
>>>
>>> Huh?
>>> Surely nobody actually uses *anything* other then jpeg6b...?
>>
>> The version I get from fc11 updates is different than the one in FLTK.
>> jpeglib does a version check against what is compiled in the
>> header, and
>> the source most readily available is version 7.0.
>
> I stand by what I said - there is not yet any credible reason to use
> anything other than the long established, de-facto standard, libjepg-6b
> release.

That may well be so, but whether there is a good reason or not is not my 
issue. My issue was that somebody *is* using a different version. 
Perhaps for a bad reason.

> (libjpeg-v8, if it appears, and if it brings the improvements implied,
> might be worth having, but for now, there's no obvious win in abandoning
> the established v6b baseline. It is not at all clear the v7 brings
> anything new that is actually useful at this stage.)
>
> The fact that fedora consistently choose to push the latest thing,
> regardless of what works or what their users actually need, is one of
> the reasons I stopped using fedora (at f7) and switched to ubuntu.

Again that's fine, but utterly beyond my control. And also beyond my 
concern.

>
> For now, I suggest that you configure fltk using the --enable-local-jpeg
> option and statically link to the built-in fltk jpeg support that
> creates, thereby avoiding any version issues that fedora may have
> elected, in their "wisdom", to foist on the developer community.
>

Actually, the *only* thing I do with jpeg is decompress the image,
I don't really use any fltk-jpeg related things. By the time the
stupid little image gets there, it's just an array of chars suitable for
an RGB image.

But you see, this sort of finger pointing is precisely why I took the
silly-looking route of doing the decompression in my own separate 
namespace. You say fedora folks do stupid things, perhaps they do. 
Fedora people will say you do stupid things. The next on another 
platform will say more or less the same thing. It's not my beef, I don't 
care.

This is the nice thing about standards. There are so many, everyone
can have their own. Including me :)


Bernd

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

Reply via email to