diff --git a/common/fp_lib_table.cpp b/common/fp_lib_table.cpp index 64970f1f2c..8c7e0a1f98 100644 --- a/common/fp_lib_table.cpp +++ b/common/fp_lib_table.cpp @@ -66,7 +66,7 @@ void FP_LIB_TABLE_ROW::SetType( const wxString& aType ) bool FP_LIB_TABLE_ROW::LibraryExists() const { if( plugin ) - return plugin->CanReadLibrary( GetFullURI() ); + return plugin->CanReadLibrary( GetFullURI( true ) ); return false; } diff --git a/pcbnew/autorouter/spread_footprints.cpp b/pcbnew/autorouter/spread_footprints.cpp index d0fc484c29..c37f2cac6e 100644 --- a/pcbnew/autorouter/spread_footprints.cpp +++ b/pcbnew/autorouter/spread_footprints.cpp @@ -121,7 +121,7 @@ std::optional<rectpack2D::rect_wh> spreadRectangles( rect_vector& vecSubRects, i return result; } -#include <wx/log.h> + void SpreadFootprints( std::vector<FOOTPRINT*>* aFootprints, VECTOR2I aTargetBoxPosition, bool aGroupBySheet, int aComponentGap, int aGroupGap ) {