Expanded Windows Compile Guide

Home Forums Development Expanded Windows Compile Guide

  • This topic is empty.
Viewing 15 posts - 181 through 195 (of 216 total)
  • Author
    Posts
  • #26112
    cadbusca
    Participant

    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.

    #26113
    s
    Participant

    i 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
    #26114
    Abossecheno
    Participant

    First 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.

    #26115
    Abossecheno
    Participant

    Agregate to the previous message :

    Is important to say that the devkitpro that I use is the version 24 ¡¡

    #26116
    cadbusca
    Participant

    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?

    #26117
    s
    Participant

    so wimc is now ok. my error. wimc+ is not compiling.

    #26118
    rodries
    Keymaster

    @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!

    #26119
    cadbusca
    Participant

    Thank 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.cpp

    If 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
    #26120
    Abossecheno
    Participant

    I 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 2

    exactly 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).

    #26121
    cadbusca
    Participant

    Why didn’t you read my previous posts which explain how to fix the r23 / r24 problem?

    #26122
    Abossecheno
    Participant

    Because I did it on 13/07 😉

    #26123
    cadbusca
    Participant

    So is your compile now OK?

    #26124
    buzzer
    Participant

    Hi,

    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 🙂

    #26125
    cadbusca
    Participant

    Others 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.

    #26126
    buzzer
    Participant

    Thanks,

    I’ve repeated the creation of the folder wiimc-plus ecc and now it’s working.

    See you soon!

Viewing 15 posts - 181 through 195 (of 216 total)
  • You must be logged in to reply to this topic.

Login

Lost Password