[Solved]2.8 fails to build on Windows

I tried to build 2.8 several times yesterday and this morning and it fails every time. Any ideas on why this is happening?

c:\blender-git\lib\win64_vc14\openimageio\include\openimageio\missing_math.h(112): warning C4005: 'copysign': macro redefinition (compiling source file C:\blender-git\blender\intern\cycles\blender\blender_python.cpp) [C:\blender-git\build_windows_Full_x64_vc14_Release\intern\cycles\blender\bf_intern_cycles.vcxproj]
  c:\blender-git\lib\win64_vc14\python\include\python3.6\pyconfig.h(200): note: see previous definition of 'copysign' (compiling source file C:\blender-git\blender\intern\cycles\blender\blender_python.cpp)
  blender_shader.cpp
  blender_sync.cpp
  blender_texture.cpp
  bf_intern_cycles.vcxproj -> C:\blender-git\build_windows_Full_x64_vc14_Release\lib\Release\bf_intern_cycles.lib

Build FAILED.

C:\blender-git\blender\source\blender\blenkernel\intern\collection.c(802): warning C4028: formal parameter 3 different from declaration [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
c:\blender-git\blender\source\blender\blenkernel\intern\library_query.c(356): warning C4700: uninitialized local variable 'data' used [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\blender-git\blender\source\blender\blenkernel\intern\writeffmpeg.c(178): warning C4996: 'avcodec_encode_audio2': was declared deprecated [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\blender-git\blender\source\blender\blenkernel\intern\writeffmpeg.c(218): warning C4996: 'av_free_packet': was declared deprecated [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\blender-git\blender\source\blender\blenkernel\intern\writeffmpeg.c(238): warning C4996: 'avpicture_get_size': was declared deprecated [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\blender-git\blender\source\blender\blenkernel\intern\writeffmpeg.c(245): warning C4996: 'avpicture_fill': was declared deprecated [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\blender-git\blender\source\blender\blenkernel\intern\writeffmpeg.c(329): warning C4996: 'avcodec_encode_video2': was declared deprecated [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\blender-git\blender\source\blender\blenkernel\intern\writeffmpeg.c(1072): warning C4996: 'avcodec_encode_video2': was declared deprecated [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_curves.cc(174): warning C4244: 'argument': conversion from 'short' to 'const unsigned char', possible loss of data [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_exporter.cc(207): warning C4244: 'initializing': conversion from 'double' to 'unsigned int', possible loss of data [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_exporter.cc(230): warning C4244: 'argument': conversion from 'double' to 'unsigned int', possible loss of data [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_exporter.cc(306): warning C4244: 'argument': conversion from 'double' to 'unsigned int', possible loss of data [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_exporter.cc(309): warning C4244: 'argument': conversion from 'double' to 'unsigned int', possible loss of data [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(1123): warning C4244: '=': conversion from 'Alembic::AbcCoreAbstract::v10::chrono_t' to 'float', possible loss of data [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(1417): warning C4244: '=': conversion from 'Alembic::AbcCoreAbstract::v10::chrono_t' to 'float', possible loss of data [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\editors\transform\transform_conversions.c(752): warning C4028: formal parameter 3 different from declaration [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\editors\transform\bf_editor_transform.vcxproj]
C:\blender-git\blender\source\blender\windowmanager\manipulators\intern\wm_manipulator.c(351): warning C4028: formal parameter 2 different from declaration [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\windowmanager\bf_windowmanager.vcxproj]
C:\blender-git\blender\source\blender\makesrna\intern\rna_define.c(2285): warning C4090: '=': different 'const' qualifiers (compiling source file C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\makesrna\intern\rna_ID_gen.c) [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\makesrna\intern\bf_rna.vcxproj]
c:\blender-git\lib\win64_vc14\openimageio\include\openimageio\missing_math.h(112): warning C4005: 'copysign': macro redefinition (compiling source file C:\blender-git\blender\intern\cycles\blender\blender_python.cpp) [C:\blender-git\build_windows_Full_x64_vc14_Release\intern\cycles\blender\bf_intern_cycles.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(543): error C2059: syntax error: '.' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(543): error C2143: syntax error: missing ';' before '}' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(544): error C2059: syntax error: '.' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(544): error C2143: syntax error: missing ';' before '}' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(545): error C2065: 'mesh': undeclared identifier [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(545): error C2065: 'bmcp': undeclared identifier [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(545): error C2065: 'bmfmp': undeclared identifier [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(547): error C2065: 'quad_method': undeclared identifier [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(547): error C2065: 'ngon_method': undeclared identifier [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(547): error C2065: 'tag_only': undeclared identifier [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(547): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(547): error C2365: 'BM_mesh_triangulate': redefinition; previous definition was 'function' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(551): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(551): error C2365: 'BM_mesh_free': redefinition; previous definition was 'function' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(553): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(553): error C2440: 'initializing': cannot convert from 'Mesh *' to 'int' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(554): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(555): error C2059: syntax error: '}' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(555): error C2143: syntax error: missing ';' before '}' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(558): error C3927: '->': trailing return type is not allowed after a non-function declarator [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(558): error C3484: syntax error: expected '->' before the return type [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(558): error C3613: missing return type after '->' ('int' assumed) [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(558): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(558): error C2146: syntax error: missing ';' before identifier 'mpoly' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(559): error C3927: '->': trailing return type is not allowed after a non-function declarator [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(559): error C3484: syntax error: expected '->' before the return type [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(559): error C3613: missing return type after '->' ('int' assumed) [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(559): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(559): error C2086: 'int m_custom_data_config': redefinition [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(559): error C2146: syntax error: missing ';' before identifier 'mloop' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(560): error C3927: '->': trailing return type is not allowed after a non-function declarator [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(560): error C3484: syntax error: expected '->' before the return type [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(560): error C3613: missing return type after '->' ('int' assumed) [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(560): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(560): error C2086: 'int m_custom_data_config': redefinition [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(560): error C2146: syntax error: missing ';' before identifier 'totpoly' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(561): error C3927: '->': trailing return type is not allowed after a non-function declarator [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(561): error C3484: syntax error: expected '->' before the return type [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(561): error C3613: missing return type after '->' ('int' assumed) [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(561): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(561): error C2086: 'int m_custom_data_config': redefinition [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(561): error C2146: syntax error: missing ';' before identifier 'totloop' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(562): error C3927: '->': trailing return type is not allowed after a non-function declarator [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(562): error C3484: syntax error: expected '->' before the return type [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(562): error C3613: missing return type after '->' ('int' assumed) [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(562): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(562): error C2086: 'int m_custom_data_config': redefinition [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(562): error C2146: syntax error: missing ';' before identifier 'totvert' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(564): error C2059: syntax error: 'return' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(565): error C2059: syntax error: '}' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(565): error C2143: syntax error: missing ';' before '}' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(568): error C2143: syntax error: missing ';' before '{' [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
C:\blender-git\blender\source\blender\alembic\intern\abc_mesh.cc(568): error C2447: '{': missing function header (old-style formal list?) [C:\blender-git\build_windows_Full_x64_vc14_Release\source\blender\alembic\bf_alembic.vcxproj]
    19 Warning(s)
    53 Error(s)

Time Elapsed 00:04:39.96

should be fixed now.

1 Like

Blender 2.80 may be unstable from now, so some thing are break, wait when they fix them.