I wanted to do a little hacking on the blender source, but am having trouble building it. I’m following the instructions on http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Windows/MinGW/Scons. (I don’t have Visual Studio, and I can’t seem to get a build working using Visual Studio Express because VCE doesn’t have a command line compiler and CMake seems to need that.)
I was able to get the build started under mingw/scons, but it stops with an error:
scons: *** [C:\dev\git.blender.org\build\win32-mingw\source\blender\blenkernel\i ntern\autoexec.o] Error 1
source\blender\blenkernel\intern\appdir.c: In function 'BLI_where_is_temp':
source\blender\blenkernel\intern\appdir.c:743:4: warning: implicit declaration o f function '_mktemp_s' [-Wimplicit-function-declaration]
if (_mktemp_s(tmp_name, ln) == 0) {
^
scons: building terminated because of errors.
Everything is checked out to the latest revision (blender code and build tools) and this is a clean build.
Any idea how to get this working?blenderBuildErr.zip (4.38 KB)