Home About Applications Software License Documentation Download Community

Documentation

25 April 2006
Installing Developers Reference Tutorial SVG Data Driven Version History

Installing

Downloading
Requirements
Installation
Building Applications

Downloading

Download the Keystone Application Framework from the download page.

Download the following packages as required:

All target platforms (Win32, Linux, etc) are packaged in the same single distribution.


Requirements

Win32

Linux


Installation

Win32

Installing Files

Extract the framework packages to a suitable directory (eg c:\keystone). At minimum, keystone-x.x-src.tar.gz must be installed.

Environment

Keystone needs the following environment variables set to build applications:

For convenience, the batch file 'keystone\bin\win32\keyenv.bat' will set the needed environment variables for an installation in 'c:\keystone'

Building the framework

Once the environment is set up, change directory to where you have installed in the framework eg c:\keystone), and run 'make'. This will build and install the framework, and build the example programs

If this does not work follow these more detailed instructions:

This will build the framework libraries which need to be linked with applications.

Note that it is also possible to build the framework on Win32 with GTK, rather than native Win32 GDI. To do so,

Linux

Installing Files

Extract the framework packages to a suitable directory. For example:

At minimum, keystone-x.x-src.tar.gz must be installed.

Environment

Keystone needs the following environment variables set to build applications:

For convenience, a section of script to set these is in 'keystone\bin\linux\setvars'. Copy the contents of this file into '/home/user/.bashrc' to set the environment for the Bash shell

Building the framework

Once the environment is set up, change directory to where you have installed in the framework eg /usr/local/keystone), and run 'make'. This will build and install the framework, and build the example programs

If this does not work follow these more detailed instructions:

This will build the framework libraries which need to be linked with applications.


Building Applications

The installation is now complete.

To build the example programs:

  • Change directory to where you have installed in the framework eg c:keystone)
  • Change to the 'examples' directory under this (eg cd 'examples')
  • Run 'make'