From 0c784c800d074bbb21a5d1d4a6cd7f18bf9decac Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Wed, 21 Oct 2009 01:34:15 +0000 Subject: [PATCH] [BUG] template was not working on devkitPro 18 [CHG] pngu.h is needed in GRRLIB_texSetup.h for GRRLIB_ScrShot [CHG] pngu.h and jpeglib.h are not needed in GRRLIB_texSetup.h --- GRRLIB/GRRLIB/GRRLIB_fileIO.c | 1 + GRRLIB/GRRLIB/grrlib/GRRLIB_texSetup.h | 3 --- examples/template/Makefile | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/GRRLIB/GRRLIB/GRRLIB_fileIO.c b/GRRLIB/GRRLIB/GRRLIB_fileIO.c index c64e6aa..548705c 100644 --- a/GRRLIB/GRRLIB/GRRLIB_fileIO.c +++ b/GRRLIB/GRRLIB/GRRLIB_fileIO.c @@ -21,6 +21,7 @@ THE SOFTWARE. ------------------------------------------------------------------------------*/ #include #include +#include /** * Load a file to memory. diff --git a/GRRLIB/GRRLIB/grrlib/GRRLIB_texSetup.h b/GRRLIB/GRRLIB/grrlib/GRRLIB_texSetup.h index cb353b1..9602755 100644 --- a/GRRLIB/GRRLIB/grrlib/GRRLIB_texSetup.h +++ b/GRRLIB/GRRLIB/grrlib/GRRLIB_texSetup.h @@ -26,12 +26,9 @@ THE SOFTWARE. */ #include -#include #include #include -#include // this bad header file must be included last :( - /** * Create an empty texture. * @param w Width of the new texture to create. diff --git a/examples/template/Makefile b/examples/template/Makefile index c54c4fa..6304666 100644 --- a/examples/template/Makefile +++ b/examples/template/Makefile @@ -45,7 +45,7 @@ LIBS += -lm # Compilers & utils which we will be using #------------------------------------------------------------------------------- BINDIR := $(DEVKITPPC)/bin -PREFIX := $(BINDIR)/powerpc-gekko- +PREFIX := $(BINDIR)/powerpc-eabi- CC := $(PREFIX)gcc CXX := $(PREFIX)g++