Re: [cx-freeze-users] problems building cx_freeze on windows
Brought to you by:
atuining
From: Michael W. <esi...@gm...> - 2009-12-15 10:39:08
|
2009/12/15 Garrick Chin <non...@gm...>: > I am having the same problem as the "cx_freeze + python3 + PyQt = error" > thread > (http://www.mail-archive.com/cx-...@li.../msg00198.html) > when trying to run cx_freeze on my python program. The latest prebuilt for > Windows doesn't contain the fix yet, so I'm attempting to compile it from > source with the suggested "import sys in freezer.py" fix in that thread. > > After modifying freezer.py with said fix, running "python setup.py build > --compiler=ming32" on the cx_freeze source gives me the error: ^^^^^^^^^^^^^ > C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\rc.exe ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [...] > -mwindows > LINK : warning LNK4044: unrecognized option '/mwindows'; ignored [...] -mwindows is a switch understood by the version of gcc that comes with mingw. Also the --compiler-ming32 implies you should be using mingw to build cx_freeze, but it looks like you're using Visual Studio. Try getting mingw here: http://www.mingw.org/ You might also need to make sure it's before Visual Studio in your PATH. -- Michael Wood <esi...@gm...> |