Difference between revisions of "DevTools:Bindings"
From CrossWire Bible Society
								
												
				David Haslam (talk | contribs)  (→SWIG bindings:  [https://en.wikipedia.org/wiki/Language_binding bindings])  | 
				David Haslam (talk | contribs)   (→SWIG bindings:  [http://en.wikipedia.org/wiki/SWIG SWIG])  | 
				||
| Line 2: | Line 2: | ||
=== SWIG bindings ===  | === SWIG bindings ===  | ||
| − | In order to use libsword from Perl, Python or other scripting languages you need to compile the SWIG [  | + | In order to use libsword from Perl, Python or other scripting languages you need to compile the [http://en.wikipedia.org/wiki/SWIG SWIG] [http://en.wikipedia.org/wiki/Language_binding bindings] section too.  | 
   sudo apt-get install swig  |    sudo apt-get install swig  | ||
Revision as of 19:34, 10 June 2013
Sword Bindings
SWIG bindings
In order to use libsword from Perl, Python or other scripting languages you need to compile the SWIG bindings section too.
sudo apt-get install swig cd bindings/swig/package libtoolize --force ./autogen.sh ./configure make perlswig make perl_make cd perl sudo make install