boost python tutorial

Roman Yakovenko roman.yakovenko at gmail.com
Thu Mar 23 14:52:17 EST 2006


On 23 Mar 2006 11:17:46 -0800, MakaMaka <justin.frost at gmail.com> wrote:
> Hi,
> I'm trying to build the basic boost.python tutorial that comes with the
> distribution.  I'm using bjam and mingw.  It builds the module, but
> upon import, it gives this error:
>
> ImportError: dynamic module does not define init function (inithello)
>
> I've found other threads with this problem as a topic, but no
> solutions.  Somebody has to have solved this....
>
>
> Any ideas?

Yes.

1. You can subscribe to boost.python mailing list.

2. Can you check whether you named you module as hello?
BOOST_PYTHON_MODULE(hello)

> Thanks,
> -Justin
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>


--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Python-list mailing list