How to compile VbaGX, FceuGX, Snes9xGX?

Discussion in 'Wii - Emulation and Homebrew' started by TheSly, Jan 2, 2015.

  1. TheSly
    OP

    TheSly Advanced Member

    Newcomer
    89
    2
    Oct 27, 2013
    Australia
    I do exactly as the code google sites tell me...

    I get the last version of DevkitPro.
    I download and include devkitPPC r24 and Libogc 1.8.7.
    And I put the ported libraries into “c:\devkitPro\portlibs\ppc”.

    I download the latest revision of the sources from the code google sites using Tortoise SVN checkout.


    Even if I don't change anything I get this error message when it comes to “make”:

    In file included from c:/Users/Desktop/vbagx/source/gui/gui.h:48:0,
    from c:/Users/Desktop/vbagx/source/menu.h:15,
    from c:/Users/Desktop/vbagx/source/filebrowser.cpp:27:
    c:/Users/Desktop/vbagx/source/fileop.h:18:17: fatal error: fat.h: No such file or directory

    What am I missing?:sad:
     
  2. Jacobeian

    Jacobeian GBAtemp Advanced Maniac

    Member
    1,881
    122
    May 15, 2008
    Cuba
    You need libfat in libogc directory. Inside you have both lib and inc ude subdirectories.
    fat.h should be in include directory and libfat.a in lib directory
    Normally, i think it should be installed automatically when you install devkitppc and libogc with the automated installer but you might need to do it manually.
     
    TheSly likes this.
  3. TheSly
    OP

    TheSly Advanced Member

    Newcomer
    89
    2
    Oct 27, 2013
    Australia
    Thank You for Your answer!

    I completely uninstalled devkit and re-installed it with the automated installer.
    Then I integrated devkitppc r24 (from code google), Libogc 1.8.7 (from code google) and the portlib-files (from code google too).

    Now there is a different error message:
    c:/Desktop/vbagx/source/video.cpp:403:12: error: 'TVPal576IntDfScale' was not declared in this scope

    What does this mean?
     
  4. Jacobeian

    Jacobeian GBAtemp Advanced Maniac

    Member
    1,881
    122
    May 15, 2008
    Cuba
    It means you are using outdated versions of devkitPPC and libogc, last versions are devkitPPC r26 and libogc 1.8.11

    Not sure from what googlecode you got them but you should simply grab the latest version of the automated installer from http://sourceforge.net/projects/devkitpro/files/Automated Installer/ then let him install latest version of devkitppc, libogc and libfat for you, then you only need to copy your portlibs, nothing else.
     
    TheSly likes this.
  5. TheSly
    OP

    TheSly Advanced Member

    Newcomer
    89
    2
    Oct 27, 2013
    Australia
    It's working, thank You!

    As You said, it's devkitPPC r26 and libogc 1.8.1.
    (not the newest versions - devkitPPC r27 and libogc 1.8.12 - they were not working, so I downloaded the older ones manually and now everything works fine:lol:)
     
  6. BITBURGER

    BITBURGER GBAtemp Regular

    Member
    165
    5
    Dec 5, 2014
    Netherlands
    Kerkrade
    @TheSly can you help me with compiling with Snes9x Gx i'm a noob and sorry i know nothing about compiling with DevKitPPC
    of do you have a good version of Snes9x GX with cover support and no glithy sound when i turn enable the hq2x ?
    when i do this now on my version 4.3.2 the sound is glithy and noisy :(
     
  7. nakata6790

    nakata6790 True Player

    Member
    882
    312
    Sep 17, 2009
    Greece
    SNES9X GX version 4.2.8 runs good even with the hq2x filter enabled
     
  8. BITBURGER

    BITBURGER GBAtemp Regular

    Member
    165
    5
    Dec 5, 2014
    Netherlands
    Kerkrade
    Not by me it gives me rary noises with the sound

    Can you ulpoad youre version maybe and is that with or witout cover support?
     
  9. nakata6790

    nakata6790 True Player

    Member
    882
    312
    Sep 17, 2009
    Greece
    Well, 4.2.8. is as good as standalone SNES9X GX gets, speedwise, so the much slower 4.3.2.is probably not to your liking either.

    Anyway, there was talk of a modded 4.2.8. with cover/screenshot support and other goodies by @Zopenko a while ago, he will work on it when he has time. See here:
    http://gbatemp.net/threads/snes9xgx-mod-preview-wiiupro-screenshot-button.389448/page-5

    = EDIT =
    Oh, i see you had participated in that discussion, so all i can say then, is no news yet.