Topic: compilation with -DUSE_PYTHON_BINDINGS=ON

Hello,
when I compile oofem without -DUSE_PYTHON_BINDINGS, everythoing is ok. But when I use -DUSE_PYTHON_BINDINGS=ON, compilation is without any error, but running oofem executable, before oofem actually starts, SIGSEGV error is thrown. Do you have any idea ho to solve it?
I use newest git version (16d25786ea829b2834fc3b4998b89b9f834532ba, Mon May 6 21:45:35 2013 +0200), Ubuntu 12.04 and Python 2.7
Thanks
Jan

PS: inporting oofem in python is also without problems

Re: compilation with -DUSE_PYTHON_BINDINGS=ON

It seems like some bug have gotten into the static initialization in the python bindings.
The python bindings are rather complex, but from what I could gather, it had something to do with a global variable, (and by trail and error I found "temp_global" ). The global variable doesn't seem necessary, so I removed it.

I just pushed some code.

Re: compilation with -DUSE_PYTHON_BINDINGS=ON

Hello Mikael,
it works now. temp_global variable actually comes from me, I did not expect these difficulties.
Thanks very much for debugging time and solution :-)
Jan