[Bf-committers] bd_dna problem

Campbell Barton ideasman42 at gmail.com
Sat Jan 22 05:05:36 CET 2011


Fixed r34446.

this was caused by...

 typedef struct PreviewImage {
 	unsigned int w[PREVIEW_MIPMAPS];

makesdna.c doesn't support defines.

It turns out this struct didn't need to be parsed anyway so added
lines above fixes the proplem.

#
#
typedef struct PreviewImage {
    ...

On Wed, Jan 19, 2011 at 10:34 AM, Nathan Letwory <nathan at blender.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 19.1.2011 12:32, Sergey Kurdakov wrote:
>> Hi
>>
>> the problem occures in makesdna while debuging it ( separately from CMake,
>>  when run with params )- so it lists all headers, parses them then cannot
>> find a structure. It looks it has nothing to do with CMake.
>>
>> Why scons works then,   is another question - it is makesdna which fails.
>
> Right, I see it now also when I do a BF_DEBUG=1 build with scons.
>
> /Nathan
>
> - --
> Nathan Letwory
> Blender Foundation | Letwory Interactive
> http://www.blender.org | http://www.letworyinteractive.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJNNr4aAAoJEKtfN7KsE0TtYcAH/1WgvxDwHEsu1q/sHc795VrC
> IuDjM380Y+wLHgV0YPJ55Iu008LbakTAvcdMqQEfSYrBQamT8030kxNXfCSQtIsx
> m5tpYL59CLbVgbrPVvCYcowVDZ0XVcmpnrwXi3+sAcvtbEYU7schGcvaSjimPSLy
> t/HpEqVfGS3zKDxyjSy30j8ZAVA8nr7uAYxwPF2sZjn0vDXuWD2txziItlf4tMYn
> QNnp4bzHCv6UQEdXE78WKvSC4OZq2tVwGXV0BlCI0XeqoqVq3KDFw1lRtECXyKCf
> 6utYAQh5YCAsBGeQFFXY2BYCzMMunoeCF7+n8/v77+9SX31e4kPCDp79raflhDo=
> =EDAk
> -----END PGP SIGNATURE-----
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list