[C++-sig] language-binding.net website not available

2011-03-25 Thread Maciej Sitarz
Hi since some time the Py++ project's homepage is down. Does anyone know why? Was it moved somewhere or there's some mirror available? I also haven't seen Roman Yakovenko posting here recently. Thanks for any info. Regards -- Maciek Sitarz ___ Cplusplus

Re: [C++-sig] Bindings compilation with bjam. release build doesn't work

2010-09-04 Thread Maciej Sitarz
I forgot to add the file I'm compiling: Cream.cpp: http://pastie.org/1137778 Cheers -- Maciek Sitarz ___ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig

[C++-sig] Bindings compilation with bjam. release build doesn't work

2010-09-04 Thread Maciej Sitarz
Hi, I have generated python binding with pyplusplus, I was building it all the time with bjam using debug build type. Everythin worked fine. Now when I tried to build it in release mode, importing the module fails with "Segmentation fault" message. $ PYTHONPATH="./bin/gcc-4.1.2/release" pyth

Re: [C++-sig] Problems with boost tuples to python conversion

2010-04-30 Thread Maciej Sitarz
On 30.04.2010 07:48, Roman Yakovenko wrote: On Thu, Apr 29, 2010 at 11:57 PM, Maciej Sitarz wrote: Problem... as always when there's not enough knowledge: I got the warning: WARNING: boost::tuples::null_type [struct] You don't need to expose boost.tuple. This is why you def

Re: [C++-sig] Problems with boost tuples to python conversion

2010-04-29 Thread Maciej Sitarz
On 29.04.2010 21:06, Roman Yakovenko wrote: ... First of all the error you see. In your case, py++ compiles separately both files and then it tries to merge their declarations tree. Obviously it fails. I will try to find time and fix this bug. The work around is pretty simple: create a helper f

Re: [C++-sig] Problems with boost tuples to python conversion

2010-04-29 Thread Maciej Sitarz
As I described it before I tried it, but gccxml couldn't parse the tuples.hpp file. I build gccxml from CVS ver. 0.9( 1.134 ) and it parsed the source file successfully. That's a big progress since the last time. But now... there's some problem with pygccxml I think :| I get the following err

Re: [C++-sig] Problems with boost tuples to python conversion

2010-04-28 Thread Maciej Sitarz
On 28.03.2010 11:53, Roman Yakovenko wrote: On Sun, Mar 28, 2010 at 4:53 AM, Maciej Sitarz > So that would be a big problem, because that's a C++ API for a library which isn't developed by me. Maybe you know how the pyogre developers handled this situation? The tuple.hpp is fro

Re: [C++-sig] Problems with boost tuples to python conversion

2010-03-27 Thread Maciej Sitarz
On 28.03.2010 03:12, Roman Yakovenko wrote: Unfortunately, GCCXML is not able to compile many of the Boost libraries. You will have to change your code. Sorry, but I don't have better solution for you. So that would be a big problem, because that's a C++ API for a library which isn't develop

[C++-sig] Problems with boost tuples to python conversion

2010-03-27 Thread Maciej Sitarz
Hi, I tried to expose objects of class: typedef boost::tuple RegisterResult; to python. I used automatic conversion (http://www.language-binding.net/pyplusplus/troubleshooting_guide/automatic_conversion/automatic_conversion.html) but as usual I hit a wall and got unsolvable error. INFO gccxml

Re: [C++-sig] Py++ module for code with protected operator=

2010-03-21 Thread Maciej Sitarz
On 21.03.2010 06:07, Roman Yakovenko wrote: On Sat, Mar 20, 2010 at 11:10 PM, Maciej Sitarz wrote: Just one more comment... The constructor takes reference to vector, so I suspect that maybe it will be filled there by some other code I don't have? So I don't need to fill the vecto

Re: [C++-sig] Py++ module for code with protected operator=

2010-03-20 Thread Maciej Sitarz
Just one more comment... The constructor takes reference to vector, so I suspect that maybe it will be filled there by some other code I don't have? So I don't need to fill the vector, just to create it (I will ask the developers) Additional source + documentation (but no details ): http://g

Re: [C++-sig] Py++ module for code with protected operator=

2010-03-20 Thread Maciej Sitarz
On 20.03.2010 21:24, Roman Yakovenko wrote: On Sat, Mar 20, 2010 at 10:12 PM, Maciej Sitarz wrote: On 20.03.2010 20:47, Roman Yakovenko wrote: I think, you will have to change your code. I could change it in the example, but I can't change the code for which I'm making the pyt

Re: [C++-sig] Py++ module for code with protected operator=

2010-03-20 Thread Maciej Sitarz
On 20.03.2010 20:47, Roman Yakovenko wrote: On Sat, Mar 20, 2010 at 9:15 PM, Maciej Sitarz wrote: On 20.03.2010 19:12, Roman Yakovenko wrote: On Fri, Mar 19, 2010 at 6:42 PM, Maciej Sitarzwrote: The compile errors are still the same: generated.cpp:40: instantiated from here test.h:6

Re: [C++-sig] Py++ module for code with protected operator=

2010-03-20 Thread Maciej Sitarz
On 20.03.2010 19:12, Roman Yakovenko wrote: On Fri, Mar 19, 2010 at 6:42 PM, Maciej Sitarz wrote: Hi all, I want to create python module for class that has protected operator=. That class placed in std::vector and code generated by Py++ uses that operator. I could be wring, but if I

[C++-sig] Py++ module for code with protected operator=

2010-03-19 Thread Maciej Sitarz
Hi all, I want to create python module for class that has protected operator=. That class placed in std::vector and code generated by Py++ uses that operator. Simple example... * The c++ code: #include class JobPropertyWrapper { protected: JobPropertyWrapper& ope

Re: [C++-sig] Py++ - one header file including all project header files

2010-03-18 Thread Maciej Sitarz
On 17.03.2010 08:52, Roman Yakovenko wrote: Nothing, really. Please take a look on the following document: http://language-binding.net/pyplusplus/documentation/tutorials/module_builder/module_builder.html#declarations-customization and let me know whether is makes sense to you. If not come back

[C++-sig] Py++ - one header file including all project header files

2010-03-17 Thread Maciej Sitarz
Hello, I'm attempting to create python module for CREAM Client API (http://grid.pd.infn.it/cream/). After reading Py++ "best practices" I tried to include all needed headers into one and then add it to Py++. But then the resulting .cpp file doesn't have any wrappers inside, only for one func