Compiling of TexGen with Python 3.x

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
sprobst76
Posts: 7
Joined: Thu Jul 02, 2009 7:09 am

Compiling of TexGen with Python 3.x

Post by sprobst76 »

Hi all,

i tried to compile TexGen with the latest version 3.1 of Python. But some methods were removed since 3.0 which are necessary in PythonWrapper.cpp.

PyString_FromString, PyInstance_New,PyInt_AsLong,PyString_Check & PyString_AsString are no longer part of Python (compilation error C3861).

Does anybody solved that problem already, otherwise I will try it myself.

A first internet search does not give any useful answers.

Best regards
Stefan
Post Reply