[sword-devel] PHP bindings
Aim for NaN
truefusion at gmail.com
Tue Jan 30 04:33:09 EST 2024
Looking to build for Swig 4.1.
I run these commands:
cd bindings/swig/package
libtoolize --force
./autogen.sh
./configure
make phpswig
It errors out, talking about unknown options.
So, I modify the command.
swig -php -c++ -o php/Sword.cxx -I. -I/usr/include/sword ./sword.i
This errors out, saying that std_list.i cannot be found for templates.i
Arguably, std::vector would be a good replacement for std::list. At
least, Swig provides std_vector.i for PHP. I only care about building
PHP bindings for now. I don't suppose a quick solution would be to
replace all instances of std::list with std::vector, would it?
More information about the sword-devel
mailing list