You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@ysz llbc]# make py_wrap
Python 2.6.6
Building configurations...
Running action 'gmake'...
Done (2080ms).
make[1]: Entering directory /home/llbc/build/gmake' make[1]: Leaving directory /home/llbc/build/gmake'
make[1]: Entering directory `/home/llbc/build/gmake'
Running prebuild commands
python ../../tools/building_script/py_prebuild.py pyllbc
Build methods... Done
Build script integrator... Done
Application.cpp
In file included from ../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptr.h:76:0,
from ../../wrap/pyllbc/include/pyllbc/common/Common.h:33,
from ../../wrap/pyllbc/include/pyllbc/application/PyApplication.h:25,
from ../../wrap/pyllbc/src/application/Application.cpp:24:
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h: In member function ‘int pyllbc_ObjAttrOptr::SetAttr(const LLBC_String&, const _Val&) [with _Val = llbc::LLBC_BasicString; llbc::LLBC_String = llbc::LLBC_BasicString]’:
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h:300:71: error: ‘PyString_FromStringAndSize’ was not declared in this scope
PyObject oVal = PyString_FromStringAndSize(val.data(), val.size());
^
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h: In member function ‘int pyllbc_ObjAttrOptr::SetAttr(const LLBC_String&, const _Val&) [with _Val = char; llbc::LLBC_String = llbc::LLBC_BasicString]’:
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h:311:45: error: ‘PyString_FromString’ was not declared in this scope
PyObject *oVal = PyString_FromString(val);
^
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h: In member function ‘int pyllbc_ObjAttrOptr::SetAttr(const LLBC_String&, const _Val&) [with _Val = long int; llbc::LLBC_String = llbc::LLBC_BasicString]’:
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h:344:40: error: ‘PyInt_FromLong’ was not declared in this scope
PyObject *oVal = PyInt_FromLong(val);
The text was updated successfully, but these errors were encountered:
[root@ysz llbc]# make py_wrap
Python 2.6.6
Building configurations...
Running action 'gmake'...
Done (2080ms).
make[1]: Entering directory
/home/llbc/build/gmake' make[1]: Leaving directory
/home/llbc/build/gmake'make[1]: Entering directory `/home/llbc/build/gmake'
Running prebuild commands
python ../../tools/building_script/py_prebuild.py pyllbc
Build methods... Done
Build script integrator... Done
Application.cpp
In file included from ../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptr.h:76:0,
from ../../wrap/pyllbc/include/pyllbc/common/Common.h:33,
from ../../wrap/pyllbc/include/pyllbc/application/PyApplication.h:25,
from ../../wrap/pyllbc/src/application/Application.cpp:24:
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h: In member function ‘int pyllbc_ObjAttrOptr::SetAttr(const LLBC_String&, const _Val&) [with _Val = llbc::LLBC_BasicString; llbc::LLBC_String = llbc::LLBC_BasicString]’:
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h:300:71: error: ‘PyString_FromStringAndSize’ was not declared in this scope
PyObject oVal = PyString_FromStringAndSize(val.data(), val.size());
^
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h: In member function ‘int pyllbc_ObjAttrOptr::SetAttr(const LLBC_String&, const _Val&) [with _Val = char; llbc::LLBC_String = llbc::LLBC_BasicString]’:
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h:311:45: error: ‘PyString_FromString’ was not declared in this scope
PyObject *oVal = PyString_FromString(val);
^
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h: In member function ‘int pyllbc_ObjAttrOptr::SetAttr(const LLBC_String&, const _Val&) [with _Val = long int; llbc::LLBC_String = llbc::LLBC_BasicString]’:
../../wrap/pyllbc/include/pyllbc/common/ObjAttrOptrImpl.h:344:40: error: ‘PyInt_FromLong’ was not declared in this scope
PyObject *oVal = PyInt_FromLong(val);
The text was updated successfully, but these errors were encountered: