I get this error when trying to build
==> Starting build()... CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The CXX compiler identification is GNU 15.1.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. -- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build(). Aborting...
When I added -DCMAKE_POLICY_VERSION_MINIMUM=3.5
it built just fine, however I cannot run simulations as I get the following error
Cannot start /usr/bin/qucsator (No such file or directory)
Pinned Comments
wereii commented on 2024-07-05 22:40 (UTC) (edited on 2024-07-05 22:47 (UTC) by wereii)
The latest tag of this project (0.0.20) still depends on qt4 which is only available in AUR now.
If you really need to build this (and also qt4) I recommend editing the qt4 package PKGBUILD and adding -j`nproc` arg to the make call - otherwise it will take a long time build.
0.0.20 also seems to be the last version of qucs before qt5 (see the archival in the tagged commit message): https://github.com/Qucs/qucs/commit/9ca02d8dd7c4bc426a09e4217977ad0519f16f2e