Hi All,
I’m new on wxPython, and I would like to build and install wxPython on WinRT (ARM) systems.
1- I’ve downloaded Python26 sources and compiled it for ARM system (this one is working find under WINRT system)
2- I’ve downloaded wxPython-src-3.0.0.0
3- I’ve downloaded wxWidgets-3.0.0
4- I’m using VS2012 (x86_arm) for building
5- I’ve modified and build wxWidgets for ARM using a bat file under VS2012 (x86_arm) with the following parameters: “nmake -f makefile.vc BUILD=release SHARED=1 COMPILER_VERSION=110 OFFICIAL_BUILD=1 TARGET_CPU=ARM”
Everything has been compiled w/o problem (see file attached 2012xARM_Release.txt), and then the next step is:
To “set WXWIN=C:\wxWidgets-src-3.0.0” and
To Build “wxPython” in order (if I understood well) to copy the necessary files for Python and to build and link the followings files “helpers.cpp”, “_core_wrap.cpp” and to link the “core” file with the command “python setup.py install” under the directory C:\wxPython-3.0.0\wxPython (see file attached).
I got the followings errors and I’m stuck on these, because I don’t know how to solve them when building the helpers.cpp file:
src/helpers.cpp(1496) : error C3861: ‘PyLong_FromLongLong’: identifier not found
src/helpers.cpp(1518) : error C3861: ‘PyLong_AsLongLong’: identifier not found
src/helpers.cpp(1684) : error C3861: ‘PyLong_FromLongLong’: identifier not found
src/helpers.cpp(1707) : error C3861: ‘PyLong_AsLongLong’: identifier not found
src/helpers.cpp(2187) : error C3861: ‘PyUnicode_FromEncodedObject’: identifier not found
src/helpers.cpp(2191) : error C3861: ‘PyUnicode_GET_SIZE’: identifier not found
src/helpers.cpp(2193) : error C2065: ‘PyUnicodeObject’ : undeclared identifier
src/helpers.cpp(2193) : error C2059: syntax error : ‘)’
src/helpers.cpp(2193) : error C3861: ‘PyUnicode_AsWideChar’: identifier not found
src/helpers.cpp(2262) : error C3861: ‘PyUnicode_FromEncodedObject’: identifier not found
src/helpers.cpp(2269) : error C3861: ‘PyObject_Unicode’: identifier not found
src/helpers.cpp(2275) : error C3861: ‘PyUnicode_GET_SIZE’: identifier not found
src/helpers.cpp(2277) : error C2065: ‘PyUnicodeObject’ : undeclared identifier
src/helpers.cpp(2277) : error C2059: syntax error : ‘)’
src/helpers.cpp(2277) : error C3861: ‘PyUnicode_AsWideChar’: identifier not found
src/helpers.cpp(2352) : error C3861: ‘PyUnicode_FromWideChar’: identifier not found
src/helpers.cpp(2374) : warning C4996: ‘strncpy’: This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files\Microsoft Visual Studio 11.0\VC\INCLUDE\string.h(191) : see declaration of ‘strncpy’
src/helpers.cpp(3227) : error C3861: ‘PyUnicode_FromWideChar’: identifier not found
Does anybody can help me and tell me what’s wrong on it ?
2012xARM_Release.txt (507 KB)
wxPython_Install.txt (72.9 KB)