You probably mean Windows version of lcms.
There's the same code for linux and for windows in the lcmm native
library, which glues lcms library with awt. As far as I recall, with
1.15 it will compile but fail on the first invocation at runtime (when
the color conversion will occur). It wasn't tested with the older
versions of lcms also. That's why 1.14 is the best choice.

I though I need to install a newer lcms - now I'm
happy to live with that.
Yes, it compiles, may work and may not. There are no unit tests for
the color conversion.

No statements on required version for Linux.
Right, the readme was modified before the contribution and it seems
like this requirement was removed. Nothing changed in the code AFAIK,
so 1.14 is still the best choice. I believe that it may compile with
other versions (and, probably, that's why the 1.14 requirement was
removed) but will it fail at runtime or not is unclear for the older
ones.

On 10/11/06, Pavel Ozhdikhin <[EMAIL PROTECTED]> wrote:
Thanks, Alexey! I though I need to install a newer lcms - now I'm
happy to live with that.

-Pavel

On 10/11/06, Alexey Varlamov <[EMAIL PROTECTED]> wrote:
> Just to assure that the fix Mark did is good - lcms1.0.12 works fine
> for me, all unit tests pass on J9.
>
> 2006/10/10, Mark Hindess <[EMAIL PROTECTED]>:
> >
> > On 10 October 2006 at 12:23, "Geir Magnusson Jr." <[EMAIL PROTECTED]> wrote:
> > > Muahaha... didn't you just say this was something that never changed,
> > > was geological in stability, etc, etc? :)
> >
> > :-) Well, yeah, and I was worried until I saw that:
> >
> > a) the change to introduce this variable happened over two years ago,
> > and
> >
> > b) my lucky guess was enough to fix it
> >
> > -Mark.
> >
> > > Mark Hindess wrote:
> > > > On 10 October 2006 at 16:22, "Oleg Khaschansky" <[EMAIL PROTECTED]
> > > om> wrote:
> > > >> It looks like you don't have lcms.h and, probably, other lcms stuff in
> > > >> <Harmony>\enhanced\classlib\trunk\depends\libs\build\lcms\.
> > > >
> > > > I think the problem is more likely that they do have lcms but that they
> > > > don't have the same version as everyone else.
> > > >
> > > > At a guess, I'd say that the version they are using doesn't have the
> > > > cache that the cmsFLAGS_NOTCACHE flag is intended to switch off and
> > > > that:
> > > >
> > > > #ifndef cmsFLAGS_NOTCACHE
> > > > #define cmsFLAGS_NOTCACHE (0)
> > > > #endif
> > > >
> > > > after the #include for lcms.h would solve the problem.
> > > >
> > > > But this is a complete guess.
> > > >
> > > > -Mark.
> > > >
> > > >> Recently awt/swing build was enabled by default and it requires this
> > > >> dependency as well as png and jpeg.
> > > >>
> > > >> Read the instructions in
> > > >> <Harmony>\enhanced\classlib\trunk\depends\libs\build\README.txt.
> > > >>
> > > >> Or check the recent posts about this. E.g. the following recent thread:
> > > >> [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and
> > > >> recommend to add them to fetch-depends target
> > > >>
> > > >> On 10/10/06, Pavel Ozhdikhin <[EMAIL PROTECTED]> wrote:
> > > >>> I'm seeing the same problem.
> > > >>>
> > > >>> Thanks,
> > > >>> Pavel
> > > >>>
> > > >>> On 10/10/06, Alexey Varlamov <[EMAIL PROTECTED]> wrote:
> > > >>>> Got the following compilation error (SLES 9 gcc 3.3.3):
> > > >>>>
> > > >>>>  build-native:
> > > >>>>     [exec] cc -O1 -march=pentium3 -DLINUX -D_REENTRANT
> > > >>>> -DIPv6_FUNCTION_SUPPORT -DHYX86  -I/e
> > > >>>> xport/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/include
> > > >>>> -I/export/users2/avarlamo/l
> > > >>>> inux.ia32/svn-repo/classlib/deploy/jdk/include -I. -I../shared/ -fpic
> > > >>>> -Icommon -I../shared//i nclude
> > > >>>> 
-I/export/users2/avarlamo/linux.ia32/svn-repo/classlib/deploy/../depends
> > > /
> > > >> libs/build/lc
> > > >>>> ms   -c -o ../shared//cmmxforms.o ../shared//cmmxforms.c
> > > >>>>     [exec] ../shared/cmmxforms.c: In function 
`cmmCreateMultiprofileTran
> > > s
> > > >> form':
> > > >>>>     [exec] ../shared/cmmxforms.c:150: error: `cmsFLAGS_NOTCACHE'
> > > >>>> undeclared (first use in th is function)
> > > >>>>     [exec] ../shared/cmmxforms.c:150: error: (Each undeclared
> > > >>>> identifier is reported only on ce
> > > >>>>     [exec] ../shared/cmmxforms.c:150: error: for each function it 
appear
> > > s
> > > >>  in.)
> > > >>>>     [exec] ../shared/cmmxforms.c:181: warning: passing arg 2 of
> > > >>>> `cmsSample3DGrid' from incom patible pointer type
> > > >>>>     [exec] make: *** [../shared//cmmxforms.o] Error 1
> > > >>>>
> > > >>>> BUILD FAILED
> > > >>>>
> > > >>>> ---------------------------------------------------------------------
> > > >>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >>>> For additional commands, e-mail: [EMAIL PROTECTED]
> > > >>>>
> > > >>>>
> > > >>> ---------------------------------------------------------------------
> > > >>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >>> For additional commands, e-mail: [EMAIL PROTECTED]
> > > >>>
> > > >>>
> > > >> ---------------------------------------------------------------------
> > > >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > > >>
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to