Problems building 64 bit Blender with cmake and vs2012

here is the error log.

Error 1 error MSB6006: “cmd.exe” exited with code 216. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
Error 2 error LNK1104: cannot open file ‘…\lib\Debug\bf_dna.lib’ C:\Users\Cindy\Desktop\blen\source\blender\makesrna\intern\LINK
Error 3 error MSB6006: “cmd.exe” exited with code 9009. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
Error 10 error MSB6006: “cmd.exe” exited with code 216. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
Error 11 error MSB6006: “cmd.exe” exited with code 216. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
Error 17 error MSB6006: “cmd.exe” exited with code 216. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
Error 19 error C1083: Cannot open include file: ‘RNA_blender_cpp.h’: No such file or directory c:\blendersvn\blender\intern\cycles\blender\blender_sync.h 25
Error 20 error C1083: Cannot open include file: ‘RNA_blender_cpp.h’: No such file or directory c:\blendersvn\blender\intern\cycles\blender\blender_sync.h 25
Error 21 error C1083: Cannot open include file: ‘RNA_blender_cpp.h’: No such file or directory c:\blendersvn\blender\intern\cycles\blender\blender_sync.h 25
Error 22 error C1083: Cannot open include file: ‘RNA_blender_cpp.h’: No such file or directory c:\blendersvn\blender\intern\cycles\blender\blender_sync.h 25
Error 23 error C1083: Cannot open include file: ‘RNA_blender_cpp.h’: No such file or directory c:\blendersvn\blender\intern\cycles\blender\blender_sync.h 25
Error 24 error C1083: Cannot open include file: ‘RNA_blender_cpp.h’: No such file or directory c:\blendersvn\blender\intern\cycles\blender\blender_sync.h 25
Error 25 error C1083: Cannot open include file: ‘RNA_blender_cpp.h’: No such file or directory c:\blendersvn\blender\intern\cycles\blender\blender_sync.h 25
Error 26 error C1083: Cannot open include file: ‘RNA_blender_cpp.h’: No such file or directory c:\blendersvn\blender\intern\cycles\blender\blender_sync.h 25
Error 27 error C1083: Cannot open include file: ‘RNA_blender_cpp.h’: No such file or directory c:\blendersvn\blender\intern\cycles\blender\blender_sync.h 25

Any help would be great. Thanks in advance.

Hi there, seems that you’re trying to build a debug build. This doesn’t work yet. Please build a RelWithDbgInfo build if you really need debugging symbols. Otherwise just try to build a Release build.

Yeah i tried to build a release as well and it did the same thing so I uploaded the BlenderSvn and lib folders to another machine running windows 8 and it built flawlessly. I believe it has somethng to do with windows 7 and microsoft visual studio 2012. Not sure what though. If anyone wants to build blender in windows then use Cmake GUI with Windows 8 and Microsoft Visual studio 2012 and it works just fine.