Reqs for compiling the latest release.

Home Forums Development Reqs for compiling the latest release.

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23434
    Matoking
    Participant

    I am trying to compile 1.1.3 and running into some errors, is there a list of required libraries that have changed since 1.1.2? I have installed the libs that come with the wiimc svn checkout and I’m not seeing anything new on the devkitpro site.

    avidec.c:25:21: fatal error: strings.h: No such file or directory
    compilation terminated.
    make[2]: *** [avidec.o] Error 1
    make[2]: Leaving directory `/home/boondoklife/Apps/wii/wiimc-read-only/source/mplayer/ffmpeg/libavformat'
    make[1]: *** [ffmpeg/libavformat/libavformat.a] Error 2
    make[1]: Leaving directory `/home/boondoklife/Apps/wii/wiimc-read-only/source/mplayer'
    filebrowser.cpp
    fileop.cpp
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp: In function 'void* devicecallback(void*)':
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp:155:27: error: too many arguments to function 'BOOL ISO9660_Unmount()'
    /opt/devkitpro/libogc/include/iso9660.h:13:6: note: declared here
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp: In function 'void AddPartition(sec_t, int, int, int*)':
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp:485:34: error: too many arguments to function 'BOOL ISO9660_Mount()'
    /opt/devkitpro/libogc/include/iso9660.h:12:6: note: declared here
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp:488:47: error: 'ISO9660_GetVolumeLabel' was not declared in this scope
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp: In function 'int FindPartitions(int)':
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp:539:47: error: 'USBStorage_IsDVD' was not declared in this scope
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp: In function 'void UnmountPartitions(int)':
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp:779:26: error: too many arguments to function 'BOOL ISO9660_Unmount()'
    /opt/devkitpro/libogc/include/iso9660.h:13:6: note: declared here
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp: In function 'bool MountDVD(bool)':
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp:974:46: error: too many arguments to function 'BOOL ISO9660_Mount()'
    /opt/devkitpro/libogc/include/iso9660.h:12:6: note: declared here
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp: In function 'bool WakeupUSB()':
    /home/boondoklife/Apps/wii/wiimc-read-only/source/fileop.cpp:1021:22: error: 'USBStorage_IsDVD' was not declared in this scope
    make[1]: *** [fileop.o] Error 1
    make: *** [build] Error 2
    #28540
    rodries
    Keymaster

    You’ll need to compile the latest libogc and you’ll need to either add #ifndef GEKKO / #endif around all each of those files with #include , or you’ll have to wait for the next devkitppc and libogc releases.

    #28541
    Matoking
    Participant

    Just to make sure I am understanding correctly, I need to scan through and put ‘#ifndef GEKKO’ / ‘#endif’ around the lines ‘#include ‘ that are in all the files?

    Do I also need to do this for the files pulled from the wiimc SVN or just the devkit/libogc one?

    Thanks

    #28542
    fernandovg
    Participant

    Here is my work around to build WiiMC 1.1.3
    1. Create strings.h under devkitProdevkitPPCpowerpc-eabiinclude, you may copy it from MinGWinclude or create it as following. This avoids the step advised by Tantric to add #ifndef GEKKO / #endif around all each of those files with #include


    /*
    File: strings.h
    Copyright: Public Domain

    This file is provided because non ANSI fuctions are described in string.h
    that belong in strings.h. These functions are provided for in the OLDNAME
    libraries.
    */
    #if !defined(_STRINGS_H_)
    # define _STRINGS_H_ 1
    # include
    #endif

    2. check out latest devkitPro source from https://devkitpro.svn.sourceforge.net/svnroot/devkitpro
    open a msys shell under devkitprotrunklibogc, run make and make install to update the libogc. You need do this because WiiMC 1.1.3 uses the new iso9660.h. In case you have error “*** No rule to make target `console.o’, needed by `/wii/libogc.a’. Stop.” when do the make, type unset PLATFORM from msys shell and try to make it again.

    3. Following the guide http://www.wiimc.org/forum/viewtopic.php?f=5&t=489 to build WiiMC. Make sure you have PATH=$DEVKITPPC/bin:$PATH when building the dependency libs from msys.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Login

Lost Password