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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

王亚辉

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\thotlib\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\thotlib\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\thotlib\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\thotlib\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\thotlib\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\thotlib\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\thotlib\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 ?