[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x NMesh.c

John K. Walton bf-committers@blender.org
Sun, 12 Oct 2003 15:54:24 -0400 (EDT)


last bit of commits caused fatal errors on irix complier
errors detailed below.
thanks!
john


cc -c -n32 -mips3 -Xcpluscomm -DNDEBUG -n32 -mips3 -O2 -OPT:Olimit=0
-fullwarn -woff 1001,1110,1201,1209,1355,1424,1681,3201  -I/usr/include
-I/usr/demos/blender/../lib/irix-6.5-mips/guardedalloc/include
-I../../makesdna -I../../blenkernel -I../../blenlib -I../../include
-I/usr/demos/blender/../lib/irix-6.5-mips/bmfont/include -I../../imbuf
-I/usr/demos/blender/../lib/irix-6.5-mips/python/include/python2.2 NMesh.c
-o /usr/demos/blender/obj/irix-6.5-mips/blender/python/NMesh.o
cc-1196 cc: REMARK File = NMesh.c, Line = 2072
  The indicated function is declared implicitly.

        add_defgroup_name (object, groupStr);
        ^

cc-1174 cc: WARNING File = NMesh.c, Line = 2059
  The variable "nIndex" was declared but never referenced.

        int nIndex;
            ^

cc-1174 cc: WARNING File = NMesh.c, Line = 2060
  The variable "pGroup" was declared but never referenced.

        bDeformGroup* pGroup;
                      ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2098
  The indicated function is declared implicitly.

        pGroup = get_named_vertexgroup(object, groupStr);
                 ^

cc-1515 cc: ERROR File = NMesh.c, Line = 2098
  A value of type "int" cannot be assigned to an entity of type
"bDeformGroup *".

        pGroup = get_named_vertexgroup(object, groupStr);
               ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2103
  The indicated function is declared implicitly.

        nIndex = get_defgroup_num(object, pGroup);
                 ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2110
  The indicated function is declared implicitly.

        del_defgroup(object);
        ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2154
  The indicated function is declared implicitly.

        pGroup = get_named_vertexgroup(object, groupStr);
                 ^

cc-1515 cc: ERROR File = NMesh.c, Line = 2154
  A value of type "int" cannot be assigned to an entity of type
"bDeformGroup *".

        pGroup = get_named_vertexgroup(object, groupStr);
               ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2158
  The indicated function is declared implicitly.

        nIndex = get_defgroup_num(object, pGroup);
                 ^

cc-1515 cc: ERROR File = NMesh.c, Line = 2164
  A value of type "int" cannot be assigned to an entity of type "int *".

                assignmode = 1;
                           ^

cc-1515 cc: ERROR File = NMesh.c, Line = 2166
  A value of type "int" cannot be assigned to an entity of type "int *".

                assignmode = 2;
                           ^

cc-1515 cc: ERROR File = NMesh.c, Line = 2168
  A value of type "int" cannot be assigned to an entity of type "int *".

                assignmode = 3;
                           ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2176
  The indicated function is declared implicitly.

                create_dverts((Mesh*)object->data);
                ^

cc-1042 cc: ERROR File = NMesh.c, Line = 2186
  The types of operands "int *" and "int" are incompatible.

                if(tempInt < 0 || tempInt >=
((Mesh*)object->data)->totvert)
                                          ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2189
  The indicated function is declared implicitly.

                add_vert_defnr(object, nIndex, tempInt, weight,
assignmode);
                ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2247
  The indicated function is declared implicitly.

        pGroup = get_named_vertexgroup(object, groupStr);
                 ^

cc-1515 cc: ERROR File = NMesh.c, Line = 2247
  A value of type "int" cannot be assigned to an entity of type
"bDeformGroup *".

        pGroup = get_named_vertexgroup(object, groupStr);
               ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2251
  The indicated function is declared implicitly.

        nIndex = get_defgroup_num(object, pGroup);
                 ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2270
  The indicated function is declared implicitly.

                remove_verts_defgroup (1);
                ^

cc-1042 cc: ERROR File = NMesh.c, Line = 2286
  The types of operands "int *" and "int" are incompatible.

                        if(tempInt < 0 || tempInt >=
((Mesh*)object->data)->totvert)
                                                  ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2289
  The indicated function is declared implicitly.

                        remove_vert_def_nr (object, nIndex, tempInt);
                        ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2347
  The indicated function is declared implicitly.

        pGroup = get_named_vertexgroup(object, groupStr);
                 ^

cc-1515 cc: ERROR File = NMesh.c, Line = 2347
  A value of type "int" cannot be assigned to an entity of type
"bDeformGroup *".

        pGroup = get_named_vertexgroup(object, groupStr);
               ^

cc-1196 cc: REMARK File = NMesh.c, Line = 2351
  The indicated function is declared implicitly.

        nIndex = get_defgroup_num(object, pGroup);
                 ^

cc-1042 cc: ERROR File = NMesh.c, Line = 2359
  The types of operands "PyObject *" and "int" are incompatible.

        if(listObject == -2054456) //do entire group
                      ^

cc-1042 cc: ERROR File = NMesh.c, Line = 2391
  The types of operands "int *" and "int" are incompatible.

                        if(tempInt < 0 || tempInt >=
((Mesh*)object->data)->totvert)
                                                  ^

cc-1515 cc: ERROR File = NMesh.c, Line = 2394
  A value of type "int *" cannot be assigned to an entity of type "int".

                        num = tempInt;
                            ^

cc-1552 cc: WARNING File = NMesh.c, Line = 2307
  The variable "mvert" is set but never used.

        MVert *mvert;
               ^

cc-1174 cc: WARNING File = NMesh.c, Line = 2308
  The variable "newdw" was declared but never referenced.

        MDeformWeight *newdw;
                       ^

cc-1552 cc: REMARK File = NMesh.h, Line = 91
  The variable "g_nmeshmodule" is set but never used.

  static PyObject *g_nmeshmodule = NULL;
                   ^

12 errors detected in the compilation of "NMesh.c".
gmake[4]: ***
[/usr/demos/blender/obj/irix-6.5-mips/blender/python/NMesh.o] Error 2
gmake[3]: *** [all] Error 1
gmake[2]: *** [all] Error 1
gmake[1]: *** [all] Error 1
gmake: *** [all] Error 1
sgi126 3% 



On Sun, 12 Oct 2003, Joseph Gilbert wrote:

> ascotan (Joseph Gilbert) 2003/10/12 18:13:12 CEST
> 
>   Modified files:
>     blender/source/blender/python/api2_2x NMesh.c 
>   
>   Log:
>   Added vertex group support...
>   
>   Revision  Changes    Path
>   1.23      +386 -6    blender/source/blender/python/api2_2x/NMesh.c
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs@blender.org
> http://www.blender.org/mailman/listinfo/bf-blender-cvs
>