PHP loads .so module, can't find class

View: New views
2 Messages — Rating Filter:   Alert me  

PHP loads .so module, can't find class

by Bruce Cresanta-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

        I have generated a php5 module with c++.   The module loads  
correctly, but it reports that it cannot find the class.   Could you  
please help me with ideas.


Bruce

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

Re: PHP loads .so module, can't find class

by Olly Betts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-05-12, Bruce Cresanta <bcresanta@...> wrote:
> I have generated a php5 module with c++.   The module loads  
> correctly, but it reports that it cannot find the class.   Could you  
> please help me with ideas.

For PHP5, the proxy classes are implemented in PHP, so you need to
include the .php file which SWIG generates.

Cheers,
    Olly


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user