Compile failure

Bug #1835408 reported by Alex
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Invalid
Undecided
Unassigned

Bug Description

I pulled the latest build from git and got the following errors:

-- Found Git: /usr/bin/git (found version "2.11.0")
-- Not updating /home/alex/kicad_sources/kicad_build/kicad_build_version.h
[ 28%] Built target version_header
[ 30%] Built target gal
[ 41%] Built target common
Scanning dependencies of target pcbcommon
[ 41%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_parser.cpp.o
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp: In member function ‘void PCB_PARSER::parseSetup()’:
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:1383:14: error: ‘T_max_error’ was not declared in this scope
         case T_max_error:
              ^~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:1388:14: error: ‘T_filled_areas_thickness’ was not declared in this scope
         case T_filled_areas_thickness:
              ^~~~~~~~~~~~~~~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp: In member function ‘D_PAD* PCB_PARSER::parseD_PAD(MODULE*)’:
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:2713:14: error: ‘T_chamfer_ratio’ was not declared in this scope
         case T_chamfer_ratio:
              ^~~~~~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:2732:22: error: ‘T_top_left’ was not declared in this scope
                 case T_top_left:
                      ^~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:2736:22: error: ‘T_top_right’ was not declared in this scope
                 case T_top_right:
                      ^~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:2740:22: error: ‘T_bottom_left’ was not declared in this scope
                 case T_bottom_left:
                      ^~~~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:2744:22: error: ‘T_bottom_right’ was not declared in this scope
                 case T_bottom_right:
                      ^~~~~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp: In member function ‘ZONE_CONTAINER* PCB_PARSER::parseZONE_CONTAINER()’:
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:3182:14: error: ‘T_filled_areas_thickness’ was not declared in this scope
         case T_filled_areas_thickness:
              ^~~~~~~~~~~~~~~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:3234:22: error: ‘T_hatch_thickness’ was not declared in this scope
                 case T_hatch_thickness:
                      ^~~~~~~~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:3239:22: error: ‘T_hatch_gap’ was not declared in this scope
                 case T_hatch_gap:
                      ^~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:3244:22: error: ‘T_hatch_orientation’ was not declared in this scope
                 case T_hatch_orientation:
                      ^~~~~~~~~~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:3249:22: error: ‘T_hatch_smoothing_level’ was not declared in this scope
                 case T_hatch_smoothing_level:
                      ^~~~~~~~~~~~~~~~~~~~~~~
/home/alex/kicad_sources/kicad/pcbnew/pcb_parser.cpp:3254:22: error: ‘T_hatch_smoothing_value’ was not declared in this scope
                 case T_hatch_smoothing_value:
                      ^~~~~~~~~~~~~~~~~~~~~~~
common/CMakeFiles/pcbcommon.dir/build.make:1308: recipe for target 'common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_parser.cpp.o' failed
make[2]: *** [common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_parser.cpp.o] Error 1
CMakeFiles/Makefile2:412: recipe for target 'common/CMakeFiles/pcbcommon.dir/all' failed
make[1]: *** [common/CMakeFiles/pcbcommon.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

KiCad install dir: </usr/local>
Check for installed GLEW -- found
Boost version: 1.62.0
Check for installed Python Interpreter -- found
Python module install path: lib/python2.7/dist-packages
Found wxPython 3.0.2.0/gtk2 (wxWidgets 3.0.2.0)
Found wxWidgets: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0 (found suitable version "3.0.2", minimum required is "3.0.2.0")
Found wxPython.h in /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0/wx/wxPython
S3DSG version: 2.0.0
Boost version: 1.62.0
Found the following Boost libraries:
  unit_test_framework
  filesystem
  system
Found wxWidgets: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0 (found suitable version "3.0.2", minimum required is "3.0.0")
Boost version: 1.62.0
Found the following Boost libraries:
  unit_test_framework
Configuring done

gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake --version
cmake version 3.7.2

Not sure what other info is needed.

Revision history for this message
Nick Østergaard (nickoe) wrote :

I don't think you are properly synced.

Please show us the output of git describe

Changed in kicad:
status: New → Incomplete
Revision history for this message
Alex (otteq) wrote :

git describe output:

5.1.0-1195-g1548dcfe8

Running git pull says "Already up-to-date."

Revision history for this message
Seth Hillbrand (sethh) wrote :

From the base of your repository directory, you will need to run 'git clean -fx'

This will remove all files that are not part of the repository, so be sure that you have saved any you want to keep.

We've changed how we generate lexer files which necessitates this one-time additional step.

Changed in kicad:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.