Expanded Windows Compile Guide
Home › Forums › Development › Expanded Windows Compile Guide
- This topic is empty.
-
AuthorPosts
-
July 5, 2011 at 3:52 pm #26112cadbuscaParticipant
I’ve got hundreds of people using this. How can r23 not be compatible with code that works on r22? Makes no sense to me. While I’ve tried to keep up with all these “compiler” changes/prereqs, if I can’t explain this so they can keep compiling the patch, perhaps I should start including the compiled dol in my distribution. What needs to be changed in the patch to compile under r23. I see nothing in the SVN’s that address this.
July 6, 2011 at 10:24 am #26113sParticipanti testet r23 wif patsch (thank you ) deintallet kompeltle and intalletet r24 (it´s yesterday posible). it changes noving.se log
c:/wiimcp/source/fileop.cpp: In function 'bool MountPartitions(int, int)':
c:/wiimcp/source/fileop.cpp:869:24: warning: variable 'disc' set but not used [-Wunused-but-set-variable]
c:/wiimcp/source/fileop.cpp: In function 'int VerifyPlaylistEntry(char*)':
c:/wiimcp/source/fileop.cpp:3482:27: error: 'diropen' was not declared in this scope
c:/wiimcp/source/fileop.cpp:3487:16: error: 'dirclose' was not declared in this scope
make[1]: *** [fileop.o] Error 1
make: *** [build] Error 2
but the code without patsch doesn’t work. strage or
c:/devkitPro/portlibs/ppc/liblibiconv.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make[1]: *** [/c/wiimc/wiimc.elf] Error 1
make: *** [build] Error 2
after this code
PATH=$DEVKITPPC/bin:$PATH
cd /c/wiimc/libs/fribidi/
./configure --host=powerpc-eabi --prefix="${DEVKITPRO}/portlibs/ppc" --libdir="${DEVKITPRO}/portlibs/ppc/lib" --disable-shared
make
make install
cd ..
cd libiconv/
./configure --host=powerpc-eabi --prefix="${DEVKITPRO}/portlibs/ppc" --libdir="${DEVKITPRO}/portlibs/ppc/lib" --disable-shared
make
make install
cd ..
cd pcre/
./configure --host=powerpc-eabi --prefix="${DEVKITPRO}/portlibs/ppc" --libdir="${DEVKITPRO}/portlibs/ppc/lib" --disable-shared
make
make install
cd ..
cd libexif/
./configure --host=powerpc-eabi --prefix="${DEVKITPRO}/portlibs/ppc" --libdir="${DEVKITPRO}/portlibs/ppc/lib" --disable-shared
make
make install
cd ..
cd /c/wiimc
make clean
make
July 13, 2011 at 2:26 am #26114AbossechenoParticipantFirst at all I want to tell that I’m from Argentina and my english isn’t good and want to say very much thanks to jhb50 and all of you that colaborates at this forum, I was receiving the files for each release of WIIMC+ in my e-mail account and finally decide to compile these, is important aclare that I haven’t any experience in programming or compiling, but however after a few failures I finally get compiling with the Expanded Windows Compile Guide.
Now especially for Telman, I was obtaining the same issue that you at the end of the first compiles, and after look wath happend with you I can finally compile the files, following the step in the STEP 4 (were says CODE:SELECT ALL) step by step, and after that the compile results in the wiimc.dol and wiimc.elf, like was (with accuracy) mencioned in the Expanded Windows Compile Guide by jhb50, I must comment that for a moment I don’t trust in this, but the truth is the reality 😉 and all of us may pay attention to the guide step by step ¡¡
Again, thanks, thanks and very much thanks to jhb50 and all of you ¡¡
Soon I’ll tell you how is the WIIMC+ functioning in my WII.July 13, 2011 at 2:29 am #26115AbossechenoParticipantAgregate to the previous message :
Is important to say that the devkitpro that I use is the version 24 ¡¡
July 13, 2011 at 1:06 pm #26116cadbuscaParticipantSo it sounds like that the instructions in the guide are correct regardless if what version of DEVKITPRO is installed.
But you must follow the guide exactly step-by step. Can others confirm this?July 13, 2011 at 4:04 pm #26117sParticipantso wimc is now ok. my error. wimc+ is not compiling.
July 13, 2011 at 7:10 pm #26118rodriesKeymaster@jhb50 wrote:
So it sounds like that the instructions in the guide are correct regardless if what version of DEVKITPRO is installed.
But you must follow the guide exactly step-by step. Can others confirm this?If your patch uses diropen, dirclose, or dirnext it will not compile on dkppc r24. These functions have been removed (ie: no longer exposed) and you must use opendir, closedir, and readdir instead.
I didn’t make dkppc so don’t blame me!
July 13, 2011 at 8:50 pm #26119cadbuscaParticipantThank you for the clarification.
WIIMC+ has an option to check for the validity of music files before adding them to a playlist.
To do so it uses the functions “diropen” and “dirclose” within fileop.cppIf you have installed or upgraded to Devkitpro R23 or R24 you must change those two calls within fileop.cpp to “opendir” and “closedir” before attempting to compile WIIMC+.
After you merge the WIIMC+ patch with SVN 971, here is the code snip that needs to change:
For me they are lines 3460 and 3465.Within function:
int VerifyPlaylistEntry(char *currentfile)
if(strcmp(lastdirsaved,currentdir) != 0) //jhb50 check for changed directory
{
DIR_ITER *dir;
dir = diropen(currentdir); <====== change to opendir
strcpy(lastdirsaved,currentdir);
if(dir)
{
lastdirexists = true;
dirclose(dir); <====== change to closedir
}
else
July 14, 2011 at 12:30 am #26120AbossechenoParticipantI must tell that whilw the program was compiling I can see very much warning message, but finally get de wiimc.dol and .elf, now I’m going to try this boot.dol and will tell you what happend.
Basically the step was:
WIIMC+v9 Quik Install Guide
but the exit was:
Code: Select all
c:/wiimcp/source/fileop.cpp: In function ‘bool MountPartitions(int, int)’:
c:/wiimcp/source/fileop.cpp:869:24: warning: variable ‘disc’ set but not used [-Wunused-but-set-variable]
c:/wiimcp/source/fileop.cpp: In function ‘int VerifyPlaylistEntry(char*)’:
c:/wiimcp/source/fileop.cpp:3482:27: error: ‘diropen’ was not declared in this scope
c:/wiimcp/source/fileop.cpp:3487:16: error: ‘dirclose’ was not declared in this scope
make[1]: *** [fileop.o] Error 1
make: *** [build] Error 2exactly the same that get Telman, so I went back and reading again the guide I look that in the STEP 4 I was forgotten the instructions were says CODE SELECT, and reply this and after continuos with the guide and the compilation was made, with the mentioned warnings messages, but without errors at the end.
I have WIN 7 Ultimate, Phenom xII 555@B55, 4 GB DDR3 mem skill 1600 and the instalation is almost clean.
The compile proccess take a long time (about 30 minutes).July 14, 2011 at 2:05 pm #26121cadbuscaParticipantWhy didn’t you read my previous posts which explain how to fix the r23 / r24 problem?
July 14, 2011 at 11:15 pm #26122AbossechenoParticipantBecause I did it on 13/07 😉
July 15, 2011 at 12:09 am #26123cadbuscaParticipantSo is your compile now OK?
August 13, 2011 at 5:28 pm #26124buzzerParticipantHi,
I followed the steps of the first post, and got a wiimc.dol functioning but “not +”.
After I applied the patch and I got a wiimc.dol that doesn’t work: It makes me return to HBC.
WIIMC is functioning perfectly.I downgraded devtoolkit at rev 22 because of the error you have just tolken about.
I tried a lot of times, I don’t know what to do.
The boot.dol you have emailed me with the package gives the same error: I go back to HBC when I run it.Thanks for your attention 🙂
August 13, 2011 at 7:34 pm #26125cadbuscaParticipantOthers have had no problem. I can only guess that you did not follow the instructions to create the sd1:/ apps/wiimc-plus folder with all the required files, or perhaps you did not use SVN971. I’ve not tested the patch with later SVN’s. I’ve also never seen the app go back to HBC. I think that would imply the dol was never loaded, again indicating that the app folder was never setup correctly.
August 13, 2011 at 9:07 pm #26126buzzerParticipantThanks,
I’ve repeated the creation of the folder wiimc-plus ecc and now it’s working.
See you soon!
-
AuthorPosts
- You must be logged in to reply to this topic.