Compiling Genplus-Gx

Discussion in 'Wii - Emulation and Homebrew' started by Sheimi, Jul 23, 2012.

Jul 23, 2012

Compiling Genplus-Gx by Sheimi at 6:06 PM (809 Views / 0 Likes) 8 replies

  1. Sheimi
    OP

    Member Sheimi A cute Vixen!

    Joined:
    Oct 22, 2009
    Messages:
    1,866
    Location:
    Tachikawa
    Country:
    Japan
    Everytime when I go to compile the current rev of GenPlus-GX Wii, I get a bunch of errors. I made sure all the ppc are there. Source has not been modified.

    Errors


    Warning: Spoilers inside!
     
  2. daxtsu

    Member daxtsu -

    Joined:
    Jun 9, 2007
    Messages:
    5,289
    Country:
    Antarctica
    You need to install the libogc portlibs for compilation of genplus(and a lot of other homebrews) to work. More specifically, libpng.

    They go in your devkitpro folder, then in libogc, and include/lib.
     
  3. Sheimi
    OP

    Member Sheimi A cute Vixen!

    Joined:
    Oct 22, 2009
    Messages:
    1,866
    Location:
    Tachikawa
    Country:
    Japan
    I did put the portlibs where you told me and I still get the same errors.
     
  4. daxtsu

    Member daxtsu -

    Joined:
    Jun 9, 2007
    Messages:
    5,289
    Country:
    Antarctica
    You're using Makefile.wii now, right? I don't think the portlibs come compiled for gamecube. I could be wrong, though. :|
     
  5. Jacobeian

    Member Jacobeian GBAtemp Advanced Maniac

    Joined:
    May 15, 2008
    Messages:
    1,879
    Country:
    Cuba
    That's not the problem. The problem is that the .h files that comes in the include directory of the last ppc build of libpng are symbolic links, i.e empty files. You must copy the files that are in the /include/libpng15 directory directory to /include. Same goes for libpng.a in /lib directory, you must rename libpng15.a to libpng.a.

    Without doing that, no apps relying on libpng will compile.
     
  6. daxtsu

    Member daxtsu -

    Joined:
    Jun 9, 2007
    Messages:
    5,289
    Country:
    Antarctica
    Mm. Forgot about that part. :P
     
  7. Sheimi
    OP

    Member Sheimi A cute Vixen!

    Joined:
    Oct 22, 2009
    Messages:
    1,866
    Location:
    Tachikawa
    Country:
    Japan
    Well, using compile_all.bat to compile everything. It does use make -f makefile.wii. Not sure why it won't let me compile.
     
  8. Jacobeian

    Member Jacobeian GBAtemp Advanced Maniac

    Joined:
    May 15, 2008
    Messages:
    1,879
    Country:
    Cuba
    Do what i told you and it will compile. It's not a problem with a makefile or with compilation of this specific program, it's a problem of incorrect installation of libpng.
     
  9. Sheimi
    OP

    Member Sheimi A cute Vixen!

    Joined:
    Oct 22, 2009
    Messages:
    1,866
    Location:
    Tachikawa
    Country:
    Japan
    Tried what you told me to do and it worked. Thank you for helping
     

Share This Page