tags:

views:

736

answers:

1

Ok,

I have tried a 100 things and i can not get my so file to interface with php using swig. I can generate the files, then i had to compile zend and link with that to make the so but it keeps seg faulting on load now.

Can some one please walk me though how to use swig to generate a php interface for a c++ so as the one on there site is terrible.

+1  A: 

This example seems informative. Have you tried it?

Assaf Lavie
thats the one i tried and couldnt get it to work
Lodle