Amaya with wxWidgets

Amaya WX screenshot

Here the new version of Amaya user interface : it uses OpenGL (native or Mesa) canvas and wxWidgets toolkit (which uses GTK+2.0 on Linux, Win32 on Windows and Cocoa on MacOSX).

This version is available on Linux, Windows, and MacOSX.

If you find a bug, please report it to the correct amaya mailing list, after checking it hasn't be already reported and not present is the known bug list. In those lists, you'll also find interesting up-to-date information.

This document explains how to compile wxWidgets on Linux and Windows plateform and list the known bugs.

How to compile Amaya-WX

What do I need to compile this version ?

Once you got the run needed librairies, you'll need the developpement package that containts headers and static libs :

Required libraries

Debian Stable
libfreetype6-dev
libxt-dev
libgtk2.0-dev
xlibmesa-gl
xlibmesa-glu
xlibmesa-glu-dev
libglu1-mesa
xlibmesa-gl-dev or xlibmesa-dev

Fedora Core
freetype-devel
gtk2-devel
imlib-devel
libstdc++-devel
xorg-x11-libs
xorg-x11-Mesa-libGL
xorg-x11-Mesa-libGLU
xorg-x11-devel

Compilation

On Unix platforms

  1. Download full unix sources of Amaya :

    amaya-sources-xxx.tgz

  2. Untar sources :

    tar xzvf amaya-sources-xxx.tgz

  3. Configure and compile Amaya :

    cd Amaya
    mkdir WX
    cd WX
    ../configure
    make

  4. Installing Amaya :

    su
    make install

On Windows (with Visual C++ 6.0)

  1. Download full windows sources of Amaya :

    amaya-sources-xxx.tgz

  2. Install the sources :

    Unzip the amaya-sources-xxx.tgz and follow the instructions.
    I suggest you to install it on C:\src

  3. Compile freetype :

    Open the workspace C:\src\freetype-xx\builds\win32\visualc\freetype.dsw
    Run in the menu : Build -> Batch Build -> Rebuild All
    (check all items if they are not checked)

  4. Compile wxWidgets :

    Open the workspace C:\src\wxWidgets\build\msw\wx.dsw
    Run in the menu : Build -> Batch Build -> Rebuild All
    (check all dll items if they are not checked)

  5. Compile Amaya :

    Open the workspace C:\src\Amaya\WindowsWX\amaya.dsw
    Select the build mode (Debug or Release) : Build -> Set Active Configuration
    Press F7 to lauch compilation.
    When amaya schema compilator popup, presse again F7, then exit the amaya compilator when it is finished.
    Wait for Amaya compilation finishing.

  6. Running Amaya :

    Go to C:\src\Amaya\WindowsWX\bin
    Execute amaya.exe

If an error occures verify you have correct installed libraries (configure should check that libraries are correctly installed). If the error persists, please report it to the Amaya developers mailing list.

How to debug OpenGL in Amaya (with Mesa)

  1. You must compile Mesa with debuging flags :
  2. You must setup MESA_DEBUG environment variable. Add this line the your ~/.bash_profile :
    export MESA_DEBUG="XXX"

    Replace XXX by varray, tex, imm, pipe, driver, state, api, list, lighting, or flush.

    example : export MESA_DEBUG="list" will display debuging info about opengl display lists.

Known bugs

Page created by Stéphane Gully


Stephane Gully & Irène Vatton
Date: 2008-03-17

Copyright  ©  2001-2007 INRIA and W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document useand software licensingrules apply. Your interactions with this site are in accordance with our public and Member privacy statements.