error: unknown type name ‘png_uint_32’

Home Forums Development error: unknown type name ‘png_uint_32’

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24009
    alexxito79
    Participant

    Hello,

    Any clue on how to solve the following error trying to do a “make” of wiimc? I followed all the steps described in the compiling instructions before to do that. I’m on windows. Thanks.

    f:devkitprodevkitppcbin../lib/gcc/powerpc-eabi/4.6.3/../../../../powerpc-eab
    i/include/malloc.h:45:14: note: expected ‘void *’ but argument is of type ‘int’
    q:/dati/wii/wiimc/dev/wiimc/source/utils/pngu.c: In function ‘PNGU_EncodeFromGXT
    exture’:
    q:/dati/wii/wiimc/dev/wiimc/source/utils/pngu.c:712:2: warning: incompatible imp
    licit declaration of built-in function ‘memset’ [enabled by default]
    q:/dati/wii/wiimc/dev/wiimc/source/utils/pngu.c:713:2: error: unknown type name
    ‘png_uint_32’
    make[1]: *** [pngu.o] Error 1
    make: *** [build] Error 2

    #30190
    alexxito79
    Participant

    I realized that there is something wrong extracting the package libpng-1.5.4-ppc.

    Opening the package with 7zip I can see a png.h = 0KB in portlibsppcinclude
    Replacing it with the one in portlibsppcincludelibpng15 solved the problem.

    Now I also notice:

    libpng.a = 0 KB
    libpng.la = 0 KB

    and I have a different error when executing the make file (devkitPro/portlibs/ppc/liblibpng.a: file not recognized: File truncated)

    Why I’m getting these files empty ? I just have to change zip utility or it is a problem in the package itself ? Using iZarc I have the same problem…

    Thanks !!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Login

Lost Password