Post subject: How to compile FCEUX under windows ?
Joined: 8/13/2011
Posts: 3
Hello all, i donwloaded FCEUX sourcecode, uncompress it, installed python and scons but i get lot of "KeyError : 'WINDRES'" errors. i'm using windows 7 64 bits with gcc 4.6.1 64 bits under msys. i can't copy paste errors i can't even redirect error to a file so here is a screenshot : http://hapshack.com/images/fceuxerr.png Thanks for help.
Editor, Emulator Coder, Expert player (2107)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I guess you may compile res.rc (was it?) to res.o manually using windres.exe.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Joined: 8/13/2011
Posts: 3
well, windres res.rc just show contents of the file ( located on fceux/src/drivers/win ). i retried scons, still got same error.
Emulator Coder, Skilled player (1301)
Joined: 12/21/2004
Posts: 2687
It's more common to compile Windows programs with Visual Studio instead of gcc, so it's possible that FCEUX isn't set up to be compiled with the latter on Windows (maybe it should work though, I don't know). You should be able to install Visual C++ 2008 or maybe Visual C++ 2010 and then open "fceultra\fceu\vc\vc9_fceux.sln" and hit Build or Run from there.
Joined: 8/13/2011
Posts: 3
ok thanks, this is what i did, even if i would get to make gcc compile it...