Recent changes Answers (FAQ) Submissions Players Movies Discussion forums Random page Edit this page Logged in as nitsuja Time (GMT+2): 2005-11-13 03:32:14 | HOW To Compile FCEU In WindowsDirections on compiling blip's FCEU for Windows.
Things you needMinGW and MSYS
You can find them at ![]() libSDL for MinGW
You can find it at ![]() The DirectX 7a headers and libraries for MinGW
You can find it at ![]() Zlib
You can find it at ![]() Windows API librariesFCEU source
Which I think you should have since you want to compile it. ;)
Things to doInstall MinGW and MSYS.
Simply run the EXEs and follow the directions. Install MSYS AFTER MinGW
Install the DirectX 7 headers and libraries and Windows API libraries
Simply unzip the archive to C:\MinGW. There will be an include folder and a lib folder. Do NOT extract to C:\MinGW\dx70_mgw. Or you can extract to some folder and copy the include and lib folder over the C:\MinGW directory. You should do the same thing with Windows API libraries. You must rename libmsacm32.a to libacm32.a in your C:\MinGW\lib directory. Install libSDL.
Start MSYS and put SDL-devel-1.x.x.mingw.tar.gz in your home directory. The path will be something like c:\msys\1.0\home\|username| Untar the archive gzip -cd SDL-devel-1.x.x.mingw.tar.gz | tar xNow build libSDL make install-sdl prefix=/mingw Install Zlib
Stay in MSYS, or reopen it if you closed it. Put the zlib-1.x.x.tar.gz archive in your MSYS home dir. Untar the archive tar xvfz zlib-1.x.x.tar.gzor for bz2 tar xvfj zlib-1.x.x.tar.bz2Now change to zlib directory cd zlib-1.x.xConfigure and build zlib ./configure --prefix=/mingw make && make install Compile fceu
Stay in MSYS, or reopen it if you closed it. Extract fceu-0.98.12-blip.src.rar to c:\msys\1.0\home\|username| . Change to the fceu directory cd fceu-0.98.12-blip.srcConfigure the Makefile ./configure --with-nativewin32or for opengl ./configure --with-nativewin32 --with-openglBuild the resource file windres -o src/res.o src/drivers/win/res.resNow make make Strip the executable to make it small
This is optional. Staying in MSYS, run the strip program. strip -s src/fceu.exeAfter being "stripped", I suggest using upx, ![]() ![]() ![]() Edit page | Page info and history | Latest diff | List referrers |