Suggestions about compiling errors

  • yangbowen1
    15th May 2012 Member 0 Permalink
    1. error C2143 in powder.c

    Put
    float GEL_SCALE = 1.0f;
    just after
    float pGravX, pGravY, pGravD;

    And this problem is solved.

    2. error C2036 in luaconsole.c

    Modify all (void*) into (*), is the type of the variable following.
    For example,
    tempinteger = *((int*)(((void*)&parts[i])+offset));
    is modified into
    tempinteger = *((int*)(((particle*)&parts[i])+offset));

    And this problem is solved.