Compiling Wiimednafen

Discussion in 'Wii - Emulation and Homebrew' started by mightymo77, Jan 20, 2013.

  1. mightymo77
    OP

    mightymo77 Advanced Member

    Newcomer
    57
    1
    Sep 3, 2011
    United States
    Hyrule
    I'm trying to compile Wiimednafen with the newest devkitpro so that the emulator will work with the new Wii controllers (why the programmer has not done this I have no idea). I've never done this before, what I'm doing is going in \devkitPro\Programmers Notepad and executing pn.exe. Then file, open, and browse to Wiimednafen makefile. Then I go to tools, make. This is the error I get:

    In file included from c:/Wiimednafen/mednafen/src/video/surface.h:5:0,
    from c:/Wiimednafen/mednafen/src/video.h:4,
    from c:/Wiimednafen/mednafen/src/git.h:6,
    from c:/Wiimednafen/mednafen/src/mednafen.h:12,
    from c:/Wiimednafen/mednafen/src/FileWrapper.cpp:18:
    c:/Wiimednafen/src/wii/common/wii_sdl.h:32:17: fatal error: SDL.h: No such file or directory
    compilation terminated.
    make[1]: *** [FileWrapper.o] Error 1
    "make": *** [build] Error 2

    If anyone knows what the problem is, what I need to do, or can just compile it themselves I would really appreciate the help. Once I'm able to get the newly created Wiimednafen.dol I will put it up on my site so everyone can download it who needs it (or until the programmer updates the official version himself).
     
    sabandellos likes this.