I just built wxWidgets 3.2.1 (make + sudo make install + sudo ldconfig, all successful); but trying to build kiCAD it’s telling me it needs wxWidgets >= 3.2.0
I’m on Lubuntu 22.04.1, gcc11, trying to build version … Well, the version number does not appear to be written anywhere in the sources, but it’s the latest tar.bz2 downloadable… Found it: 3.22.1
Treat me like a newbie, plz; I’ve been living in linux for a decade, but I’m too old to learn new tricks.
Here’s the relevant output:
dd@dd-20b7s4e800:~/Downloads/zip/KiCAD/kicad-master/build/release$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ../…/
– KiCad install dir: </usr/local>
– Enabling warning -Wsuggest-override
– Enabling warning -Wduplicated-branches
– Enabling warning -Wduplicated-cond
– Enabling error for -Wvla
– Enabling warning -Wimplicit-fallthrough
– Enabling error for -Wreturn-type
– Enabling warning -Wshadow
– Enabling warning -Wsign-compare
– Enabling warning -Wmissing-field-initializers
– Enabling warning -Wempty-body
– Enabling warning -Wreorder
– Enabling warning -Wmismatched-tags
– Disabling warning -Wpsabi
– Check for installed GLEW – found
– Found the following HarfBuzz libraries:
– HarfBuzz (required): /usr/lib/x86_64-linux-gnu/libharfbuzz.so
– Found OpenCASCADE Standard Edition version: 7.5.0
– ++ OpenCASCADE Standard Edition include directory: /usr/local/include/opencascade
– ++ OpenCASCADE Standard Edition shared libraries directory: /usr/local/lib
– Check for installed Python Interpreter – found
– Python module install path: local/lib/python3.10/dist-packages
– pybind11 v2.9.2
CMake Error at CMakeLists.txt:908 (message):
wxWidgets 3.2.0 or greater is required
– Configuring incomplete, errors occurred!
See also “/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeOutput.log”.
See also “/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeError.log”.
dd@dd-20b7s4e800:~/Downloads/zip/KiCAD/kicad-master/build/release$
CMakeError.log:
Performing C++ SOURCE FILE Test COMPILER_SUPPORTS_WINCONSISTENT_MISSING_OVERRIDE failed with the following output:
Change Dir: /home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_0b758/fast && /usr/bin/gmake -f CMakeFiles/cmTC_0b758.dir/build.make CMakeFiles/cmTC_0b758.dir/build
gmake[1]: Entering directory ‘/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp’
Building CXX object CMakeFiles/cmTC_0b758.dir/src.cxx.o
/usr/bin/c++ -DCOMPILER_SUPPORTS_WINCONSISTENT_MISSING_OVERRIDE -fPIE -Winconsistent-missing-override -std=c++17 -o CMakeFiles/cmTC_0b758.dir/src.cxx.o -c /home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-Winconsistent-missing-override’
gmake[1]: *** [CMakeFiles/cmTC_0b758.dir/build.make:78: CMakeFiles/cmTC_0b758.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory ‘/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp’
gmake: *** [Makefile:127: cmTC_0b758/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test COMPILER_SUPPORTS_WIMPLICIT_FLOAT_CONVERSION failed with the following output:
Change Dir: /home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d91b1/fast && /usr/bin/gmake -f CMakeFiles/cmTC_d91b1.dir/build.make CMakeFiles/cmTC_d91b1.dir/build
gmake[1]: Entering directory ‘/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp’
Building CXX object CMakeFiles/cmTC_d91b1.dir/src.cxx.o
/usr/bin/c++ -DCOMPILER_SUPPORTS_WIMPLICIT_FLOAT_CONVERSION -fPIE -Wimplicit-int-float-conversion -std=c++17 -o CMakeFiles/cmTC_d91b1.dir/src.cxx.o -c /home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-Wimplicit-int-float-conversion’; did you mean ‘-Wdeprecated-enum-float-conversion’?
gmake[1]: *** [CMakeFiles/cmTC_d91b1.dir/build.make:78: CMakeFiles/cmTC_d91b1.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory ‘/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp’
gmake: *** [Makefile:127: cmTC_d91b1/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test COMPILER_SUPPORTS_TRIVIAL_PATTERN_INIT failed with the following output:
Change Dir: /home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_f3a56/fast && /usr/bin/gmake -f CMakeFiles/cmTC_f3a56.dir/build.make CMakeFiles/cmTC_f3a56.dir/build
gmake[1]: Entering directory ‘/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp’
Building CXX object CMakeFiles/cmTC_f3a56.dir/src.cxx.o
/usr/bin/c++ -DCOMPILER_SUPPORTS_TRIVIAL_PATTERN_INIT -Wno-attributes -fPIE -ftrivial-auto-var-init=pattern -std=c++17 -o CMakeFiles/cmTC_f3a56.dir/src.cxx.o -c /home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-ftrivial-auto-var-init=pattern’
gmake[1]: *** [CMakeFiles/cmTC_f3a56.dir/build.make:78: CMakeFiles/cmTC_f3a56.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory ‘/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp’
gmake: *** [Makefile:127: cmTC_f3a56/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test COMPILER_SUPPORTS_TRIVIAL_ZERO_INIT failed with the following output:
Change Dir: /home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_9e921/fast && /usr/bin/gmake -f CMakeFiles/cmTC_9e921.dir/build.make CMakeFiles/cmTC_9e921.dir/build
gmake[1]: Entering directory ‘/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp’
Building CXX object CMakeFiles/cmTC_9e921.dir/src.cxx.o
/usr/bin/c++ -DCOMPILER_SUPPORTS_TRIVIAL_ZERO_INIT -Wno-attributes -fPIE -ftrivial-auto-var-init=zero -std=c++17 -o CMakeFiles/cmTC_9e921.dir/src.cxx.o -c /home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
gmake[1]: *** [CMakeFiles/cmTC_9e921.dir/build.make:78: CMakeFiles/cmTC_9e921.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory ‘/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp’
gmake: *** [Makefile:127: cmTC_9e921/fast] Error 2
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test COMPILER_REQUIRES_ENABLE_TRIVIAL_ZERO_INIT failed with the following output:
Change Dir: /home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_291c1/fast && /usr/bin/gmake -f CMakeFiles/cmTC_291c1.dir/build.make CMakeFiles/cmTC_291c1.dir/build
gmake[1]: Entering directory ‘/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp’
Building CXX object CMakeFiles/cmTC_291c1.dir/src.cxx.o
/usr/bin/c++ -DCOMPILER_REQUIRES_ENABLE_TRIVIAL_ZERO_INIT -Wno-attributes -fPIE -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -std=c++17 -o CMakeFiles/cmTC_291c1.dir/src.cxx.o -c /home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
gmake[1]: *** [CMakeFiles/cmTC_291c1.dir/build.make:78: CMakeFiles/cmTC_291c1.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory ‘/home/dd/Downloads/zip/KiCAD/kicad-master/build/release/CMakeFiles/CMakeTmp’
gmake: *** [Makefile:127: cmTC_291c1/fast] Error 2
Source file was:
int main() { return 0; }