Building From Source on Arch Linux


#1

The kicad-git package in the Arch User Repository is a little out of date and I wanted to try out some newer features in Kicad so I tried building it from the launchpad repository. I am building (commit 57ded5823119) on Arch Linux with python scripting and oce.
I have installed the following packages:

  • boost-libs (1.63)
  • curl (7.53)
  • desktop-file-utils (0.23)
  • glew (2.0.0-1)
  • glm (0.9.8.4)
  • python 2.7
  • swig (3.0.12)
  • wxgtk (3.0.2-6)
  • wxpython (3.0.2-2)
  • boost (1.63)
  • oce (0.18)
  • cmake (3.7.2)
  • mesa (17.0.2)
  • zlib (1:1.2.11)

I cloned the repository, created a build directory, cd’d into it and ran the following cmake command:

cmake -DKICAD_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_USE_OCE=ON -DOCE_DIR=/opt/oce/lib/oce-0.18/ -DKICAD_SCRIPTING_WXPYTHON=ON ..

This is the output from my cmake command:

-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Kicad install dir: </usr>
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for iso646.h
-- Looking for iso646.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for malloc
-- Looking for malloc - found
-- Looking for math.h
-- Looking for math.h - found
-- Looking for C++ include cmath
-- Looking for C++ include cmath - found
-- Looking for asinh
-- Looking for asinh - found
-- Looking for acosh
-- Looking for acosh - found
-- Looking for atanh
-- Looking for atanh - found
-- Performing Test HAVE_CMATH_ISINF
-- Performing Test HAVE_CMATH_ISINF - Success
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for getc_unlocked
-- Looking for getc_unlocked - found
-- Performing Test COMPILER_SUPPORTS_WSUGGEST_OVERRIDE
-- Performing Test COMPILER_SUPPORTS_WSUGGEST_OVERRIDE - Success
-- Performing Test COMPILER_SUPPORTS_WSHADOW
-- Performing Test COMPILER_SUPPORTS_WSHADOW - Success
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp  
-- Found wxWidgets: -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") 
-- Found OpenGL: /usr/lib64/libGL.so  
-- Found Glew: /usr/lib64/libGLEW.so
-- Check for installed GLEW -- found
-- Found GLM: /usr/include (found suitable version "0.9.8.4", minimum required is "0.9.5.1") 
-- Found CURL: /usr/lib64/libcurl.so (found version "7.53.1") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'cairo'
--   Found cairo, version 1.14.8
-- Found Cairo: /usr/lib64/libcairo.so (found suitable version "1.14.8", minimum required is "1.8.8") 
-- Checking for module 'pixman-1'
--   Found pixman-1, version 0.34.0
-- Found Pixman: /usr/lib64/libpixman-1.so (found suitable version "0.34.0", minimum required is "0.30") 
-- Boost version: 1.63.0
-- Found SWIG: /usr/bin/swig (found suitable version "3.0.12", minimum required is "3.0") 
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.13", minimum required is "2.6") 
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/site-packages
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.13", minimum required is "2.6") 
-- wxPython version 3.0 found.
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") 
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.2k") 
-- S3DSG version: 2.0.0
-- Boost version: 1.63.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    KICAD_BUILD_TYPE


-- Build files have been written to: /home/jesse/gitrepos/kicad/build

That completed just fine. But I’m not sure about the boost libraries it reports finding. It only finds a unit test one? Are there more it needs? Then I ran make. Here is the build output starting from 64% because there was an “internal compiler error” and it continues on, through a warning and ends around 77%.

