← Back to team overview

kicad-developers team mailing list archive

afe0221d build error in eeschema/pin_numbers.cpp

 

Wayne,

wxIsdigit is reported as an undefined symbol when compiling eeschema/pin_numbers.cpp.

One possible solution is to add

#include <wx/wxcrt.h>

to eeschema/pin_numbers.cpp

Patch attached.

Cheers,
-Brian
>From c7a9dc14dc11ab0436d636e84970357e495ab2dc Mon Sep 17 00:00:00 2001
From: Brian Henning <lotharyx@xxxxxxxxx>
Date: Thu, 14 Mar 2019 12:17:02 -0400
Subject: [PATCH] Added an include to tell the compiler where to find wxIsdigit

---
 eeschema/pin_number.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eeschema/pin_number.cpp b/eeschema/pin_number.cpp
index 440fe7c3c..f0e14ad1a 100644
--- a/eeschema/pin_number.cpp
+++ b/eeschema/pin_number.cpp
@@ -23,6 +23,7 @@
  */
 
 #include "pin_number.h"
+#include <wx/wxcrt.h>
 
 namespace {
 
-- 
2.20.1


Follow ups