Hacking [REWRITE] Compiling don't work ...

NexoCube

Well-Known Member
OP
Member
Joined
Nov 3, 2015
Messages
1,222
Trophies
0
Age
26
Location
France
XP
1,284
Country
France
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'

[email protected] /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
 

totlol

New Member
Newbie
Joined
Jan 8, 2016
Messages
3
Trophies
0
Age
35
XP
32
Country
Hungary
It looks like the powerpc-eabi-gcc is not found on your PATH. Did you install the powerpc toolchain?
 

NexoCube

Well-Known Member
OP
Member
Joined
Nov 3, 2015
Messages
1,222
Trophies
0
Age
26
Location
France
XP
1,284
Country
France
It looks like the powerpc-eabi-gcc is not found on your PATH. Did you install the powerpc toolchain?
I don't think so ? So i have to reinstall it (With DevKitPro Update i suppose)

--------------------- MERGED ---------------------------

It looks like the powerpc-eabi-gcc is not found on your PATH. Did you install the powerpc toolchain?
ahh, DevKit give me the same error when i run the make command :P Okay, okay i have to reinstall it, thanks you :D

--------------------- MERGED ---------------------------

It looks like the powerpc-eabi-gcc is not found on your PATH. Did you install the powerpc toolchain?
Look like i already have it, crazy isn't it ?
 

NexoCube

Well-Known Member
OP
Member
Joined
Nov 3, 2015
Messages
1,222
Trophies
0
Age
26
Location
France
XP
1,284
Country
France
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)
 

NexoCube

Well-Known Member
OP
Member
Joined
Nov 3, 2015
Messages
1,222
Trophies
0
Age
26
Location
France
XP
1,284
Country
France
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
 
General chit-chat
Help Users
  • kenenthk @ kenenthk:
    Big butt so what
    Gift
  • kenenthk @ kenenthk:
    Cap or slap
    Gift
  • Xzi @ Xzi:
    "why hasnt disney sued for infringing a name?" Because Universal lost the King Kong versus Donkey Kong lawsuit in the 80s
    Gift
  • Xzi @ Xzi:
    no reasonable person can mix up snoop dogg with snoopy
    Gift
  • kenenthk @ kenenthk:
    Snoopy dog og double g yo
    Gift
  • Xzi @ Xzi:
    this is church music, listen to the choir, to burn my kush you must use fire
    Gift
  • kenenthk @ kenenthk:
    I believe in the almighty fuck that hoe
    Gift
  • kenenthk @ kenenthk:
    This black cherry Pepsi is disgusting
    Gift
  • PeeJay Bonobo @ PeeJay Bonobo:
    I used to like Black Cherry Pepsi
    Gift
  • PeeJay Bonobo @ PeeJay Bonobo:
    Now, I just avoid soda altogether.
    Gift
  • kenenthk @ kenenthk:
    I drink soda like once a week if that even
    Gift
  • kenenthk @ kenenthk:
    It's okay to have anything in moderation unless your doctor says different
    Gift
  • kenenthk @ kenenthk:
    New chucky series is just eh
    Gift
  • Veho @ Veho:
    Shame.
    Gift
  • Veho @ Veho:
    I heard it's more R.L. Stine than serious horror.
    Gift
  • kenenthk @ kenenthk:
    It's mostly trying to please new audience by saying we're okay with your sexual orientation and don't discriminate with a few murders here and there
    Gift
  • Veho @ Veho:
    They had that in the movies too.
    Gift
  • kenenthk @ kenenthk:
    Yeah but it's more in your force sort of
    Gift
  • Veho @ Veho:
    Chucky's son/daughter in Seed of Chucky.
    Gift
  • kenenthk @ kenenthk:
    It's not horrible just feels like they're trying to please crowds too hard
    Gift
  • kenenthk @ kenenthk:
    He did make a reference to his gender fluid son saying he doesn't have a problem with it which was a cool way to tie plots
    Gift
  • Veho @ Veho:
    "I don't know f I'm male or female or both or neither..:" "But do you like stabbing?" "Yes." "Then I love you."
    Gift
  • Veho @ Veho:
    "Let's go murder some people.
    Gift
  • kenenthk @ kenenthk:
    It just feels more cast heavy and not much focus on chucky imo
    Gift
  • katebeyond @ katebeyond:
    Monster Hunter Stories 2 Save
    Does anyone have a 100% complete storyline save?
    Nintendo Switch
    Gift
    katebeyond @ katebeyond: Monster Hunter Stories 2 Save Does anyone have a 100% complete storyline save...