2014-01-19 5 views
0

참조로 파이썬 2.7.6과 VC++ 2008 프로젝트를 컴파일하는 동안 다음과 같은 오류를'mod_ty': 선언되지 않은 식별자

Python27/symtable.h (55) 얻을 : 오류 C2065를 : 'mod_ty ': 선언되지 않은 식별자

라인 56분의 55이 포함

:

PyAPI_FUNC(struct symtable *) PySymtable_Build(mod_ty, const char *, 
              PyFutureFeatures *); 

나는 follwing을 광고 등의있어

#include "Python27/node.h" 
#include "Python27/grammar.h" 
#include "Python27/token.h" 
#include "Python27/parsetok.h" 
#include "Python27/errcode.h" 
#include "Python27/compile.h" 
#include "Python27/symtable.h" 
#include "Python27/eval.h" 
#include "Python27/marshal.h" 

내 빌드 ENV는 다음과 같습니다 Win7에의 X32, 어떻게이 문제를 해결하려면 VC++ 08 컴파일러

그러나?

답변

0

mod_ty는 포함되지 않은 Python-ast.h (python 2.7) 안에 있습니다.