Compiling 6.99 on Debian "sid" fails

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 :slight_smile:

You managed to checkout an old outdated version of the 6.99 source, that is from before January 21st 2022.

hmnm… weird I’m downloading it from here:

Then selecting the download button <tar.gz>

trying with git clone from terminal now

You selected a dummy tag we placed at the start of nightly development. It is not the development branch. “master” is what you want to download.

It just compiled successfully by cloning the repo from the terminal :slight_smile:
Application: KiCad
Version: (6.99.0-4267-g29bf96f7f0), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.2.0
FontConfig 2.13.1
libcurl/7.86.0 OpenSSL/3.0.7 zlib/1.2.13 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.3 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.50.0 librtmp/2.3
Platform: Linux 5.18.0-0.deb11.4-amd64 x86_64, 64 bit, Little endian, wxGTK, xfce, x11
Build Info:
Date: Nov 10 2022 13:41:53
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.1
Curl: 7.86.0
ngspice: 38
Compiler: GCC 12.2.0 with C++ ABI 1017

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.