[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Help with pygame compilation





On 12/21/2010 10:22 AM, A BC wrote:
Hi everyone,


Please correct me if I am not on the right list, or if my question is
misplaced, or if the subject is not well chosen.

Here is my issue :
- Running on a 32bits Win7 with Python 2.7 and VC++ 9.0
- Setup.py crashes when it is to compile transform.lib : linking does
not find scale_mmx.obj
"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL
/nologo /INCREMENTAL:NO "/LIBPATH:C:/Program Files/Microsoft Visual
Studio 9.0/vc/lib/" /LIBPATH:C:\Python27\libs
/LIBPATH:C:\Python27\PCbuild SDL.lib /EXPORT:inittransform
build\temp.win32-2.7\Release\src/transform.obj
build\temp.win32-2.7\Release\src/rotozoom.obj
build\temp.win32-2.7\Release\src/scale2x.obj obj\win32\scale_mmx.obj
/OUT:build\lib.win32-2.7\pygame\transform.pyd
/IMPLIB:build\temp.win32-2.7\Release\src\transform.lib
/MANIFESTFILE:build\temp.win32-2.7\Release\src\transform.pyd.manifest
LINK : fatal error LNK1181: impossible d'ouvrir le fichier en entrée
'obj\win32\scale_mmx.obj'
"
(please excuse my french on the link error. The message is "LNK1181:
unable to open input file 'obj\win32\scale_mmx.obj'")


Well, I am open to anything that could help me have pygame without
installing Python 2.6 (nor MinGW)

pygame-1.9.2pre installers for Python 2.7 are available at <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame>



P.S. : I had to patch the file "Setup" because SDL was not found. I just
replaced the "/NEED_INCLUDE_PATH_FIXED" and lib path. It works for the
previous libs to compile.
P.P.S. : I understand that "obj\win32\scale_mmx.obj" is the missing
file. I don't know how to have it. I tried to use the scale_mmx.obj
compiled in temp.win32-2.7/... but the linking is not better : 8
external links missing.


Thank you so much !