errors

  • Ace
    11th Jan 2011 Member 0 Permalink
    I'm trying to make a mod but this error appears:
    1>------ Build started: Project: Aces Mod, Configuration: Release Win32 ------
    1>cl : Command line error D8045: cannot compile C file 'src\air.c' with the /clr option
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    What's going on?
  • The-Fall
    11th Jan 2011 Member 0 Permalink
    You Have gone wrong in a line in the Air.c file, go back and check line 8045 to make sure you didnt do somthing wrong.
  • Ace
    11th Jan 2011 Member 0 Permalink
    I haven't edited air.c
  • The-Fall
    11th Jan 2011 Member 0 Permalink
    Hmmm. Somthing you coded that involves pressure has broken that line.
    What elements do you have that affect pressure?
  • Ace
    11th Jan 2011 Member 0 Permalink
    All I've put in is oxygen ice.

    Here's the inserted code:
    in part_type ptypes[]:
    {"OICE", PIXPACK(0xEDE6E8), 0.0f, 0.00f * CFDS, 0.00f, 0.00f, 0.0f, 0.0f, 0.00f, -0.0005f* CFDS, 0, 1, 0, 1, 0, 1, 100, SC_SOLIDS, 35.0f 46, "O2 ice", TYPE_SOLID, NULL}
    in part_state pstates[]:
    /* OICE */ {ST_SOLID, PT_NONE, 0.0f, PT_LO2,-193.15f, PT_NONE, 0.0f, PT_NONE, 0.0f}

    EDIT: I tried compiling a unchanged powder toy but it came up with the same thing.

    EDIT2: I'm starting to get closer t o making a Mod but this time this came up:

    1>------ Build started: Project: Aces Mod, Configuration: Debug Win32 ------
    1> powder.c
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(431): error C2078: too many initializers
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(431): error C2059: syntax error : 'constant'
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(580): fatal error C1903: unable to recover from previous error(s); stopping compilation
    1> main.c
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(431): error C2078: too many initializers
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(431): error C2059: syntax error : 'constant'
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(580): fatal error C1903: unable to recover from previous error(s); stopping compilation
    1> interface.c
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(431): error C2078: too many initializers
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(431): error C2059: syntax error : 'constant'
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(580): fatal error C1903: unable to recover from previous error(s); stopping compilation
    1> graphics.c
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(431): error C2078: too many initializers
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(431): error C2059: syntax error : 'constant'
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(580): fatal error C1903: unable to recover from previous error(s); stopping compilation
    1> air.c
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(431): error C2078: too many initializers
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(431): error C2059: syntax error : 'constant'
    1>C:\Users\Allan\Desktop\Aces mod\includes\powder.h(580): fatal error C1903: unable to recover from previous error(s); stopping compilation
    1> Generating Code...
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========