← Back to team overview

kicad-developers team mailing list archive

Build errors

 

As of the commit b9e07f2a706b719a5f86b6372c5a7cda2f6a7c55 I am getting
the following build errors on linux using clang:

/usr/bin/ld: ../common/libgal.a(view_overlay.cpp.o): in function
`COMMAND_POLY_POLYGON':
/home/wayne/src/kicad-trunk/common/view/view_overlay.cpp:177: undefined
reference to `SHAPE_POLY_SET::SHAPE_POLY_SET(SHAPE_POLY_SET const&, bool)'
/usr/bin/ld: ../common/libgal.a(view_overlay.cpp.o): in function
`~COMMAND_POLY_POLYGON':
/home/wayne/src/kicad-trunk/common/view/view_overlay.cpp:174: undefined
reference to `SHAPE_POLY_SET::~SHAPE_POLY_SET()'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [kicad/CMakeFiles/kicad.dir/build.make:262: kicad/kicad]
Error 1
make[1]: *** [CMakeFiles/Makefile2:2666: kicad/CMakeFiles/kicad.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....


/home/wayne/src/kicad-trunk/pcbnew/exporters/export_vrml.cpp:50:10:
fatal error:
      'kicad/kicad_manager_frame.h' file not found
#include "kicad/kicad_manager_frame.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: ***
[pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/build.make:1804:
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/exporters/export_vrml.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....


/home/wayne/src/kicad-trunk/pcbnew/router/length_tuner_tool.cpp:52:20:
error:
      no matching constructor for initialization of 'TOOL_ACTION'
static TOOL_ACTION ACT_EndTuning( "pcbnew.LengthTuner.EndTuning",
                   ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wayne/src/kicad-trunk/include/tool/tool_action.h:49:5: note: candidate
      constructor not viable: no known conversion from 'const wxString' to
      'const std::string' (aka 'const basic_string<char>') for 4th argument
    TOOL_ACTION( const std::string& aName, TOOL_ACTION_SCOPE aScope = AS...
    ^
/home/wayne/src/kicad-trunk/include/tool/tool_action.h:46:7: note: candidate
      constructor (the implicit copy constructor) not viable: requires 1
      argument, but 5 were provided
class TOOL_ACTION
      ^


Follow ups