Hi,

> I gave your patch a try, but, as you may expect, Solaris patches
> don't work on tru64 machines.  So, I went to http://www.color.org and
> downloaded the latest icc34.h.  Then, there is a install help at
> http://beyond.linuxfromscratch.org/view/cvs/chapter04/lcms.html which
> I used with the following CFLAGS:  -lm -O2 -W.


Amazing. I have compared both icc34.h and are almost identical.
Perhaps the default compiler wasn't gcc? This could explain why now
it compiles.

So far... we have done a step ahead, and if you care, we could try to
get it working.  As said tru64 was not tested, and it be nice to support
it too.  For what you are reporting, the testbed passes all tests up to
reading real profiles. This is good, since it means all math, interpolation,
curves, etc etc are working. It seems to fail on file I/O.

The error you report could be due to several factors. One could be the
machine endianess. I doubt this is the cause since the testbed program
does check this. But you could give a try. This is controlled by the toggle
USE_BIG_ENDIAN in lcms.h

Other could be the alignment. lcms expects to be BYTE aligned (it handles
alignment by its own) and this should be controlled by the #pragma pack(1)
statements. I don't know if the gcc in tru64 does ignore alignment #pragmas.
Anyway, the source of error is located in a check of the profile header in
function ICCFileOpen(), in file cmsio1.c

This is a trivial function, that reads a struct from the file and then compares
signature. placing a couple of printf() could give us some clues on what is
going wrong. If you want I can send to you the file with proper checkpoints.

Sorry... I would like lcms to run out of box in your system, but right now there
are so quantity of supported platforms that is physically impossible to me to
check everyone. So... is thanks to people like you that we can get lcms to
be truly cross-platform by the only feasible way: checking it on every platform.

Regards,
Mart� Maria
The little cms project
http://www.littlecms.com
[EMAIL PROTECTED]





----- Original Message -----
From: "Philip Goisman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 8:05 PM
Subject: Re: [Lcms-user] install lcms-1.08 in tru64 unix 5.1A


> Hi,
>
> I gave your patch a try, but, as you may expect, Solaris patches
> don't work on tru64 machines.  So, I went to http://www.color.org and
> downloaded the latest icc34.h.  Then, there is a install help at
> http://beyond.linuxfromscratch.org/view/cvs/chapter04/lcms.html which
> I used with the following CFLAGS:  -lm -O2 -W.
>
> I used the following command:  make CC="gcc $CFLAGS"
>
> This built the library, and the tests were running until it got to
> lcms: Error #12288; Bad file format: 'sRGB Color Space Profile.icm'
> Testing sRGB built-in spacemake[2]: *** [test] Error 1
>
> So, is that serious, or can I use the library?
>
> If you need further information, please ask.
>
> Thanks,
>
> Philip
>
>


_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to