boost::python embedding example running error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • could.net@gmail.com

    #1

    boost::python embedding example running error

    I use boost 1.33_1, there's an example on boost::python named
    embedding.cpp. When I tried to build and run it in visual studio 2005,
    I got an error on this line:

    std::string hello() { return python::call_me thod<std::strin g>(self,
    "hello"); }

    It's a back ptr error.

    I don't know where to ask this question so I came to python group. Has
    anyone run this example successfully? Thanks in advance.

  • Roman Yakovenko

    #2
    Re: boost::python embedding example running error

    On 12 Nov 2006 19:10:24 -0800, could.net@gmail .com <could.net@gmai l.comwrote:
    I use boost 1.33_1, there's an example on boost::python named
    embedding.cpp. When I tried to build and run it in visual studio 2005,
    I got an error on this line:
    >
    std::string hello() { return python::call_me thod<std::strin g>(self,
    "hello"); }
    >
    It's a back ptr error.
    >
    I don't know where to ask this question so I came to python group.
    Boost.Python mailing list: http://mail.python.org/mailman/listinfo/c++-sig/

    More resources: http://www.language-binding.net/pyplusplus/links.html


    --
    Roman Yakovenko
    C++ Python language binding

    Comment

    Working...