git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-07-23 21:49:37 +00:00
commit aade8e639b

View file

@ -4,7 +4,7 @@ GIFPlot
To illustrate various SWIG features, the following examples involve To illustrate various SWIG features, the following examples involve
building an interface to a small, but somewhat useful graphics library building an interface to a small, but somewhat useful graphics library
for creating 2D and 3D images in the form of GIF files. The Perl, for creating 2D and 3D images in the form of GIF files. The Perl,
Python, Tcl, Java and Ruby directories contain various examples specific to Python, Tcl, Java, Ruby etc. directories contain various examples specific to
those languages. those languages.
This library was originally developed as part of the SPaSM molecular This library was originally developed as part of the SPaSM molecular
@ -23,26 +23,20 @@ Building the Library
==================== ====================
In order to run the examples, it is first necessary to build the GIFPlot In order to run the examples, it is first necessary to build the GIFPlot
C library. To do this, simply follow these instructions: C library. To do this, simply run make:
./configure
make make
On Windows, you can probably just do this:
cd Lib
nmake /f Makefile.msc
Running the Examples Running the Examples
==================== ====================
Once the library has been built, go the Perl, Python, Tcl, Java or Ruby directory Once the library has been built, go to your chosen language directory,
to see various SWIG examples. Each example should have a README file with a that is, Perl, Python, Tcl, Java, Ruby etc. Each example should have a
description. README file with a description.
The examples are compiled using the makefile located in the top level "Examples" Each example can be compiled using the makefile in each example directory. This
directory of the distribution. If they don't compile, you will need to makefile uses the top level makefile in the "Examples" directory of the distribution.
adjust the settings in this file. If the example doesn't compile, you will need to adjust the settings in this file.
Documentation Documentation
============= =============