[ 64%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/export_to_pcbnew.cpp.o
[ 64%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/class_netlist_object.cpp.o
In file included from /home/jesse/gitrepos/kicad/pagelayout_editor/./pl_editor_frame.h:35:0,
                 from /home/jesse/gitrepos/kicad/pagelayout_editor/toolbars_pl_editor.cpp:37:
/home/jesse/gitrepos/kicad/include/draw_frame.h:140:74: internal compiler error: Segmentation fault
     void SetScreen( BASE_SCREEN* aScreen )  { m_currentScreen = aScreen; }
                                                                          ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
make[2]: *** [pagelayout_editor/CMakeFiles/pl_editor_kiface.dir/build.make:543: pagelayout_editor/CMakeFiles/pl_editor_kiface.dir/toolbars_pl_editor.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1866: pagelayout_editor/CMakeFiles/pl_editor_kiface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 65%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/cmp_library_keywords.cpp.o
[ 65%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/UnitSelector.cpp.o
[ 65%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/pcb_calculator_datafile_keywords.cpp.o
[ 65%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/files.cpp.o
[ 65%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/cmp_library_lexer.cpp.o
[ 65%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/component_references_lister.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/transline.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/c_microstrip.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/microstrip.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/coplanar.cpp.o
[ 66%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/controle.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/coax.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/rectwaveguide.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/stripline.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/twistedpair.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline_dlg_funct.cpp.o
[ 66%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/gerbview_config.cpp.o
[ 66%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/gerbview_frame.cpp.o
[ 66%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/cross-probing.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/attenuators/attenuator_classes.cpp.o
[ 66%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/dialogs/pcb_calculator_frame_base.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/hotkeys.cpp.o
[ 67%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_annotate.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/locate.cpp.o
[ 67%] Building CXX object pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/dialogs/dialog_regulator_data_base.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/menubar.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/onleftclick.cpp.o
[ 67%] Linking CXX shared module _pcb_calculator.kiface
[ 67%] Built target pcb_calculator_kiface
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/onrightclick.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/printout_control.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/readgerb.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/rs274_read_XY_and_IJ_coordinates.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/rs274d.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/rs274x.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/select_layers_to_pcb.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/toolbars_gerber.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/gerbview_dialog_display_options_frame_base.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/gerbview_dialog_display_options_frame.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_layers_select_to_pcb_base.cpp.o
[ 67%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_print_using_printer.cpp.o
[ 68%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_print_using_printer_base.cpp.o
[ 68%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_select_one_pcb_layer.cpp.o
[ 68%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_show_page_borders.cpp.o
[ 68%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_show_page_borders_base.cpp.o
[ 68%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/__/common/base_screen.cpp.o
[ 68%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/__/common/base_units.cpp.o
[ 68%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/__/common/eda_text.cpp.o
[ 68%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/__/common/class_layer_box_selector.cpp.o
[ 68%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/__/common/class_page_info.cpp.o
[ 68%] Building CXX object gerbview/CMakeFiles/gerbview_kiface.dir/__/pcbnew/layer_widget.cpp.o
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_annotate_base.cpp.o
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_bom.cpp.o
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_bom_base.cpp.o
[ 68%] Linking CXX shared module _gerbview.kiface
[ 68%] Built target gerbview_kiface
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_bom_cfg_keywords.cpp.o
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_choose_component.cpp.o
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_lib_edit_text.cpp.o
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_lib_edit_text_base.cpp.o
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_edit_component_in_lib.cpp.o
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_edit_component_in_lib_base.cpp.o
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_edit_component_in_schematic_fbp.cpp.o
[ 68%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_edit_component_in_schematic.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_edit_label.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_edit_label_base.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_edit_libentry_fields_in_lib.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_edit_libentry_fields_in_lib_base.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_edit_one_field.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_eeschema_config.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_eeschema_config_fbp.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_eeschema_options_base.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_eeschema_options.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_erc.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_erc_base.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_lib_edit_draw_item.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_lib_edit_draw_item_base.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_libedit_options_base.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_libedit_options.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_lib_edit_pin.cpp.o
[ 69%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_lib_edit_pin_base.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_lib_edit_pin_table.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_lib_edit_pin_table_base.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_lib_new_component.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_lib_new_component_base.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_netlist.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_netlist_base.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_plot_schematic_base.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_plot_schematic.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_print_using_printer_base.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_print_using_printer.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_rescue_each.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_rescue_each_base.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_sch_edit_sheet_pin.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_sch_edit_sheet_pin_base.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_sch_sheet_props.cpp.o
[ 70%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_sch_sheet_props_base.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_schematic_find.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_schematic_find_base.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_symbol_remap.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_symbol_remap_base.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/widgets/widget_eeschema_color_config.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/widgets/pin_shape_combobox.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/widgets/pin_type_combobox.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/edit_component_in_schematic.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/edit_bitmap.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/edit_label.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/eeredraw.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/eeschema.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/eeschema_config.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/erc.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/events_called_functions_for_edit.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/files-io.cpp.o
[ 71%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/find.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/getpart.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/cmp_tree_model.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/cmp_tree_model_adapter.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/generate_alias_info.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/hierarch.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/highlight_connection.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/hotkeys.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/libarch.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/libedit.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/libeditframe.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/libedit_onleftclick.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/libedit_onrightclick.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/libedit_plot_component.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/libedit_undo_redo.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_arc.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_bezier.cpp.o
[ 72%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_circle.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_collectors.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_draw_item.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_export.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_field.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_pin.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_polyline.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_rectangle.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_text.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/libfield.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/load_one_schematic_file.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/menubar.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/menubar_libedit.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/netform.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/netlist.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/onleftclick.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/onrightclick.cpp.o
[ 73%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/operations_on_items_lists.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/pinedit.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/pin_number.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/pin_shape.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/pin_type.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_DXF.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_HPGL.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_PS.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_PDF.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_SVG.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/project_rescue.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_base_frame.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_bitmap.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_bus_entry.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_collectors.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_component.cpp.o
[ 74%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_field.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_io_mgr.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_item_struct.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_junction.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_legacy_plugin.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_line.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_marker.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_no_connect.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_plugin.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_screen.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_sheet.cpp.o
/home/jesse/gitrepos/kicad/eeschema/sch_plugin.cpp:44:13: warning: ‘void not_implemented(const SCH_PLUGIN*, const char*)’ defined but not used [-Wunused-function]
 static void not_implemented( const SCH_PLUGIN* aPlugin, const char* aCaller )
             ^~~~~~~~~~~~~~~
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_sheet_path.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_sheet_pin.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_text.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sch_validators.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/schedit.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/schematic_undo_redo.cpp.o
[ 75%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/schframe.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/selpart.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sheet.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/sheetlab.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/symbdraw.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/symbedit.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/symbol_lib_table.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/template_fieldnames_keywords.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/template_fieldnames.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/tool_lib.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/tool_sch.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/tool_viewlib.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/transform.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/viewlib_frame.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/viewlibs.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/netlist_exporters/netlist_exporter.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/netlist_exporters/netlist_exporter_cadstar.cpp.o
[ 76%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/netlist_exporters/netlist_exporter_generic.cpp.o
[ 77%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/netlist_exporters/netlist_exporter_kicad.cpp.o
[ 77%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/netlist_exporters/netlist_exporter_orcadpcb2.cpp.o
[ 77%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/netlist_exporters/netlist_exporter_pspice.cpp.o
[ 77%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/__/common/dialogs/dialog_page_settings.cpp.o
[ 77%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/__/common/base_screen.cpp.o
[ 77%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/__/common/eda_text.cpp.o
[ 77%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/__/common/class_page_info.cpp.o
[ 77%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/__/common/base_units.cpp.o
[ 77%] Linking CXX shared module _eeschema.kiface
[ 77%] Built target eeschema_kiface
make: *** [Makefile:150: all] Error 2

I lurk on the developers mailing list too and didn’t see any failing travis builds so I figured it must be my setup.
Is there anything else people used on Arch?
Any pointers would be appreciated.


#2

I haven’t ever worked in Kicad on Arch, but I plan on doing so soon. I have built on Ubuntu, but I have Boost 1.58 installed,

– Boost version: 1.58.0
– Found the following Boost libraries:
– system
– filesystem
– unit_test_framework

You might try setting KICAD_BUILD_TYPE to Release.


#3

@jwpartain1 thanks for the reply.
I do have KICAD_BUILD_TYPE set to release there. But that makes me wonder about the boost libraries. I’ll have to check when I get home if there is a cmake option to point it to the correct boost libraries.


#4

A dev-mailing list thread regarding boost versions, link to last post with a list of version used on nightly build machines:

https://lists.launchpad.net/kicad-developers/msg28968.html


#5

@dBman thanks for that, I must have missed that one. Maybe I’ll try downloading a boost version that works with KiCAD. I noticed the boost required version in the CMakeLists.txt file is for 1.58 so maybe I’ll mess with that too.


#6

I tried changeing the line in CMakeLists to the version of boost I have and it still seems to realize what version I have, but does not find the other libraries.


#7

Well nickoe on irc suggested I pull a new commit and try with a fresh build dir. So I did that and ran make with -j1 incase another error happend. All seems to be running just fine.