Hello everyone, this is my first post, and I had some problem when i tried to compile mame, I made as following the instruction like is down, but i had a terribles errors and i didn¡'t compile How to compile MameUI 0126 u4 (Skip the MameUI steps to compile standard Mame) 1. Install Mame Compiler 2. Download the Mame source from mamedev.org (ie. mame0126s.exe) 3. Download the Intermediate Updates from mamedev.org (ie. 0126u1_diff.zip, 0126u2_diff.zip, 0126u3_diff.zip, 0126u4_diff.zip) 4. Download MameUI source from here (ie. MameUIs.126.4) 5. Download the hiscore diff patch from here (ie. hi_126u4.txt) 6. Rename hi_126u4.txt to hi_126u4.diff and copy the file into C:\MinGW\patches 7. Extract the Intermediate Update diff's to C:\MinGW\patches 8. Run mame0126s.exe and extract it to C:\MinGW\source\Mame0126u4 9. Run MameUIs.exe and extract it to C:\Temp\MameUI then copy "mameui.mak" to C:\MinGW\source\Mame0126u4 and the "winui" folder to C:\MinGW\source\Mame0126u4\src\osd\winui. 10. Run Mame Compiler (Start->Program Files->Mame Compiler->MameCompiler) 11. Click the [...] button to browse for the "Mame Source Folder" and point it to C:\MinGW\source\Mame0126u4 12. Click the [...] button to browse for the "Diff Patch File" and point it to C:\MinGW\patches\126u1.diff 13. Click the "Apply Patch" button. 14. Repeat step 12 for 0126u2.diff, 0126u3.diff and 0126u4.diff, then hi_126u4.diff 15. Put a tick next to the "Mame UI" option if your compiling MameUI 16. Press the "GO!" button to compile Mame 17. When it's finished compiling it should create a "mame.exe" file in the C:\MinGW\source\Mame0126u4 folder I tried with version of mame126,128,129, but it doesn't work when i used that version i used to hi_126, hi_128, hi_129, respectibly, but i don't how i can make it. The errors it was src/lib/util/palette.c:251: error: redefinition of 'palette_get_max_index' src/lib/util/palette.c:239: error: previous definition of 'palette_get_max_index' was here src/lib/util/palette.c:263: error: redefinition of 'palette_get_max_index' src/lib/util/palette.c:239: error: previous definition of 'palette_get_max_index' was here Finished! 0 Hours 1 Minutes and 1 Seconds Elapsed. mingw32-make: *** [obj/windows/mamed/lib/util/palette.o] Error 1 If some one can help me I'll be apreciate, tks. error.bmp