Re: [Bf-committers] Windows Debug Build (possible with free tools?)
On Tue, Apr 19, 2011 at 12:35 PM, Sergey Kurdakov wrote: > Hi > >>@Sergey, good to see they added support but we need to use release >>builds. From looking in the source I could only find msvc2008 project >>files. > > actually svn for 3.2 is here > > http://svn.python.org/projects/python/branches/release32-maint > > and while there are only msvc2008 projects files they are upgradable > to newest version of vc and compile with vc2010 without errors ( as far as > I did a quick check ). > > so custom compiled python dll could be placed in lib dir and used for > vc2010 development > > Regards > Sergey Did you manage to get a working build? I tried this but the conversion to 2010 failed in ~3 places so I assumed it wasn't supported, ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Windows Debug Build (possible with free tools?)
Dalai, no debugging needs the debug runtime dlls and they are not part of the redistributable. I have installed MSVC 2008 and at last I enjoy debugging in MinGW/codeblocks :) ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Windows Debug Build (possible with free tools?)
Campbell, if instead of installing the whole MSVC you install the Microsoft Visual C++ 2008 Redistributable Package (x86) [1] would that work too? As far as magic goes my blind guess is that by installing the MSVC you ended up adding their redistributable pack. (not sure if this apply for python though, too much for a blind guess) [1] http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en -- Dalai 2011/4/19 Sergey Kurdakov : > Hi > >>@Sergey, good to see they added support but we need to use release >>builds. From looking in the source I could only find msvc2008 project >>files. > > actually svn for 3.2 is here > > http://svn.python.org/projects/python/branches/release32-maint > > and while there are only msvc2008 projects files they are upgradable > to newest version of vc and compile with vc2010 without errors ( as far as > I did a quick check ). > > so custom compiled python dll could be placed in lib dir and used for > vc2010 development > > 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
[Bf-committers] Windows Debug Build (possible with free tools?)
Hi >@Sergey, good to see they added support but we need to use release >builds. From looking in the source I could only find msvc2008 project >files. actually svn for 3.2 is here http://svn.python.org/projects/python/branches/release32-maint and while there are only msvc2008 projects files they are upgradable to newest version of vc and compile with vc2010 without errors ( as far as I did a quick check ). so custom compiled python dll could be placed in lib dir and used for vc2010 development Regards Sergey ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Windows Debug Build (possible with free tools?)
@Sergey, good to see they added support but we need to use release builds. From looking in the source I could only find msvc2008 project files. @Nathan, This is really not obvious stuff ( == magic :-) ) -- Build blender fine with GCC --> Start blender errors out with "The application failed to initialize properly (0xc9159992)." --> Install MSVC2008 and it works! It would have saved me a lot of hassle if it said "MSVC2008 run time missing" or just a library name, its still mysterious what actually is needed, assume its some DLL When people in IRC ask how to build blender, its nice to be able to give a concise answer & document weirdo problems like this one so new devs aren't confronted with them. On Tue, Apr 19, 2011 at 9:52 AM, Sergey Kurdakov wrote: > Hi All. > > concerning vs2010 support, > > python team might not support it, > but it is possible to compile python with vs2010 > > with http://svn.python.org/view/python/trunk/PCbuild/ > > and distribute it as a lib > > Regards > Sergey > ___ > 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
[Bf-committers] Windows Debug Build (possible with free tools?)
Hi All. concerning vs2010 support, python team might not support it, but it is possible to compile python with vs2010 with http://svn.python.org/view/python/trunk/PCbuild/ and distribute it as a lib Regards Sergey ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Windows Debug Build (possible with free tools?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19.4.2011 11:27, Campbell Barton wrote: > installed msvc 2008 Express and magically MinGW and MSVC2010 debug > builds both run now. > > Corrected the wiki docs. > http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows/Troubleshooting#Debug_Builds > > - Campbell Not so much magic as more that you now have debug versions of the runtimes. These debug versions are not redistributable, so either recompiling or installing vs2008 indeed are the only ways to solve it. I tried to compile a static version of the Python library, but I have failed sofar. If someone knows how to do a nice static library with MT as settings we'd be much happier. What I could still try is an MT version of the DLL, btw. Right now I'm a bit bogged down, so I won't have time to look into it this or next week, but probably in May I can have another try. /Nathan - -- Nathan Letwory Letwory Interactive | Studio Lumikuu http://www.letworyinteractive.com | http://www.lumikuu.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNrVfDAAoJEKtfN7KsE0TtSgsH/R5fgnW4IrUdnDSqxEAN1vyH wsKrrkhvpCGDCJrmi8CR8BekPdfaKSG2gYnH6q6TJrbYIIx2BsFPTSdOT88bp1F1 wqX8Risz19wS8i/aOgIYaw0q/hNVifudmmLX5BM/iHxuLmpVi6l60KhYDG3w4hmk 3RjlWNbfqrV90EeMJAwerUjCPu3nSDBc29nCxajBpix7aVilhlRONpF/hvQL6xI8 tz2VXzn42hAowZYJ3U6HYXQj148yvSoqDL9xUtlW8Hp1EUKE1xbL2/Ug+A/056v5 yVMa04buWwIHY+z5No/WFrwucgFl86SXUPbOr2zXd3SYn0qWr1b19SFQrOezwQ0= =P0bS -END PGP SIGNATURE- ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Windows Debug Build (possible with free tools?)
installed msvc 2008 Express and magically MinGW and MSVC2010 debug builds both run now. Corrected the wiki docs. http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows/Troubleshooting#Debug_Builds - Campbell On Tue, Apr 19, 2011 at 7:26 AM, Campbell Barton wrote: > 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 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 ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Windows Debug Build (possible with free tools?)
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 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@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
Re: [Bf-committers] Windows Debug Build (possible with free tools?)
-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@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] Windows Debug Build (possible with free tools?)
In order to build a debug build of blender with MSVC 2010, I need to have 2008 installed as well. I would think having the express editions of both would be enough, but I can't say for certain as I have the professional version of both. -- Daniel Stokes On Mon, Apr 18, 2011 at 6:33 PM, 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 > > -- > - Campbell > ___ > 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
[Bf-committers] Windows Debug Build (possible with free tools?)
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 -- - Campbell ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers