Re: [C++-sig] Python converters for raw pointers: request for help

2009-11-01 Thread Michele De Stefano
Thank you very much. I had not thought to this solution. And I don't think there's a better one. Thank you again. Michele 2009/10/31 Ravi : > On Friday 23 October 2009 04:38:30 Michele De Stefano wrote: >> typedef struct _p_Mat*           Mat; > > Creating a converter to/from a raw pointer is ra

Re: [C++-sig] cannot find -lboost_python after upgrade to Ubuntu 9.10

2009-11-01 Thread Anders Wallin
> I think that recent boost packages on ubuntu have added a '-py25' or '-py26' > at the end of the library, essentially providing two libraries linked to > each of the python versions available on ubuntu. looking in usr/lib I have at least these, but changing the makefile to one of these names doe

Re: [C++-sig] cannot find -lboost_python after upgrade to Ubuntu 9.10

2009-11-01 Thread Dane Springmeyer
I think that recent boost packages on ubuntu have added a '-py25' or '- py26' at the end of the library, essentially providing two libraries linked to each of the python versions available on ubuntu. Dane On Nov 1, 2009, at 2:28 PM, Anders Wallin wrote: This example from the tutorial http:/

[C++-sig] cannot find -lboost_python after upgrade to Ubuntu 9.10

2009-11-01 Thread Anders Wallin
This example from the tutorial http://pastebin.ca/1652154 used to compile on my 9.04 system with this makefile: http://pastebin.ca/1652155 now after the 9.10 upgrade I get: /usr/bin/ld: cannot find -lboost_python what could be wrong? I do have 'libboost-python-dev' installed as well as 'libboos

Re: [C++-sig] [python] python + phoenix

2009-11-01 Thread Ravi
On Saturday 31 October 2009 01:24:16 troy d. straszheim wrote: > I take it that you have a use-case where it is difficult to specify > >as(thing) > > and easy to specify > >as >(thing) > > Could you elaborate? I have some code that takes member function pointers of the form R Obj::*(