Share

Mindless Automaton

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

compile error

  1. 2006-02-14 14:01:11 UTC
    i launch make, and i get this error after a while:

    gcc -Wall -g `pkg-config gtk+-2.0 --cflags` -c sealed.c
    gdk-pixbuf-csource --raw --build-list \
    lifeset_image ICONS/lifeset.svg \
    ping_image ICONS/ping.svg \
    hand_image ICONS/hand.svg \
    deck_image ICONS/deck.svg \
    graveyard_image ICONS/graveyard.svg \
    removed_image ICONS/removed.svg \
    coin_image ICONS/coin.svg \
    die_image ICONS/die.svg \
    phaseuntap_image ICONS/phaseuntap.svg \
    phaseupkeep_image ICONS/phaseupkeep.svg \
    phasedraw_image ICONS/phasedraw.svg \
    phasemain_image ICONS/phasemain.svg \
    phasecombat_image ICONS/phasecombat.svg \
    phasecleanup_image ICONS/phasecleanup.svg \
    > _images.c
    failed to load "ICONS/lifeset.svg": Couldn't recognize the image file format for file 'ICONS/lifeset.svg'
    make: *** [_images.c] Error 1


    if i re-launch make after that, i oddly get this error instead:

    [looris@Argothia mindless-1.6]$ make
    gcc -Wall -g `pkg-config gtk+-2.0 --cflags` -c images.c
    images.c: In function `add_stock_images':
    images.c:24: error: `lifeset_image' undeclared (first use in this function)
    images.c:24: error: (Each undeclared identifier is reported only once
    images.c:24: error: for each function it appears in.)
    images.c:35: error: `ping_image' undeclared (first use in this function)
    images.c:40: error: `deck_image' undeclared (first use in this function)
    images.c:45: error: `graveyard_image' undeclared (first use in this function)
    images.c:50: error: `removed_image' undeclared (first use in this function)
    images.c:55: error: `coin_image' undeclared (first use in this function)
    images.c:60: error: `die_image' undeclared (first use in this function)
    images.c:65: error: `hand_image' undeclared (first use in this function)
    images.c:70: error: `phaseuntap_image' undeclared (first use in this function)
    images.c:75: error: `phaseupkeep_image' undeclared (first use in this function)
    images.c:80: error: `phasedraw_image' undeclared (first use in this function)
    images.c:85: error: `phasemain_image' undeclared (first use in this function)
    images.c:90: error: `phasecombat_image' undeclared (first use in this function)
    images.c:95: error: `phasecleanup_image' undeclared (first use in this function)
    make: *** [images.o] Error 1


    i'm under osx 10.3 and compiling from source found today here on SF.

    what should i do now?
  2. 2006-02-25 04:42:00 UTC
    I'm having the exact same problem. I think it has something to do with SVG libraries, but I don't know how to fix it.
  3. 2006-09-27 22:52:32 UTC
    I fotget the app I used... But I simply converted the .svg's to .png's. Then you edit the Makefile and replace .svg with .png.

    ex:

    > mv Makefile Makefile.bak
    > cat Makefile.bak | sed -e 's/\.svg/\.png/g' > Makefile

    Then run make, it should eliminate that error, but I don't know if that is what is causing my malloc/segfaults heh!
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.