On Tue, Feb 17, 2009 at 9:49 AM, Maik Beckmann
<bec...@go...> wrote:
> Roman Yakovenko schrieb am Dienstag 17 Februar 2009 um 07:23:
>
>> This is something new and if I need to guess there is something wrong
>> on your side.
>
> To ensure it's not my code causing the error, I've reduced the problem to the
> simple example I've posted. For the sake of simplicity I suggest we forget
> about my actual code.
I didn't say your code. There are other factors that could influence.
For example how you built Boost.Python library or compilation flags
for a compiler.
What compiler do you use?
>> I committed new test case (
>> http://pygccxml.svn.sourceforge.net/viewvc/pygccxml?view=rev&revision=1686
>> ) and it works fine on Windows and I believe it will work on Linux (
>> Ubuntu 8.10 ). For tests I use Python 2.5.
>
> By which command can I run the test suite?
You will have to edit the following file
http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/environment.py?view=markup
and install scons
Than you can execute that file. It is self contained.
It could be nice if you can run all unit tests. So we can discover and
fix all issues, before you get to the real code.
By the way, I will run your tests on my system this evening.
> I have python 2.6.1 installed on a x86 and a x86_64 linux box, both show the
> error.
I don't have access to this architecture. So it could be a problem. Do
you use SVN version of pygccxml and Py++? It contains few fixes for
64bit system, some of them in Indexing Suite V2.
>> Until recently, all my tests worked in a single instance of Python
>> interpreter. I had a lot of "class already registered" warnings, but
>> everything worked fine.
>>
>> May be you should play with sys.setdlopenflags function.
>
> Will do.
>
>> I also suggest you to take a look on "multi module development"
>> http://language-
> binding.net/pyplusplus/documentation/multi_module_development.html?highlight=multi%20module%20development
>> document.
>
> I don't think this is related to this issue, since beside the stl no classes
> are involved.
I gave you the link to make your development a little bit easier and
compilation time smaller.
Python-Ogre uses that functionality and it is quite useful. You also
will avoid the warning raised.
>> P.S. I attached my compilation session on Windows and I will send to
>> you the compilation session on Linux this evening
>
> Today I'll start to port my code to WinXP, so I may comment on this this
> evening as well. However, for now I switched to indexing_suite_v1, which
> works fine on the same code.
Okey.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|