MathewWi / wiidoom

Automatically exported from code.google.com/p/wiidoom
0 stars 0 forks source link

Doesn't compile with libogc 1.8.3 / libpng 1.4.1 portlib #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I noticed that the README has changes for 0.4.2, but binaries are only
available for 0.4.1, so I tried to compile the project myself and hit some
errors using the latest SVN trunk (r61) with a clean install of devkitPPC
r21, libogc 1.8.3, with portlibs manually installed as per
http://wiki.devkitpro.org/index.php/portlibs and sdl-wii `make install`ed
from latest trunk.

The attached patch:
1. Adds $(PORTLIBS) to LIBDIRS.
2. Replaces all uses of "boolean" with "bool" (libogc 1.8.3 - boolean macro
removed to avoid interference with libjpeg)
3. Replaces references to png_error_ptr_NULL and png_infopp_NULL with NULL
(removed in libpng 1.4.0 according to my Google-fu, portlib version is 1.4.1)

(The change to WiiDoom/src/doomtype.h is a bit funky as I did a
replace-all, just wanted to report that the above changes shut the compiler
up and give you a .dol)

Original issue reported on code.google.com by jonathan.buchanan on 27 Apr 2010 at 4:05

Attachments:

GoogleCodeExporter commented 9 years ago
Patch applied and committed to SVN

Original comment by jendave....@gmail.com on 6 May 2010 at 10:29