Cant. Compile. HELP.

  • Pilihp64
    24th Mar 2011 Developer 0 Permalink
    @dnerd
    the undeclared errors is a problem with formating, they can be easily fixed by moving the declarations around. I don't remember exactly... can you pastebin those areas of main.c so i can fix them up for you.
    EDIT: the expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token,
    errors are from linking, so something is messed up with that.
    EDIT: just realized you were on mac, so ignore that first part, you won't get undeclared errors once you fix the python linking.
  • dnerd
    24th Mar 2011 Member 0 Permalink

    boxmein:

    Download python console package


    Wait, where can i download that?
  • cctvdude99
    24th Mar 2011 Member 0 Permalink
    @dnerd
    Here:
    https://powdertoy.co.uk/Wiki.html?id=codeblocks_setup#python_preparation
    If you are using Code::Blocks, follow all the instructions. I think you need the latest source too...

    If not, I think you still need the package.
  • dnerd
    24th Mar 2011 Member 0 Permalink
    python seems to be working fine now, but im getting this error:


    from src/elements/yest.c:1:
    includes/powder.h:534: error: ‘IPL’ undeclared here (not in a function)
    includes/powder.h:534: error: ‘NT’ undeclared here (not in a function)
    includes/powder.h:534: error: ‘IPH’ undeclared here (not in a function)
    includes/powder.h:534: error: ‘ITL’ undeclared here (not in a function)
    includes/powder.h:534: error: ‘ITH’ undeclared here (not in a function)


    i think the state transition code is undefined, where would i go to define it?
  • snowfire777
    24th Mar 2011 Banned 0 Permalink
    This post is hidden because the user is banned
  • dnerd
    24th Mar 2011 Member 0 Permalink
    @snowfire777
    nope, just compiling, i already have the modding done
  • snowfire777
    24th Mar 2011 Banned 0 Permalink
    This post is hidden because the user is banned
  • dnerd
    24th Mar 2011 Member 0 Permalink
    @snowfire777
    dont comment unless you have something to say, that was random
  • snowfire777
    24th Mar 2011 Banned 0 Permalink
    This post is hidden because the user is banned
  • dnerd
    24th Mar 2011 Member 0 Permalink
    @snowfire777
    make your own thread, this one about my problems.