Gamer125 / genplus-gx

Automatically exported from code.google.com/p/genplus-gx
Other
0 stars 0 forks source link

Need help compiling. #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I hate to post this here but I have been compiling this app form the start 
and now after doing every thing in the wiki I could find I am geting an 
error in compiling this. It saids:
linking ... genplus_wii.elf
c:devkitpro/devkitppc/bin/../lib/gcc/powerpc-
eabi/4.4.1/../../../../powerpc-eabi/bin/ld.exe: cannot find -lpng
collect2: ld returned 1 exit status
make[1]: *** [/g/ well you know the rest.
So what do I need to add to devkitpro. And why if so many thing where 
needed for the libogc folder did you not just put it all together in one 
simple file with a readme.txt to say where everything needs to go. Thank 
you for any help.

Original issue reported on code.google.com by pounds...@yahoo.com on 17 Oct 2009 at 9:06

GoogleCodeExporter commented 8 years ago
Did you installed the portlibs in c:/devkitpro/portlibs/ppc as mentionned in 
the Wiki
? It has been updated recently to reflect the changes introduced with devkitpro 
r18
so be sure to read it again (I even explained it in the comments of my last 
revision
if this was not enough, always good to know what has been changed in the code 
before
blindly updating ;-) )

As explained, you should extract the .tar.gz archives you downloaded from the 
link
given in the Wiki in that folder and should have two new directory automatically
created: /lib and /include ... be sure you have libpng.a and libvorbisidec.a in 
the
/lib directory.

I don't put all library together anymore because portlibs (libpng and libtremor 
as
far as the ones I use) are now available precompiled in Devkipro, you just need 
to
download & install them once !

Everything you need is explained in the Wiki Compiling page.

Original comment by ekeeke31@gmail.com on 18 Oct 2009 at 11:32

GoogleCodeExporter commented 8 years ago
Thanks I must have tryed 20 times last night to get this to work. But today I 
combined the files in libpng-1.2.40-ppc.tar.bz2 and libtremor-ppc.tar.bz2 and 
put 
them in 
c:/devkitpro/portlibs/ppc/include/
c:/devkitpro/portlibs/ppc/lib/
c:/devkitpro/portlibs/ppc/bin/
c:/devkitpro/portlibs/ppc/libtremor-ppc.tar.bz2
If your folder dose not look like this then it needs changed. I hope this helps 
a 
little. I just did get it for some reason, so thanks for helping me.

Original comment by pounds...@yahoo.com on 18 Oct 2009 at 5:10