I'm trying to follow the build instructions for windows.
I cloned the window dependencies to the pygame_sdl2 folder and run
python2 setup.py install
and it fails with the following:
< above there are no errors >
building 'pygame_sdl2.rwobject' extension
C:\Users\mitch\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -I. -Isrc -Ipygame_sdl2_windeps\include -Ipygame_sdl2_windeps\include27 -IC:\Python27\include -IC:\Python27\PC /Tcgen\pygame_sdl2.rwobject.c /Fobuild\temp.win32-2.7\Release\gen\pygame_sdl2.rwobject.obj
pygame_sdl2.rwobject.c
src\python_threads.h(12) : error C2054: expected '(' to follow 'inline'
src\python_threads.h(12) : error C2085: 'init_python_threads' : not in formal parameter list
src\python_threads.h(12) : error C2143: syntax error : missing ';' before '{'
gen\pygame_sdl2.rwobject.c(2829) : warning C4244: '=' : conversion from 'Sint64' to 'size_t', possible loss of data
gen\pygame_sdl2.rwobject.c(4647) : warning C4013: 'init_python_threads' undefined; assuming extern returning int
error: command 'C:\\Users\\mitch\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\bin\\cl.exe' failed with exit status 2
I'm running python2.7 32 and have Microsoft Visual C++ Compiler for Python 2.7 installed.
I'm trying to follow the build instructions for windows.
I cloned the window dependencies to the pygame_sdl2 folder and run
python2 setup.py install
and it fails with the following:
I'm running python2.7 32 and have
Microsoft Visual C++ Compiler for Python 2.7
installed.