W3C home > Mailing lists > Public > www-amaya-dev@w3.org > May 2010

Cann't build amaya project on XP-Windows, although I have followed the steps listed in website.

From: 王亚辉 <wangyahui@kaiqi.com>
Date: Sun, 09 May 2010 20:07:51 +0000
To: <www-amaya-dev@w3.org>
Message-ID: <000001caedb5$764d4780$62e7d680$@com>
I compile “amaya-sources-11.3.1” on XP-Windows follow these steps:

1.    Load the wxWidgets workspace wxWidgets/build/msw/wx.dsw and launch the
batch build
Please select "dll", "unicode", and "release" and/or "debug" according to
your intention to compile a release or a debug version of amaya. 

2.    Load the freetype workspace freetype/builds/win32/visualc/freetype.dsw
and build 

3.    Load the amaya workspace Amaya\WindowsWX\amaya.dsw 

4.    Select the sub-project amaya (see menu Project/Set Active Project) and
build it. (F7). 

The compiling first build Amaya compilers and should display a window.

5.    Choose "File/Build" (or F7), to start these compilers and generate
..STR, .PRS, .TRA, .APP, and .h files needed for building Amaya. 

6.    You need to close this window to continue the Amaya build. 

In step4, the compiling failed. And a part of error messages list as
follows:

 

--------------------Configuration: libThotEditor - Win32
Debug--------------------

Compiling...

AmayaAddPointEvtHandler.cpp

...\..\thotlib\internals\h\constmedia.h(49) : warning C4005: '_STRING_' :
macro redefinition

        D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\string(8) :
see previous definition of '_STRING_'

...\..\thotlib\internals\h\typeint.h(400) : error C2059: syntax error :
'constant'

...\..\thotlib\internals\h\typeint.h(400) : error C2238: unexpected token(s)
preceding ';'

...\..\thotlib\internals\h\typeint.h(414) : error C2059: syntax error :
'constant'

...\..\thotlib\internals\h\typeint.h(414) : error C2238: unexpected token(s)
preceding ';'

...\..\thotlib\internals\h\AmayaCanvas.h(65) : error C2504: 'wxGLCanvas' :
base class undefined

E:\TDDOWNLOAD\amaya-sources-11.3.1\amaya-sources-11.3.1\Amaya11.3.1\Amaya\th
otlib\dialogue\AmayaAddPointEvtHandler.cpp(107) : error C2039:
'PushEventHandler' : is not a member of 'AmayaCanvas'

        ..\..\thotlib\internals\h\AmayaCanvas.h(61) : see declaration of
'AmayaCanvas'

E:\TDDOWNLOAD\amaya-sources-11.3.1\amaya-sources-11.3.1\Amaya11.3.1\Amaya\th
otlib\dialogue\AmayaAddPointEvtHandler.cpp(110) : error C2039: 'SetCursor' :
is not a member of 'AmayaCanvas'

        ..\..\thotlib\internals\h\AmayaCanvas.h(61) : see declaration of
'AmayaCanvas'

E:\TDDOWNLOAD\amaya-sources-11.3.1\amaya-sources-11.3.1\Amaya11.3.1\Amaya\th
otlib\dialogue\AmayaAddPointEvtHandler.cpp(112) : error C2039:
'CaptureMouse' : is not a member of 'AmayaCanvas'

        ..\..\thotlib\internals\h\AmayaCanvas.h(61) : see declaration of
'AmayaCanvas'

E:\TDDOWNLOAD\amaya-sources-11.3.1\amaya-sources-11.3.1\Amaya11.3.1\Amaya\th
otlib\dialogue\AmayaAddPointEvtHandler.cpp(126) : error C2039:
'PopEventHandler' : is not a member of 'AmayaCanvas'

        ..\..\thotlib\internals\h\AmayaCanvas.h(61) : see declaration of
'AmayaCanvas'

E:\TDDOWNLOAD\amaya-sources-11.3.1\amaya-sources-11.3.1\Amaya11.3.1\Amaya\th
otlib\dialogue\AmayaAddPointEvtHandler.cpp(129) : error C2039: 'SetCursor' :
is not a member of 'AmayaCanvas'

        ..\..\thotlib\internals\h\AmayaCanvas.h(61) : see declaration of
'AmayaCanvas'

E:\TDDOWNLOAD\amaya-sources-11.3.1\amaya-sources-11.3.1\Amaya11.3.1\Amaya\th
otlib\dialogue\AmayaAddPointEvtHandler.cpp(131) : error C2039:
'ReleaseMouse' : is not a member of 'AmayaCanvas'

        ..\..\thotlib\internals\h\AmayaCanvas.h(61) : see declaration of
'AmayaCanvas'

E:\TDDOWNLOAD\amaya-sources-11.3.1\amaya-sources-11.3.1\Amaya11.3.1\Amaya\th
otlib\dialogue\AmayaAddPointEvtHandler.cpp(297) : error C2039: 'Refresh' :
is not a member of 'AmayaCanvas'

        ..\..\thotlib\internals\h\AmayaCanvas.h(61) : see declaration of
'AmayaCanvas'

AmayaAdvancedNotebook.cpp

...\..\thotlib\internals\h\constmedia.h(49) : warning C4005: '_STRING_' :
macro redefinition

        D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\string(8) :
see previous definition of '_STRING_'

...\..\thotlib\internals\h\typeint.h(400) : error C2059: syntax error :
'constant'

...\..\thotlib\internals\h\typeint.h(400) : error C2238: unexpected token(s)
preceding ';'

...\..\thotlib\internals\h\typeint.h(414) : error C2059: syntax error :
'constant'

...\..\thotlib\internals\h\typeint.h(414) : error C2238: unexpected token(s)
preceding ';'

...\..\thotlib\internals\h\AmayaCanvas.h(65) : error C2504: 'wxGLCanvas' :
base class undefined

...\..\thotlib\include\AmayaApp.h(27) : error C2504: 'wxGLApp' : base class
undefined

……

 

I always follow the instructions of website during my compiling. 

Who can help me ?
Received on Thursday, 13 May 2010 17:12:48 UTC

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