Page MenuHome

Support VC++ 2010 Express for building 64bit on windows
Closed, ResolvedPublicPATCH

Description

Adds support for building 64bit windows blender with Visual C++ 2010 Express and Windows SDK 7.1 (both are free downloads).

Python and OpenCOLLADA libs have been updated, probably other libs (e.g. OpenMP) also needs updates.

The patch is for cmake. Needs to implement in scons too (jesterKing?)

A zip with the updated libs (python, opencollada to be extracted in lib/win64 dir) can be found here: http://download.blender.org/ftp/incoming/vs2010libs64.zip

A test build is availbale at: http://graphicall.org/552

Event Timeline

Thanks for your work, this is great. Assigning to JesterKing.

jesterKing, I made Python debug library for vs2010 x64. Maybe we could add it also.
Release builds worked fine with vs2008 python lib afaik.

Oops. It seems to be x64.
Anyway, we should have x86 version as well.

I tested your Python library on vs2008, and it seems to work fine. So there is no need for cmake patch. Just replace current libs.

Great .. the zip should have debug version of libs as well ... but I only did 64bit version

oh, and please note that the python dll links to some msvcrt10 .. so maybe only works with runtime from vs2010 installed

Python is probably ok, but linking against vs2010 OpenCOLLADA libs fails on my vs2008 installation. I don't have vs2010 installed. So at least for this we need the patch.

I installed the MSVC Express 2010 and the Win SDK 7..
When I now open cmake and choose Visual Studio 10 x64 it finds it, but it can't compile the test programm. Any idea if I have to set something still?

Win SDK 7.1 that is ^^

Hmmm ... didn't have any issues like that. Did you run vs2010 at least once first? I think sometimes it need some registration code (free) during the first run.

Yeah, I opened it once.

Also which cmake version, I'm on 2.8.5. Also I just checked, can see I have SP1 for VS2010 installed.

After installing SP1 for VS2010, still same issues. Cmake says cl.exe is broken and when I try with scons it does not found cl.exe at all...

Hmmm sounds weird. Do you remember if you entered any registration code into vc++2010 expr? ... You could also try compiling a simple hello world program .. just to verify that the install is working. Also feel free to ping me on irc (pjoe) if there is anything else I can do to help .. must admit I'm a bit running out of ideas, this 'just worked' tm for me.

I think some changes is also needed to source/creator/CMakeLists.txt .... for the install target to pick up the correct python libs

Added updated patch, which also fixes cmake INSTALL target to copy correct python dll

Added new patch (dec30) and updated libs zip: http://download.blender.org/ftp/incoming/vs2010libs64_2.zip. Talked to alexku, DingTo on IRC, alexku willing to review.

Also put patch on rietveld: http://codereview.appspot.com/5489127

Hi.
I tried yours oiio libraries for x64 release and they also crashed.
Can you confirm it on your system (for example by replacing standard libraries.)

Hmm weird. What worked for me was:
* making a clean build, i.e. remove build dir, revert any cmake changes I had
* build
* notice run time crash with oiio
* copied over my oiio dll to bin/Release
I've uploaded my build to http://graphicall.org/725, for comparison.

hi any new news n the progress, is this already in blender, because i see some vc2010 in winx64 lib, and if scons is supported?

Thomas Dinges (dingto) changed the task status from Unknown Status to Resolved.Apr 1 2013, 12:17 PM

Yousef, python33 never made into Blender (The VC10 lib)