[Bf-committers] SVN 35405 compile problem
Richard Shaw
hobbes1069 at gmail.com
Tue Mar 8 23:20:12 CET 2011
On Tue, Mar 8, 2011 at 3:25 PM, Campbell Barton <ideasman42 at gmail.com> wrote:
> To find out the revision this changed...
> svn blame /data/src/blender/blender/source/blender/python/intern/bpy_util.h
>
> 35386 campbellbarton #if PY_VERSION_HEX < 0x03020000
>
> Then make a diff...
> svn diff -c35386 > py31_compat.diff
>
> Reverse apply the diff...
> patch -p0 --reverse < py31.diff
If all that does is change bpy_util.h then it doesn't really help you.
I did it manually by changing "0x03020000" to "0x03010000", but there
are now some functions that are used that are only available in 3.2. I
ended up checking out the prior release, 35385, and then created my
own patch from the current release of "CMakeLists.txt" for the
blenderplayer install problem and it compiled without error. I haven't
tested it yet though. I'll have to wait till I get home from work for
that.
Richard
More information about the Bf-committers
mailing list