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

  • Thread starter Thread starter NexoCube
  • Start date Start date
  • Views Views 1,768
  • Replies Replies 9

NexoCube

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
1,222
Reaction score
643
Trophies
0
Age
31
Location
France
XP
1,360
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'

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
 
It looks like the powerpc-eabi-gcc is not found on your PATH. Did you install the powerpc toolchain?
 
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 ?
 
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)
 
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
 

Site & Scene News

Popular threads in this forum