DevTools:Bindings

From CrossWire Bible Society
Revision as of 19:33, 10 June 2013 by David Haslam (Talk | contribs) (SWIG bindings: [https://en.wikipedia.org/wiki/Language_binding bindings])

Jump to: navigation, search

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