Problem building LANPR branch Windows 64

Build FAILED.

C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2335,82): warning C4047: ‘=’: ‘int’ differs in levels of indirection from ‘void *’ [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2396,82): warning C4047: ‘=’: ‘int’ differs in levels of indirection from ‘void *’ [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3004,1): warning C4029: declared formal parameter list different from definition [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3394,70): warning C4047: ‘function’: ‘Material ’ differs in levels of indirection from ‘Material **’ [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3394,70): warning C4024: ‘gpencil_check_same_material_color’: different types for formal and actual parameter 3 [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3597,62): warning C4047: ‘function’: ‘Object ’ differs in levels of indirection from ‘const bool’ [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3597,62): warning C4024: ‘gpencil_convert_spline’: different types for formal and actual parameter 4 [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(330,38): error C2011: ‘GpencilBatchCacheElem’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_cache_utils.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(330,38): error C2011: ‘GpencilBatchCacheElem’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_draw_utils.c)C:\Blender-git\blender\source\blender\blenkernel\BKE_gpencil.h(85): note: see declaration of ‘GpencilBatchCacheElem’ (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_cache_utils.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(330,38): error C2011: ‘GpencilBatchCacheElem’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_shader_fx.c)C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(330,38): error C2011: ‘GpencilBatchCacheElem’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_draw_cache_impl.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(347,34): error C2011: ‘GpencilBatchGroup’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_draw_utils.c)C:\Blender-git\blender\source\blender\blenkernel\BKE_gpencil.h(85): note: see declaration of ‘GpencilBatchCacheElem’ (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_shader_fx.c)C:\Blender-git\blender\source\blender\blenkernel\BKE_gpencil.h(102): note: see declaration of ‘GpencilBatchGroup’ (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_cache_utils.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(347,34): error C2011: ‘GpencilBatchGroup’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_shader_fx.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(356,37): error C2011: ‘GpencilBatchGroup_Type’: ‘enum’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_shader_fx.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(330,38): error C2011: ‘GpencilBatchCacheElem’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(365,34): error C2011: ‘GpencilBatchCache’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_shader_fx.c)C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(347,34): error C2011: ‘GpencilBatchGroup’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(356,37): error C2011: ‘GpencilBatchGroup_Type’: ‘enum’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(365,34): error C2011: ‘GpencilBatchCache’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.c)C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(356,37): error C2011: ‘GpencilBatchGroup_Type’: ‘enum’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_cache_utils.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(356,37): error C2011: ‘GpencilBatchGroup_Type’: ‘enum’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_draw_utils.c)C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(347,34): error C2011: ‘GpencilBatchGroup’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_draw_cache_impl.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(365,34): error C2011: ‘GpencilBatchCache’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_cache_utils.c)C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(365,34): error C2011: ‘GpencilBatchCache’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_draw_utils.c)C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(356,37): error C2011: ‘GpencilBatchGroup_Type’: ‘enum’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_draw_cache_impl.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_engine.h(365,34): error C2011: ‘GpencilBatchCache’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\engines\gpencil\gpencil_draw_cache_impl.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines/gpencil/gpencil_engine.h(330,38): error C2011: ‘GpencilBatchCacheElem’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\intern\draw_manager.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines/gpencil/gpencil_engine.h(347,34): error C2011: ‘GpencilBatchGroup’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\intern\draw_manager.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines/gpencil/gpencil_engine.h(356,37): error C2011: ‘GpencilBatchGroup_Type’: ‘enum’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\intern\draw_manager.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\engines/gpencil/gpencil_engine.h(365,34): error C2011: ‘GpencilBatchCache’: ‘struct’ type redefinition (compiling source file C:\Blender-git\blender\source\blender\draw\intern\draw_manager.c) [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(164,85): error C2065: ‘CD_FREESTYLE_EDGE’: undeclared identifier [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(165,85): error C2065: ‘CD_FREESTYLE_FACE’: undeclared identifier [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2335,11): error C4431: missing type specifier - int assumed. Note: C no longer supports default-int [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2335,25): error C2143: syntax error: missing ‘;’ before '
’ [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2335,30): error C2065: ‘ffa’: undeclared identifier [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2335,30): error C2100: illegal indirection [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2336,12): error C2065: ‘ffa’: undeclared identifier [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2336,14): error C2223: left of ‘->flag’ must point to struct/union [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2336,40): error C2065: ‘FREESTYLE_FACE_MARK’: undeclared identifier [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2396,11): error C4431: missing type specifier - int assumed. Note: C no longer supports default-int [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2396,25): error C2143: syntax error: missing ‘;’ before '
’ [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2396,30): error C2065: ‘fed’: undeclared identifier [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2396,30): error C2100: illegal indirection [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2397,12): error C2065: ‘fed’: undeclared identifier [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2397,14): error C2223: left of ‘->flag’ must point to struct/union [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\draw\intern\draw_cache_extract_mesh.c(2397,40): error C2065: ‘FREESTYLE_EDGE_MARK’: undeclared identifier [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\draw\bf_draw.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3212,1): error C2084: function ‘int gpencil_check_same_material_color(Object *,float *,Material *)’ already has a body [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3244,1): error C2084: function ‘Material *gpencil_add_from_curve_material(Main *,Object *,float *,const bool,const bool,int *)’ already has a body [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3283,1): error C2084: function ‘void gpencil_add_new_points(bGPDstroke *,float *,float,int,int,float *,bool)’ already has a body [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3305,1): error C2084: function ‘Collection *gpencil_get_parent_collection(Scene *,Object *)’ already has a body [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3327,1): error C2084: function ‘void gpencil_convert_spline(Main *,Scene *,Object *,Object *,const bool,const bool,bGPDframe *,Nurb *)’ already has a body [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3560,1): error C2084: function ‘void BKE_gpencil_convert_curve(Main *,Scene *,Object *,Object *,const bool,const bool)’ already has a body [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3597,40): error C4133: ‘function’: incompatible types - from ‘Object *’ to ‘Scene *’ [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3597,84): error C4133: ‘function’: incompatible types - from ‘Nurb *’ to ‘bGPDframe *’ [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\blenkernel\intern\gpencil.c(3597,84): error C2198: ‘gpencil_convert_spline’: too few arguments for call [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\blenkernel\bf_blenkernel.vcxproj]
C:\Blender-git\blender\source\blender\makesrna\intern\rna_material.c(357,36): error C2039: ‘id’: is not a member of ‘PointerRNA’ [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\makesrna\intern\bf_rna.vcxproj]
C:\Blender-git\blender\source\blender\makesrna\intern\rna_material.c(362,36): error C2039: ‘id’: is not a member of ‘PointerRNA’ [c:\Blender-git\build_windows_Full_x64_vc16_Release\source\blender\makesrna\intern\bf_rna.vcxproj]
7 Warning(s)
44 Error(s)

Time Elapsed 00:00:10.68

I attempted again, after downloading and installing CUDA libraries for Win10. Still major Errors and I have no clue how to address them as of yet. Thanks for any help.
Here is a Link to the BuildError.log file, on my Server, as it is too many characters for this thread.
http://www.hartworks.net/blender/BuildError_log.txt

Hi, I can build temp-lanpr-cleanup branch on Linux, got the same pointer errors as you building soc-2019-npr branch.
This branch is very active, last merge was Monday 21.10.2019.

Cheers, mib

looks like soc-2019-npr has a merge error some time before. Fixed for the redefinition error.
For latest fixes and functionality use temp-lanpr-cleanup branch.

Simple instructions needed… :wink:
I moved to c:\blender-git\blender, typed ‘git checkout temp-lanpr-cleanup,’ and got
"Switched to a new branch ‘temp-lanpr-cleanup’
Branch ‘temp-lanpr-cleanup’ set up to track remote branch ‘temp-lanpr-cleanup’ from ‘origin’.
I have no idea what commands to type where to get this to build properly??
Glad it is still moving along.

Should be the same as building master, simply run make or make full in c:\blender-git\blender

I am able to build Blender using make full, just fine, but I am attempting to build the LANPR branch and ChengduLittleA above, noted that I need to use “For latest fixes and functionality use temp-lanpr-cleanup branch.” I need the commands to Pull (Git) this library from Source and be able to then build the LANPR as the soc-2019-npr branch throws up errors Thank you the help.

Those were the right commands

LazyDodo, thank you for the response. A bit of an ‘airhead’ move on my part, as I was successfully building Blender, but when running it as a test, I did not look to see if LANPR was available. After your response, I went back in, saw that it WAS included and then attempted to Render my challenging scene.
I received an Error: “takes 2 positional arguments but 3 were given” I had problem solved this very same error with Crowd Render Addon Developers four(4) days ago. They thought it odd, and confirmed that it was a ‘bug’ introduced by Blender Developers and would be addressed shortly??
But, the build process of LANPR now works, just doesn’t Render at the moment, due to this bug, as near as I can understand. I hesitate to Push this up to GraphicAll.org, as it apparently doesn’t actually work yet??

if it is fixed i master, i’d try running make update in your source folder to update your addons, then delete the 2.82/1/0 folder from your bin folder and re-run the build to get the latest versions copied in.

If that doesn’t work, the branch just has issues that need to be sorted out, it happens in branches they are not as well supported as master is.