Reqs for compiling the latest release.
Home › Forums › Development › Reqs for compiling the latest release.
- This topic is empty.
-
AuthorPosts
-
February 19, 2011 at 11:33 pm #23434MatokingParticipant
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
February 19, 2011 at 11:42 pm #28540rodriesKeymasterYou’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.
February 19, 2011 at 11:58 pm #28541MatokingParticipantJust 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
February 21, 2011 at 5:20 am #28542fernandovgParticipantHere 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.
-
AuthorPosts
- You must be logged in to reply to this topic.