[Bf-python] Meeting Minuts

Ken Hughes khughes at pacific.edu
Sun Sep 9 05:31:45 CEST 2007


OK: if the error message translates to :
/
/*error C2099*: initializer is not a constant

PyFloat_Type is a structure defined in a separate module, so at *compile 
time* its address is not a constant.

Ken

Campbell Barton wrote:
> its barfing on
>
> &PyFloat_Type,		/* tp_base */
>
> Somethings wrong here - subtyping internal types should be fine.
>
>
> jmsoler at free.fr wrote:
>   
>> Selon Stephen Swaney <sswaney at centurytel.net>:
>>
>>     
>>> On Sat, Sep 08, 2007 at 08:04:45PM +0200, jmsoler at free.fr wrote:
>>>       
>>>> Selon Campbell Barton <cbarton at metavr.com>:
>>>>         
>>>>> we also breifly discussed moving the py-dev branch into trunk, and have
>>>>> it run parallel to the older Blender module. general consensus seemed
>>>>> that this was ok.
>>>>>
>>>>>           
>>>> Bad idea : this branch  does not compile under windows.
>>>>         
>>> Gosh, maybe we could fix that problem!  Especially if we knew what it
>>> was.  /me bets on the traditional "statements after declarations".
>>>
>>>       
>> I hope so. One of the errors looks like that :
>>
>> bpy_float.c
>> source\blender\python\api2_2x\bpy_float.c(137) : error C2099: l'initialiseur
>> n'est pas une constante
>> source\blender\python\api2_2x\bpy_float.c(142) : warning C4047: 'initialisation'
>> : 'Py_ssize_t' diffère de 'initproc' dans les niveaux d'indirection
>> scons: *** [K:\developpement\bf-blender\build-pyapi\win32-vc\source\blender\pyth
>> on\api2_2x\bpy_float.obj] Error 2
>> scons: building terminated because of errors.
>>
>>
>> _______________________________________________
>> Bf-python mailing list
>> Bf-python at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-python
>>
>>     
>
>
>   




More information about the Bf-python mailing list