[Bf-committers] Windows Debug Build (possible with free tools?)

Campbell Barton ideasman42 at gmail.com
Tue Apr 19 09:26:07 CEST 2011


Can any free tools build python32_d.dll ?
MinGW and MSVC2010 are both not supported and no support is planned
for either (reading the python ML).

Anyone tried to build debug python3.2 debug on MSVC Express 2008?

No luck finding this info here: http://docs.python.org/devguide/

On Tue, Apr 19, 2011 at 6:18 AM, Nathan Letwory <nathan at blender.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> As told many times on IRC, the easiest/best way around this is through
> building your own debug dll.
>
> /Nathan
>
> On 19.4.2011 4:33, Campbell Barton wrote:
>> I hope there is some way around this but from what I can tell there is
>> no way to compile a debug build of blender with free tools on windows
>> right now.
>> On my XP system running on VirtualBox I can't at least.
>>
>> This is a real shame because it basically means you cant develop
>> blender on windows - at least no debug builds.
>>
>>>From what I can tell, from talking to Nathan & looking online, the
>> issue is that linking against python32_d.dll adds in the dependency
>> for MSVC2008 - full version runtime.
>> Its hard to get detailed info on this because the error message is cryptic:
>> ---
>>   The application failed to initialize properly (0xc9159992).
>>   Click on OK to terminate the application.
>> ---
>>
>> This happens on MinGW and MSVC2010 Express, only when Python is
>> enabled & with DEBUG defined.
>>
>> With GSOC starting it would be good to resolve this or at least give
>> students on Windows some time to apply for a free MSVC student
>> licenses.
>>
>> I looked into building a debug python with MSVC Express 2010, but they
>> don't support it. (or MinGW for that matter)
>> see: http://www.gossamer-threads.com/lists/python/dev/910317
>> so if anyone has some idea about how to build a debug python that
>> doesn't require a full MSVC 2008 it may enable linking with free tools
>> again.
>>
>>
>> If there is no way to get free tools working then there there are 2
>> workarounds I noted here,
>> basically to not link against python32_d.dll or not build with python at all.
>>   http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows/MinGW/CMake#Debug_Builds
>> In most cases building without python is not an option - no interface,
>> but building a release with debug symbols is no so bad.
>>
>>
>> ps. this is a thread which I *think* is the same problem we have with
>> 2008 full version runtime.
>> http://social.msdn.microsoft.com/Forums/en-CA/Vsexpressvc/thread/03e98c40-b91a-482e-90d1-d82021a6c0eb
>>
>
>
> - --
> 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/
>
> iQEcBAEBAgAGBQJNrSk+AAoJEKtfN7KsE0TtbO0H/A6E779nPsyg1emWP43lDodP
> ASoem2NTi13uyZQJkQamaVLGg/9Gawbh3M+TY2iVBCbXx3uiHTFELjQCPaMUU+RL
> i5LGwW3vEte9NVFTV7I3LWjfWRoT0uHnQxxUt9g/5yp8ne2X6qOz/R/Tgzi3LFxb
> AfbKQH2bX66MEx3Ie+BbqRIU8Z9SOshqUOUpQShtze8hNHwG7Z4ZQwyivihvvQkB
> nJrR0qElIHWPSYK+ol+VgGtUZEdbABE0BPCGiBGVze0jInldQGYXAEpv9IDitwny
> PipMMzZizPyILQq5hjjEQflZc2sOJ3ABdFT0uCkOQmCl50YLkLX58GlJNMPdO9M=
> =bdyY
> -----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