Compiling Amaya On Windows
This document explains how to compile the Amaya environment (schemas compilers and the binary) from the distributed source tree. All makefiles are included with the source tar file.
Document Contents
- Prerequisites
- Makefiles needed to build Amaya
- Building AmayaWX
- Building Amaya (old Win32 user interface)
Prerequisites
- The compiler used by the Amaya development Team is MSVC++ (6.0). Other compilers may work but would require reworking the Makefiles.
- The source tar file should be unzipped with 7-Zip tool that you can download from http://www.7-zip.org/download.html.
Files needed to build Amaya
Check that you have following library directories distributed with Amaya
- wxWidgets
- freetype
- libWWW
- redland
Check that your directory
Amaya\WindowsWX
contains the following directories and files:
- amaya.dsw
- amaya\amaya.mkf
- annotlib\annotlib.dsp
- app\app.dsp
- Compilers\Compilers.dsw
- cpp\cpp.dsp
- davlib\davlib.dsp
- libjpeg\libjpeg.dsp
- libpng\libpng.dsp
- libraptor\libraptor.dsp
- librdf\librdf.dsp
- LibThotEditor\libThotEditor.dsp
- LibThotKernel\LibThotKernel.dsp
- libwww\libwww.dsp
- printlib\printlib.dsp
- prs\prs.dsp
- str\str.dsp
- thotprinter\thotprinter.dsp
- tra\tra.dsp
- wx-setup\setup.h
- zlib\zlib.dsp
Building AmayaWX
- 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. - Load the freetype workspace
freetype/builds/win32/visualc/freetype.dsw
and build - Load the amaya workspace
Amaya\WindowsWX\amaya.dsw
- 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.
- Choose "File/Build" (or F7), to start these compilers and generate .STR, .PRS, .TRA, .APP, and .h files needed for building Amaya.
- You need to close this window to continue the Amaya build.