← Back to team overview

kicad-developers team mailing list archive

Issues with multi-thread building for the new zone filling algo with no thickness

 

Hello JP et. al,

It looks like I have issues building pcb_parser.cpp after
eb1faebf1f72bd5350f0dbffa0eb6aa22a15918e

See the attached file for the build error I get

I can reproduce this easily with make -j40

In the log snippet I did even do make -j1 after it failed once.

I don't think this issue should be confused with:
https://bugs.launchpad.net/kicad/+bug/1833851

Nick
[ 41%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_parser.cpp.o
cd /home/nickoe/kicad-source-mirror/build/common && /usr/bin/c++  -DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H -DKICAD_CONFIG_DIR=kicad -DKICAD_SCRIPTING -DKICAD_SCRIPTING_ACTION_MENU -DKICAD_SCRIPTING_MODULES -DKICAD_SCRIPTING_PYTHON3 -DKICAD_SCRIPTING_WXPYTHON -DKICAD_SCRIPTING_WXPYTHON_PHOENIX -DKICAD_SPICE -DKICAD_USE_OCC -DWXUSINGDLL -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DPCBNEW -I/home/nickoe/kicad-source-mirror/include -I/home/nickoe/kicad-source-mirror/common/. -I/home/nickoe/kicad-source-mirror/common/./dialogs -I/home/nickoe/kicad-source-mirror/common/./widgets -I/home/nickoe/kicad-source-mirror/common/./dialog_about -I/usr/include/cairo -I/usr/include/pixman-1 -I/home/nickoe/kicad-source-mirror/common/../3d-viewer -I/home/nickoe/kicad-source-mirror/common/../pcbnew -I/home/nickoe/kicad-source-mirror/build -I/usr/include/python3.7m -I/home/nickoe/kicad-source-mirror/scripting -I/home/nickoe/kicad-source-mirror/bitmaps_png/include -I/home/nickoe/kicad-source-mirror/polygon/include -isystem /usr/include/opencascade -isystem /usr/lib/wx/include/gtk3-unicode-3.0 -isystem /usr/include/wx-3.0  -Wall  -Wsuggest-override -Werror=vla -pthread -Wshadow -g3 -ggdb3 -DDEBUG -Wno-deprecated-declarations -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -std=gnu++11 -o CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_parser.cpp.o -c /home/nickoe/kicad-source-mirror/pcbnew/pcb_parser.cpp
/home/nickoe/kicad-source-mirror/pcbnew/pcb_parser.cpp: In member function ‘void PCB_PARSER::parseSetup()’:
/home/nickoe/kicad-source-mirror/pcbnew/pcb_parser.cpp:1388:14: error: ‘T_filled_areas_thickness’ was not declared in this scope
         case T_filled_areas_thickness:
              ^~~~~~~~~~~~~~~~~~~~~~~~
/home/nickoe/kicad-source-mirror/pcbnew/pcb_parser.cpp: In member function ‘ZONE_CONTAINER* PCB_PARSER::parseZONE_CONTAINER()’:
/home/nickoe/kicad-source-mirror/pcbnew/pcb_parser.cpp:3182:14: error: ‘T_filled_areas_thickness’ was not declared in this scope
         case T_filled_areas_thickness:
              ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [common/CMakeFiles/pcbcommon.dir/build.make:783: common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_parser.cpp.o] Error 1
make[2]: Leaving directory '/home/nickoe/kicad-source-mirror/build'
make[1]: *** [CMakeFiles/Makefile2:494: common/CMakeFiles/pcbcommon.dir/all] Error 2
make[1]: Leaving directory '/home/nickoe/kicad-source-mirror/build'
make: *** [Makefile:163: all] Error 2
[nickoe@z620 build]$ git describe
5.1.0-1127-ga39023ad2

Follow ups