ScriptLib folder / StdAfx.h
Remplace:
#ifdef _DEBUG
#undef _DEBUG
#include "Python-2.2/Python.h"
#define _DEBUG
#else
#include "Python-2.2/Python.h"
#endif
#include "Python-2.2/node.h"
#include "Python-2.2/grammar.h"
#include "Python-2.2/token.h"
#include "Python-2.2/parsetok.h"
#include "Python-2.2/errcode.h"
#include "Python-2.2/compile.h"
#include "Python-2.2/symtable.h"
#include "Python-2.2/eval.h"
#include "Python-2.2/marshal.h"
To:
#ifdef _DEBUG
#undef _DEBUG
#include "Python-2.7/Python.h"
#define _DEBUG
#else
#include "Python-2.7/Python.h"
#endif
#include "Python-2.7/node.h"
#include "Python-2.7/grammar.h"
#include "Python-2.7/token.h"
#include "Python-2.7/parsetok.h"
#include "Python-2.7/errcode.h"
#include "Python-2.7/compile.h"
#include "Python-2.7/symtable.h"
#include "Python-2.7/eval.h"
#include "Python-2.7/marshal.h"
ScriptLib folder / PythonLauncher.cpp
Remplace:
#include "Python-2.2/frameobject.h"
To:
#include "Python-2.7/frameobject.h"
ScriptLib folder / PythonLauncher.h
Remplace:
#include "Python-2.2/frameobject.h"
To:
#include "Python-2.7/frameobject.h"
ScriptLib folder / PythonMarshal.cpp
Remplace:
#include "Python-2.2/longintrepr.h"
To:
#include "Python-2.7/longintrepr.h"
ScriptLib folder / PythonUtils.cpp
Search (top of the file):
#include "PythonUtils.h"
Add this just after:
#define PyLong_AsLong PyLong_AsLongLong
#define PyLong_AsUnsignedLong PyLong_AsUnsignedLongLong
UserInterface folder / UserInterface.cpp
Remplace:
#pragma comment( lib, "python22.lib" )
To:
#pragma comment( lib, "python27.lib" )
In your include folder / python-2.7 folder / symtable.h
Search:
PyAPI_FUNC(struct symtable *) PySymtable_Build(mod_ty, const char *,
PyFutureFeatures *);
And comment these two lines like that:
//PyAPI_FUNC(struct symtable *) PySymtable_Build(mod_ty, const char *,
// PyFutureFeatures *);
If you need any file from lib/include just tell us.