W3C home > Mailing lists > Public > www-amaya-dev@w3.org > June 2007

Re: Compiling Amaya on Windows

From: <chengpan@cox.net>
Date: Wed, 20 Jun 2007 20:48:39 +0000
Message-ID: <2491507.1182372511515.JavaMail.root@eastrmwml10>
To: www-amaya-dev@w3.org

Thank Irene for the quick response!

I have read more messages posted to this list and got 9.55-pre3 to compile. (My environment is Windows 2000 Professional, VC++ 6.0 with SP6 applied.) I  had to do a few things to go through the compilation.

1. For freetype, by default I also got freetype/objs/feetype2110ST_D.lib instead of freetype2110_D.lib, as mentioned in http://lists.w3.org/Archives/Public/www-amaya-dev/2006Nov/0000.html
I found that I could get freetype2110_D.lib by clicking Build->Batch Build, checking "Win32 Debug", and clicking Build on the dialog.

2. Line 105 in WindowsWX/amaya.dsp is
and causes a problem.  Following the discussion in
I deleted this line the copy of the file I used.

3. There was a problem compiling Amaya/thotlib/image/jpeghandler.c, as mentioned in
I had to change line 24 of file wxWidgets/src/jpeg/jpeglib.h from
#include "../src/jpeg/jconfig.h"
#include "jconfig.h"

4. For idn, two relatively simple ways seemed to make libwww compile.
(A) Changing file WindowsWX/libwww/libwww.dsp by deleting from lines 44 and 67 '/D "LIBWWW_USEIDN"' and all the lines with 'SOURCE=......libwwwmodulesidn'
(B) Downloading idnkit-1.0-src from
and copying the 32 '.h' files from 'include' and the 32 '.c' files from 'lib' into libwww/modules/idn.  Similar to the way discussed in 
from file idn/util.c, if I comment out most of the implementation of idn__util_getregistrystring so that it just returns 0 and remove line
#include <windows.h>
then libwww compiles fine.  I have not tested if the functionality provided by idn works.

I am using the binary I compiled to browse this list now.


---- Irene Vatton <Irene.Vatton@inrialpes.fr> wrote: 
> On Wednesday 20 June 2007 07:42, chengpan@cox.net wrote:
> > In 9.54 and 9.55-pre tar files, there is no subdirectory
> > libwwwmodulesidn, but file libwww.dsp looks for source code under this
> > directory name.  This caused the compilation to fail.
> >
> > Did I miss something or do things in a wrong way?
> >
> > Thanks,   --Cheng
> You're right this idn module is not included in tar files.
> It'll be fixed in next release
>      Irène.
> -----
> Irène Vatton                     INRIA Rhône-Alpes
> INRIA                               ZIRST
> e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
> Tel.: +33 4 76 61 53 61             Montbonnot
> Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Thursday, 21 June 2007 07:15:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:31:09 UTC