boost python tutorial

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MakaMaka

    #1

    boost python tutorial

    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?

    Thanks,
    -Justin

  • Roman Yakovenko

    #2
    Re: boost python tutorial

    On 23 Mar 2006 11:17:46 -0800, MakaMaka <justin.frost@g mail.com> wrote:[color=blue]
    > 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?[/color]

    Yes.

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

    2. Can you check whether you named you module as hello?
    BOOST_PYTHON_MO DULE(hello)
    [color=blue]
    > Thanks,
    > -Justin
    >
    > --
    > http://mail.python.org/mailman/listinfo/python-list
    >[/color]


    --
    Roman Yakovenko
    C++ Python language binding

    Comment

    • MakaMaka

      #3
      Re: boost python tutorial

      I checked and it is. I can't use news servers at work b/c of the
      firewall. Is there another way to access this mailing list?

      Comment

      • Roman Yakovenko

        #4
        Re: boost python tutorial

        On 23 Mar 2006 12:36:17 -0800, MakaMaka <justin.frost@g mail.com> wrote:[color=blue]
        > I checked and it is. I can't use news servers at work b/c of the
        > firewall. Is there another way to access this mailing list?[/color]

        Yes, try to subscribe: http://www.python.org/community/sigs/. See c++-sig
        If you can use your mail or gmail you can send/recieve mails from it.
        [color=blue]
        > --
        > http://mail.python.org/mailman/listinfo/python-list
        >[/color]


        --
        Roman Yakovenko
        C++ Python language binding

        Comment

        Working...