I have been doing builds for the last few years with no difficulty. BUT yesterday I updated all the necessary and started a build in MSVS 2010 exp ( I also have MSVS 2008 installed ).
I added python scons\scons.py at the cmd prompt. Then it eventually stops at this:
Compiling ==> ‘FLUID_3D.cpp’
FLUID_3D.cpp
intern\smoke\intern\FLUID_3D.cpp(38) : fatal error C1083: Cannot open include fi
le: ‘omp.h’: No such file or directory
scons: *** [C:\builds\build\win32-vc\intern\smoke\intern\FLUID_3D.obj] Error 2
scons: building terminated because of errors.
Is this happening with anybody else? Is this a bug for the bug tracker??
I updated today, same thing. Also last night I cleaned out my whole build folder and reset all that up. Still same error.
For any others coming this way - I have this resolved thanks totally to Nathan.
I emailed him about this issue, he responded with:
"You need now to manually disable OpenMP-support, as that’s available
only for pro versions of VS. OpenMP support was enabled by default
recently, since a checkout should build pretty much unchanged as a
release build.
In your user-config.py add: WITH_BF_OPENMP=False"
By adding this to my config file inside my build folder and inside the /blender folder - it sorted this issue.
The config file is called user-config.py. Its contents are:
So inside your build folder there is a folder called BLENDER. Inside this you can have a file called user-config.py - Add the above contents to this file OR if you have this file already add the line Nathan suggested and all should be OK.