By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,942 Members | 1,788 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,942 IT Pros & Developers. It's quick & easy.

boost::python embedding example running error

P: n/a
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_method<std::string>(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.

Nov 13 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 12 Nov 2006 19:10:24 -0800, co*******@gmail.com <co*******@gmail.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_method<std::string>(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

--
http://mail.python.org/mailman/listinfo/python-list

--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
Nov 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.