thanks @godreborn, but i already i think i got it.@SaulFabre , I think I may know the source of your problem. you didn't set the bin folder to environmental variables:
export PATH=/opt/devkitpro/devkitPPC/bin:$PATH
I couldn't get it to compile though. it went on for a while, but then it got stuck at fat.h. libfat doesn't seem to work correctly, so the project may be too old.
that still doesn't work for me. it can't find gctypes or gccore, not sure why.thanks @godreborn, but i already i think i got it.
I just used the build.bat script provided with the source code and it compiled it for me.
Only thing i saw that didn't compile was the WiiVC versions (but that doesn't matter to me)
don't know what is your problem...that still doesn't work for me. it can't find gctypes or gccore, not sure why.
I think I got all errors corrected except wiidrc/wiidrc.h. there's no make install with it, so I don't know where the files go for that.don't know what is your problem...
but today i was fixing some code for autobooting games on Wii64 and when i got to compiling, i finally got compiling both original Wii and WiiVC versions of Wii64.
Download the prebuilt library: http://github.com/FIX94/libwiidrc/releasesI think I got all errors corrected except wiidrc/wiidrc.h. there's no make install with it, so I don't know where the files go for that.
extract library or the contents of library?Download the prebuilt library: http://github.com/FIX94/libwiidrc/releases
Extract its content in C:/devkitPro/portlibs/wii/ and C:/devkitPro/portlibs/ppc/
extract the content (all the folders of the library) in the folders i mentioned.extract library or the contents of library?
same thing happened to me, but i got the elf files luckily.still doesn't work:
C:\Users\GODREBORN\Desktop\f\Wii64>del release\*.dol /s
Could Not Find C:\Users\GODREBORN\Desktop\f\Wii64\release\*.dol
C:\Users\GODREBORN\Desktop\f\Wii64>mv cube*.dol release\gamecube\
mv: cannot stat 'cube*.dol': No such file or directory
C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-glN64.dol release\apps\wii64\boot.dol
mv: cannot stat 'wii64-glN64.dol': No such file or directory
C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-glN64-wiivc.dol release\apps\wii64_wiivc\boot.dol
mv: cannot stat 'wii64-glN64-wiivc.dol': No such file or directory
C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-Rice.dol "release\apps\wii64 Rice\boot.dol"
mv: cannot stat 'wii64-Rice.dol': No such file or directory
C:\Users\GODREBORN\Desktop\f\Wii64>mv wii64-Rice-wiivc.dol "release\apps\wii64 Rice_wiivc\boot.dol"
mv: cannot stat 'wii64-Rice-wiivc.dol': No such file or directory
C:\Users\GODREBORN\Desktop\f\Wii64>pause
Press any key to continue . . .
????I got no elf files.
i git cloned itdid you git clone or did you get the source code from "release"?
maybe you need to take a look at this entire thread?: https://www.gc-forever.com/forums/viewtopic.php?f=9&t=5146&p=50358#p50358I got this error with linux: powerpc-eabi/bin/ld: cannot find -lfat
collect2
no idea what to do now.
I give up. I've tried everything. the only thing that makes sense is that the ppc version I'm using is too new.maybe you need to take a look at this entire thread?: https://www.gc-forever.com/forums/viewtopic.php?f=9&t=5146&p=50358#p50358
godreborn@GODREBORN-LAPTOP:~/Wii64-1.3-20212212$ make -f Makefile.glN64_wiiCompiled on linux few months ago, I've added this at the beginning of Makefile.base :
include $(DEVKITPPC)/wii_rules
It also might depend how you installed the libs with the pacman utility. Not too fond of this change in devkitpro but once used to it, it's not so bad.