[Bf-committers] Migrating Blender builds to Visual Studio 2010

Alexandr Kuznetsov kuzsasha at gmail.com
Mon Apr 15 15:34:35 CEST 2013


I have basic VC 2012 build working (without Cycles and other fancy 
stuff). Didn't get time around.
Try to disable all extensions with external dependencies like Collada, 
OpenExr, translations, and even python.
After it, you should be able to compile and run minimal Blender.
Then try to recompile all dependencies.

And VS 2012 seems to require:
             add_definitions(/D_ALLOW_KEYWORD_MACROS /DMS_WINDOWS)
in main CMakeList.txt line 998


On 4/15/2013 8:55 AM, Campbell Barton wrote:
> Hi There,
> I'm curious to know - did you investigate why it crashes on startup?,
> could you link to a stack-trace of the crash?
> Blender should be quite portable between different compilers so its
> strange this fails on new msvc.
> On Mon, Apr 15, 2013 at 10:38 PM, Jürgen Herrmann <shadowrom at me.com> wrote:
>> Hi there,
>> after trying to build Blender on VC 2012 in the last weeks I came to the conclusion that with the current state of the Microsoft VC 2012 compiler it is merely impossible for me to provide a working build. Even if I get blender to compile without errors, blender crashes on startup.
>> I am recently trying recompile the libs for VS 2010 x64 (x86 follows later).
>> While doing this I'll replace outdated versions of the libs with newer ones.
>> If all goes well I'll be done with the x64 libs by the end if this week and could provide a decent test build of Blender trunk using these libs.
>> For compilation with this new build environment I'll have to change things in the CMakeLists.txt.
>> If you like I could provide the libs and CMake adaptions to you for inclusion in SVN.
>> Kind regards
>> Jürgen Herrmann
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
> --
> - Campbell
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list