Need help compiling.

Issue #50 invalid
Former user created an issue

Original [issue 50](https://code.google.com/p/genplus-gx/issues/detail?id=50) created by poundsroy@yahoo.com on 2009-10-17T21:06:02.000Z:

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.

Comments (2)

  1. Former user Account Deleted

    Comment # 1 originally posted by ekeeke31 on 2009-10-18T11:32:46.000Z:

    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.

  2. Former user Account Deleted

    Comment # 2 originally posted by poundsroy@yahoo.com on 2009-10-18T17:10:01.000Z:

    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.

  3. Log in to comment