~ubuntu-branches/ubuntu/edgy/swig1.3/edgy

« back to all changes in this revision

Viewing changes to Examples/GIFPlot/README

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-01-10 09:48:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050110094852-axi555axhj1brbwq
Tags: 1.3.22-5ubuntu2
Build using python2.4 and pike7.6. Closes: #4146.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
To illustrate various SWIG features, the following examples involve
5
5
building an interface to a small, but somewhat useful graphics library
6
6
for creating 2D and 3D images in the form of GIF files.  The Perl,
7
 
Python, Tcl, Java and Ruby directories contain various examples specific to
 
7
Python, Tcl, Java, Ruby etc. directories contain various examples specific to
8
8
those languages.
9
9
 
10
10
This library was originally developed as part of the SPaSM molecular
23
23
====================
24
24
 
25
25
In order to run the examples, it is first necessary to build the GIFPlot
26
 
C library.  To do this, simply follow these instructions:
 
26
C library.  To do this, simply run make:
27
27
 
28
 
        ./configure
29
28
        make
30
29
 
31
 
On Windows, you can probably just do this:
32
 
 
33
 
        cd Lib
34
 
        nmake /f Makefile.msc
35
 
 
36
30
Running the Examples
37
31
====================
38
32
 
39
 
Once the library has been built, go the Perl, Python, Tcl, Java or Ruby directory
40
 
to see various SWIG examples.   Each example should have a README file with a
41
 
description.
 
33
Once the library has been built, go to your chosen language directory,
 
34
that is, Perl, Python, Tcl, Java, Ruby etc. Each example should have a
 
35
README file with a description.
42
36
 
43
 
The examples are compiled using the makefile located in the top level "Examples"
44
 
directory of the distribution.   If they don't compile, you will need to
45
 
adjust the settings in this file.
 
37
Each example can be compiled using the makefile in each example directory. This
 
38
makefile uses the top level makefile in the "Examples" directory of the distribution.
 
39
If the example doesn't compile, you will need to adjust the settings in this file.
46
40
 
47
41
Documentation
48
42
=============