[C++-sig] boost.python error

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Sun Nov 6 16:54:21 CET 2005


--- Ricardo Kirkner <ricardokirkner at gmail.com> wrote:
> ImportError: dynamic module does not define init function (initopal)

If you want to enable "import opal" you need to write

BOOST_PYTHON_MODULE(opal)

in your Boost.Python extension.

Cheers,
        Ralf



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



More information about the Cplusplus-sig mailing list