[Bf-committers] bd_dna problem

2011-01-18 Thread Sergey Kurdakov
Hi,

just to let to know

I did not update code for a while and today
fresh svn gives the following output

1>-- Build started: Project: bf_dna, Configuration: Debug Win32 --
1>  Generating dna.c
1>  Running makesdna at debug level 0
1>   Program version: $Id: makesdna.c 33448 2010-12-03 17:05:21Z
campbellbarton $
1>CUSTOMBUILD : error : still 1 structs unknown
1>  *** Unknown structs :
1>PreviewImage

on both 32 bit and 64 bit under windows.

Regards
Sergey
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


[Bf-committers] bd_dna problem

2011-01-19 Thread Sergey Kurdakov
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.

PS sorry for mistake in header of the message
Regards
Sergey
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] bd_dna problem

2011-01-18 Thread pete larabell
Does the same on 32bit linux...

On Tue, Jan 18, 2011 at 12:18 PM, Sergey Kurdakov wrote:

> Hi,
>
> just to let to know
>
> I did not update code for a while and today
> fresh svn gives the following output
>
> 1>-- Build started: Project: bf_dna, Configuration: Debug Win32 --
> 1>  Generating dna.c
> 1>  Running makesdna at debug level 0
> 1>   Program version: $Id: makesdna.c 33448 2010-12-03 17:05:21Z
> campbellbarton $
> 1>CUSTOMBUILD : error : still 1 structs unknown
> 1>  *** Unknown structs :
> 1>PreviewImage
>
> on both 32 bit and 64 bit under windows.
>
> Regards
> Sergey
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] bd_dna problem

2011-01-18 Thread pete larabell
sorry, using CMake, it also produces that "error" under 32bit linux.

On Tue, Jan 18, 2011 at 12:43 PM, pete larabell wrote:

> Does the same on 32bit linux...
>
>
> On Tue, Jan 18, 2011 at 12:18 PM, Sergey Kurdakov 
> wrote:
>
>> Hi,
>>
>> just to let to know
>>
>> I did not update code for a while and today
>> fresh svn gives the following output
>>
>> 1>-- Build started: Project: bf_dna, Configuration: Debug Win32 --
>> 1>  Generating dna.c
>> 1>  Running makesdna at debug level 0
>> 1>   Program version: $Id: makesdna.c 33448 2010-12-03 17:05:21Z
>> campbellbarton $
>> 1>CUSTOMBUILD : error : still 1 structs unknown
>> 1>  *** Unknown structs :
>> 1>PreviewImage
>>
>> on both 32 bit and 64 bit under windows.
>>
>> Regards
>> Sergey
>> ___
>> Bf-committers mailing list
>> Bf-committers@blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
>
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] bd_dna problem

2011-01-19 Thread Nathan Letwory
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18.1.2011 20:18, Sergey Kurdakov wrote:
> Hi,
> 
> just to let to know
> 
> I did not update code for a while and today
> fresh svn gives the following output
> 
> 1>-- Build started: Project: bf_dna, Configuration: Debug Win32 --
> 1>  Generating dna.c
> 1>  Running makesdna at debug level 0
> 1>   Program version: $Id: makesdna.c 33448 2010-12-03 17:05:21Z
> campbellbarton $
> 1>CUSTOMBUILD : error : still 1 structs unknown
> 1>  *** Unknown structs :
> 1>PreviewImage
> 
> on both 32 bit and 64 bit under windows.

No problems compiling using SCons. Makes me think you might have to do a
clean configuration of CMake.

/Nathan

- -- 
Nathan Letwory
Letwory Interactive
http://www.letworyinteractive.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNNqc+AAoJEKtfN7KsE0TtKpgH/isOgSHuzM769VZVHxpS1thM
B4xz7egiejKZGkJGx73Qfx/zzoKboWIImiVaJlzgY+w9jSjOjOSfU6JGbgut+BVX
nIotYeH3kRk2oYAvYfQYdb/QVwI87o41wztCgH+nQ2Ats28gc8di2DbNCBfKNU1s
P9gaRvcfP0We33Gy3EvZXup1JdBZaxzvvotg3Oo2QMk6H/CATC/QuhKnkOwbSo8N
uK/m5Ok4tjlHzFfWFludMg+cFTN4R6+pve5gpLVPTzMBwjI5MoetFEa7/5MM/Nc+
lW3g0HmE2CvjxQk27wPIGQMfXH6qBeS3B99maeGnJ4OEe1htKYu8Wlys3tkSYs0=
=Majk
-END PGP SIGNATURE-
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] bd_dna problem

2011-01-19 Thread Nathan Letwory
-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@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] bd_dna problem

2011-01-21 Thread Campbell Barton
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  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@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers