dimok789 / loadiine_gx2

A WiiU SD Loader with GX2 GUI
GNU General Public License v3.0
287 stars 78 forks source link

What are the dependencies needed to compile this? #46

Closed Y2K-x closed 8 years ago

Y2K-x commented 8 years ago

Having some trouble compiling. I don't think I have all the dependencies needed. What are they? Thanks

mariogamer2 commented 8 years ago

Other problem...

linking ... loadiine_gx2.elf /opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.8.2/../../../../powerpc-eabi/bin/ld: /opt/devkitpro/libogc/lib/wii/libmad.a(frame.o): the target (mad_timer_zero) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.data) /opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.8.2/../../../../powerpc-eabi/bin/ld: /opt/devkitpro/libogc/lib/wii/libmad.a(frame.o): the target (mad_timer_zero) of a R_PPC_EMBSDA21 relocation is in the wrong output section (.data) /opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.8.2/../../../../powerpc-eabi/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status /home//libwiiu/loadiine_gx2/Makefile:163: recipe for target '/home/nour/libwiiu/loadiine_gx2/loadiinegx2.elf' failed make[1]: ** [/home/_/libwiiu/loadiine_gx2/loadiinegx2.elf] Error 1 Makefile:141: recipe for target 'build' failed make: ** [build] Error 2

mariogamer2 commented 8 years ago

Also it's not normal that, for build,it's need sudo (and maybe admin colsole on windows) for build....

dimok789 commented 8 years ago

You dont need sudo for build. I build under user login on my linux. Your issue of the first post is that you didnt use the libogc from the release site and maybe even forgot the portlibs. https://github.com/dimok789/loadiine_gx2/releases/tag/v0.2

mariogamer2 commented 8 years ago

Didn't forgot portlib but forgot libogc :D Sorry...

mariogamer2 commented 8 years ago

also,when using make normal, it's giveme that the not granted permission.

like this: cc1plus: error: /opt/devkitpro/portlibs/ppc/include: Permission denied cc1plus: error: /opt/devkitpro/portlibs/ppc/include/freetype2: Permission denied

dimok789 commented 8 years ago

This is an issue because you set the permissions on those folders like that. Just change those permissions to allow "user" and maybe "others" to read that folder (recursivly). Its not a general issue, its just your setup.

mariogamer2 commented 8 years ago

Oh,it's was because I copied libogc and portlibs as sudo,changing the properties is ok...