hey there,
today I wanted to try and compile 6.99 myself as I can’t seem to find any updates available on Debian APT since months.
However, after a successful compile of 6.0.9 I tried building the 6.99 source and get this:
[ 13%] Building CXX object plugins/3d/vrml/CMakeFiles/s3d_plugin_vrml.dir/x3d/x3d_transform.cpp.o
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadfootprint.cpp: In member function ‘bool KICADFOOTPRINT::parseRect(SEXPR::SEXPR*)’:
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadfootprint.cpp:165:10: error: ‘unique_ptr’ is not a member of ‘std’
165 | std::unique_ptr rect = std::make_unique();
| ^~~~~~~~~~
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadfootprint.cpp:37:1: note: ‘std::unique_ptr’ is defined in header ‘’; did you forget to ‘#include ’?
36 | #include <wx/filename.h>
+++ |+#include
37 |
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadfootprint.cpp:165:31: error: expected primary-expression before ‘>’ token
165 | std::unique_ptr rect = std::make_unique();
| ^
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadfootprint.cpp:165:33: error: ‘rect’ was not declared in this scope
165 | std::unique_ptr rect = std::make_unique();
| ^~~~
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadfootprint.cpp:165:45: error: ‘make_unique’ is not a member of ‘std’
165 | std::unique_ptr rect = std::make_unique();
| ^~~~~~~~~~~
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadfootprint.cpp:165:45: note: ‘std::make_unique’ is defined in header ‘’; did you forget to ‘#include ’?
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadfootprint.cpp:165:67: error: expected primary-expression before ‘>’ token
165 | std::unique_ptr rect = std::make_unique();
| ^
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadfootprint.cpp:165:69: error: expected primary-expression before ‘)’ token
165 | std::unique_ptr rect = std::make_unique();
| ^
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadpcb.cpp: In member function ‘bool KICADPCB::ReadFile(const wxString&)’:
/home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadpcb.cpp:88:20: warning: ‘bool wxFileName::Normalize()’ is deprecated: specify the wanted flags explicitly to avoid surprises [-Wdeprecated-declarations]
88 | fname.Normalize();
| ~~~~~~~^~
In file included from /home/jclaude/Downloads/Kicad/source_6.99/kicad-6.99.0/utils/kicad2step/pcb/kicadpcb.cpp:34:
/usr/include/wx-3.2/wx/filename.h:366:10: note: declared here
366 | bool Normalize()
| ^
make[2]: *** [utils/kicad2step/CMakeFiles/kicad2step_lib.dir/build.make:146: utils/kicad2step/CMakeFiles/kicad2step_lib.dir/pcb/kicadfootprint.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
I’m not coding expert so please do let me know what kind of information I can provide to help this out! Thanks