python-sfml icon indicating copy to clipboard operation
python-sfml copied to clipboard

fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'

Open TheMaverickProgrammer opened this issue 6 years ago • 0 comments

I can confirm I'm using the correct version of SFML 2.3 and it is for x64 arch.

I try running py setup.py install and it cannot find SFML. I cannot seem to direct it to the installation directory (same folder as setup.py)

I try building it (google results suggested this)

py setup.py build_ext --include-dirs=SFML-2.3-windows/SFML-2.3/include -LSFML-2.3-windows/SFML-2.3/lib

and while we make progress, it fails:

error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x86\\link.exe' failed with exit status 1112

No idea why it keeps trying against x86. I even manually changed the arch settings at the top of setup.py to x64 just to force it. No dice.

TheMaverickProgrammer avatar Jan 04 '19 17:01 TheMaverickProgrammer