[REWRITE] Compiling don't work ...

Discussion in 'Wii U - Hacking & Backup Loaders' started by NexoCube, Jan 8, 2016.

  1. NexoCube
    OP

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    I just tried compiling some example or cafiine, loadiine and it doesn't work ...

    here's what i did : (Tested with helloworld in this case)

    I opened cygwin, CD to my libwiiu folder and i wrote that

    Code:
    python build.py examples/helloworld
    Here's what i get :

    Code:
    $ python build.py examples/helloworld
    Building for your cygwin_nt-6.1 platform...
    mkdir -p ./bin
    # Build findcode
    powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532+ ./src/findcode532.c
    make: powerpc-eabi-gcc : commande introuvable
    Makefile:14 : la recette pour la cible « findcode532 » a échouée
    make: *** [findcode532] Erreur 127
    mkdir -p ./bin/532/
    mkdir -p ./bin/500/
    mkdir -p ./bin/410/
    mkdir -p ./bin/400/
    mkdir -p ./bin/310/
    mkdir -p ./bin/300/
    mkdir -p ./bin/210/
    mkdir -p ./bin/200/
    powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532  ./src/*.c
    /bin/sh: powerpc-eabi-gcc : commande introuvable
    Makefile:18 : la recette pour la cible « libwiiu532 » a échouée
    make: *** [libwiiu532] Erreur 127
    mkdir -p ./bin/
    powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532 src/*.c
    /bin/sh: powerpc-eabi-gcc : commande introuvable
    Makefile:15 : la recette pour la cible « main532 » a échouée
    make: *** [main532] Erreur 127
    Traceback (most recent call last):
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 169, in <module>
        main()
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 68, in main
        code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/cygdrive/c/Users/utilisateur/Desktop/libwiiu/examples/helloworld/bin/code532.bin'
    Traceback (most recent call last):
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 169, in <module>
        main()
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 68, in main
        code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/cygdrive/c/Users/utilisateur/Desktop/libwiiu/examples/helloworld/bin/code500.bin'
    Traceback (most recent call last):
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 169, in <module>
        main()
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 68, in main
        code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/cygdrive/c/Users/utilisateur/Desktop/libwiiu/examples/helloworld/bin/code410.bin'
    Traceback (most recent call last):
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 169, in <module>
        main()
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 68, in main
        code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/cygdrive/c/Users/utilisateur/Desktop/libwiiu/examples/helloworld/bin/code400.bin'
    Traceback (most recent call last):
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 169, in <module>
        main()
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 68, in main
        code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/cygdrive/c/Users/utilisateur/Desktop/libwiiu/examples/helloworld/bin/code310.bin'
    Traceback (most recent call last):
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 169, in <module>
        main()
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 68, in main
        code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/cygdrive/c/Users/utilisateur/Desktop/libwiiu/examples/helloworld/bin/code300.bin'
    Traceback (most recent call last):
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 169, in <module>
        main()
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 68, in main
        code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/cygdrive/c/Users/utilisateur/Desktop/libwiiu/examples/helloworld/bin/code210.bin'
    Traceback (most recent call last):
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 169, in <module>
        main()
      File "/cygdrive/c/Users/utilisateur/Desktop/libwiiu/framework/generate_html.py", line 68, in main
        code = open(ar1, 'rb').read()
    IOError: [Errno 2] No such file or directory: '/cygdrive/c/Users/utilisateur/Desktop/libwiiu/examples/helloworld/bin/code200.bin'
    
    utilisateur@utilisateur-PC /cygdrive/c/Users/utilisateur/Desktop/libwiiu
    $
    
    
    I'm using Python 2.7

    So, is it me ? (Because i'm not a big pro (cc BullyWii))

    Or is the build.py or the file directory wrong ?

    PS: I'm French :P if someone is french and know the answer, post it in french :P
     
  2. totlol

    totlol Newbie

    Newcomer
    3
    1
    Jan 8, 2016
    Hungary
    It looks like the powerpc-eabi-gcc is not found on your PATH. Did you install the powerpc toolchain?
     
  3. NexoCube
    OP

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    I don't think so ? So i have to reinstall it (With DevKitPro Update i suppose)

    — Posts automatically merged - Please don't double post! —

    ahh, DevKit give me the same error when i run the make command :P Okay, okay i have to reinstall it, thanks you :D

    — Posts automatically merged - Please don't double post! —

    Look like i already have it, crazy isn't it ?
     
  4. NexoCube
    OP

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    Okay, i'm back !Sooo, it's steal telling me the same thing :c

    Apparently, it's in the bin/sh folder that doesn't exist in my DevKitPPC folder (I'm using the Full 1.6 Installation)
     
  5. EclipseSin

    EclipseSin FullMental Trollemist

    Member
    1,813
    1,287
    Apr 1, 2015
    United States
    Vegeta's Hyrule
  6. Krak-ON

    Krak-ON Member

    Newcomer
    32
    17
    Nov 10, 2015
    United States
  7. NexoCube
    OP

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
  8. EclipseSin

    EclipseSin FullMental Trollemist

    Member
    1,813
    1,287
    Apr 1, 2015
    United States
    Vegeta's Hyrule
    It's for linux, but you might fix your problem with it. Bully's guide should be good too.
     
  9. Krak-ON

    Krak-ON Member

    Newcomer
    32
    17
    Nov 10, 2015
    United States
  10. NexoCube
    OP

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    Ok ! Worked :D

    I have just forgotten to add the bin folder into the Path (in Environnement Variable) :P

    A HUGGGGGGGGGE and MASIVE thx to EclipseSin and Krak-ON