Welcome! Log In Create A New Profile

Advanced

Compiling SNES9X

Posted by SifJar 
Compiling SNES9X
November 18, 2009 09:08PM
I'm trying to compile SNES9X with a modified libogc so it will work with third party Classic Controllers, but I'm getting the following error:
C:\Homebrew\snes9x-gx>make wii
make -f Makefile.wii
make[1]: Entering directory `/c/Homebrew/snes9x-gx'
gui_button.cpp
In file included from c:/Homebrew/snes9x-gx/source/ngc/gui/gui.h:45,
                 from c:/Homebrew/snes9x-gx/source/ngc/gui/gui_button.cpp:11:
c:/Homebrew/snes9x-gx/source/ngc/FreeTypeGX.h:155:22: warning: ft2build.h: No su
ch file or directory
c:/Homebrew/snes9x-gx/source/ngc/FreeTypeGX.h:156:10: error: #include expects "F
ILENAME" or 
c:/Homebrew/snes9x-gx/source/ngc/FreeTypeGX.h:157:10: error: #include expects "F
ILENAME" or 
In file included from c:/Homebrew/snes9x-gx/source/ngc/gui/gui.h:51,
                 from c:/Homebrew/snes9x-gx/source/ngc/gui/gui_button.cpp:11:
c:/Homebrew/snes9x-gx/source/ngc/oggplayer.h:36:33: warning: tremor/ivorbiscodec
.h: No such file or directory
c:/Homebrew/snes9x-gx/source/ngc/oggplayer.h:37:32: warning: tremor/ivorbisfile.
h: No such file or directory
make[2]: *** [gui_button.o] Error 1
make[1]: *** [build_wii] Error 2
make[1]: Leaving directory `/c/Homebrew/snes9x-gx'
make: *** [wii] Error 2

Can anyone tell me what I need to do? Do I need to install extra libraries or something? Any help is appreciated.
Re: Compiling SNES9X
November 18, 2009 09:13PM
You need to install the freetype, freetypegx, and tremor libraries.



Edited 1 time(s). Last edit at 11/18/2009 09:13PM by Arikado.
Re: Compiling SNES9X
November 18, 2009 09:27PM
I got freetype and freetype GX, where can I find the tremor library?
Re: Compiling SNES9X
November 18, 2009 09:29PM
Why don't you follow the [code.google.com] compiling instructions?



Edited 1 time(s). Last edit at 11/18/2009 09:29PM by Tantric.
Re: Compiling SNES9X
November 18, 2009 09:31PM
Oops, guess I should have looked there...Just that most google code projects dont bother putting stuff on the wiki section, so I didn't think to look there. Sorry.

EDIT: Do I need ALL the libraries in portlibs?

EDIT: OK, put all the libraries in C:/devkitPro/portlibs/ppc (portlibs didnt exist, so I made it and then made a ppc folder inside, is that right?) and I now get the following errors:

C:\Homebrew\snes9x-gx>make
make -f Makefile.wii
make[1]: Entering directory `/c/Homebrew/snes9x-gx'
gui_trigger.cpp
c:/Homebrew/snes9x-gx/source/ngc/gui/gui_trigger.cpp: In member function 'bool G
uiTrigger::Left()':
c:/Homebrew/snes9x-gx/source/ngc/gui/gui_trigger.cpp:175: error: 'diff_usec' was
 not declared in this scope
c:/Homebrew/snes9x-gx/source/ngc/gui/gui_trigger.cpp: In member function 'bool G
uiTrigger::Right()':
c:/Homebrew/snes9x-gx/source/ngc/gui/gui_trigger.cpp:208: error: 'diff_usec' was
 not declared in this scope
c:/Homebrew/snes9x-gx/source/ngc/gui/gui_trigger.cpp: In member function 'bool G
uiTrigger::Up()':
c:/Homebrew/snes9x-gx/source/ngc/gui/gui_trigger.cpp:241: error: 'diff_usec' was
 not declared in this scope
c:/Homebrew/snes9x-gx/source/ngc/gui/gui_trigger.cpp: In member function 'bool G
uiTrigger::Down()':
c:/Homebrew/snes9x-gx/source/ngc/gui/gui_trigger.cpp:274: error: 'diff_usec' was
 not declared in this scope
make[2]: *** [gui_trigger.o] Error 1
make[1]: *** [build_wii] Error 2
make[1]: Leaving directory `/c/Homebrew/snes9x-gx'
make: *** [wii] Error 2



Edited 2 time(s). Last edit at 11/18/2009 09:47PM by SifJar.
Re: Compiling SNES9X
November 19, 2009 07:54AM
diff_usec is declared in lwp_watchdog. so it sounds like you have an old libogc.
Re: Compiling SNES9X
November 19, 2009 06:48PM
1.7.1a. I couldn't compile 1.8 with the modification required for third party classic controllers.
Re: Compiling SNES9X
November 19, 2009 09:01PM
you need 1.8.0.
Sorry, only registered users may post in this forum.

Click here to login