Package Details: qscan 1.0.5-1

Git Clone URL: https://aur.archlinux.org/qscan.git (read-only, click to copy)
Package Base: qscan
Description: QT document scanner using SANE
Upstream URL: https://github.com/mensinda/qScan
Keywords: qt sane
Licenses: Apache
Submitter: mensinda
Maintainer: mensinda
Last Packager: mensinda
Votes: 0
Popularity: 0.000000
First Submitted: 2022-12-24 14:15 (UTC)
Last Updated: 2023-07-16 09:26 (UTC)

Latest Comments

dreieck commented on 2024-09-13 09:02 (UTC) (edited on 2024-09-13 09:03 (UTC) by dreieck)

Please save the downloaded source files not as generic filenames v1.1.2.tar.gz and v1.0.5.tar.gz, but more precise filenames like enumGen.v1.1.2.tar.gz and qScan.v1.0.5.tar.gz.

Rationale: When the user has set $SRCDEST (e.g. in /etc/makepkg.conf), then all source files are downloaded into a single directory.

And generic filenames are prone to conflicts if any other package has done the same (or in this case, if qScan and enumGen happen to have the same version number).

To do so, prepend enumGen.v1.1.2.tar.gz:: and qScan.v1.0.5.tar.gz::, respectively, to the source array entries.

Regards and thanks for the package!

mensinda commented on 2023-07-16 09:29 (UTC)

Should be fixed with the latest version

FabioLolix commented on 2023-07-13 22:05 (UTC)

Working pkgbuild here https://github.com/FabioLolix/AURFIX/tree/main/q/qscan, patch submitted upstream

dreieck commented on 2023-07-07 10:42 (UTC) (edited on 2023-07-07 10:48 (UTC) by dreieck)

Build fails for me with a lot of
error: ‘uint64_t’ was not declared in this scope and others:

[19/49] Compiling C++ object lib/libqscan_lib.a.p/meson-generated_.._enum2str.cpp.o
FAILED: lib/libqscan_lib.a.p/meson-generated_.._enum2str.cpp.o 
c++ -Ilib/libqscan_lib.a.p -Ilib -I../lib -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++20 -Wno-pedantic -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -MD -MQ lib/libqscan_lib.a.p/meson-generated_.._enum2str.cpp.o -MF lib/libqscan_lib.a.p/meson-generated_.._enum2str.cpp.o.d -o lib/libqscan_lib.a.p/meson-generated_.._enum2str.cpp.o -c lib/enum2str.cpp
In file included from lib/enum2str.cpp:8:
lib/enum2str.hpp:40:45: error: ‘uint64_t’ was not declared in this scope
   40 |   std::string SANE_Status_toStr           ( uint64_t _var ) noexcept;
      |                                             ^~~~~~~~
lib/enum2str.hpp:15:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   14 | #include "/home/[...]/.cache/yay/qscan/src/qScan-1.0.4/lib/SaneOption.hpp"
  +++ |+#include <cstdint>
   15 | 
lib/enum2str.hpp:40:61: error: expected ‘,’ or ‘;’ before ‘noexcept’
   40 |   std::string SANE_Status_toStr           ( uint64_t _var ) noexcept;
      |                                                             ^~~~~~~~
lib/enum2str.hpp:41:45: error: ‘uint64_t’ was not declared in this scope
   41 |   std::string SANE_Value_Type_toStr       ( uint64_t _var ) noexcept;
      |                                             ^~~~~~~~
lib/enum2str.hpp:41:45: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:41:61: error: expected ‘,’ or ‘;’ before ‘noexcept’
   41 |   std::string SANE_Value_Type_toStr       ( uint64_t _var ) noexcept;
      |                                                             ^~~~~~~~
lib/enum2str.hpp:42:45: error: ‘uint64_t’ was not declared in this scope
   42 |   std::string SANE_Unit_toStr             ( uint64_t _var ) noexcept;
      |                                             ^~~~~~~~
lib/enum2str.hpp:42:45: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:42:61: error: expected ‘,’ or ‘;’ before ‘noexcept’
   42 |   std::string SANE_Unit_toStr             ( uint64_t _var ) noexcept;
      |                                                             ^~~~~~~~
lib/enum2str.hpp:43:45: error: ‘uint64_t’ was not declared in this scope
   43 |   std::string SANE_Constraint_Type_toStr  ( uint64_t _var ) noexcept;
      |                                             ^~~~~~~~
lib/enum2str.hpp:43:45: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:43:61: error: expected ‘,’ or ‘;’ before ‘noexcept’
   43 |   std::string SANE_Constraint_Type_toStr  ( uint64_t _var ) noexcept;
      |                                                             ^~~~~~~~
lib/enum2str.hpp:44:45: error: ‘uint64_t’ was not declared in this scope
   44 |   std::string SANE_Action_toStr           ( uint64_t _var ) noexcept;
      |                                             ^~~~~~~~
lib/enum2str.hpp:44:45: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:44:61: error: expected ‘,’ or ‘;’ before ‘noexcept’
   44 |   std::string SANE_Action_toStr           ( uint64_t _var ) noexcept;
      |                                                             ^~~~~~~~
lib/enum2str.hpp:45:45: error: ‘uint64_t’ was not declared in this scope
   45 |   std::string SANE_Frame_toStr            ( uint64_t _var ) noexcept;
      |                                             ^~~~~~~~
lib/enum2str.hpp:45:45: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:45:61: error: expected ‘,’ or ‘;’ before ‘noexcept’
   45 |   std::string SANE_Frame_toStr            ( uint64_t _var ) noexcept;
      |                                                             ^~~~~~~~
lib/enum2str.hpp:46:45: error: ‘uint64_t’ was not declared in this scope
   46 |   std::string SaneOption_OptionCap_toStr  ( uint64_t _var ) noexcept;
      |                                             ^~~~~~~~
lib/enum2str.hpp:46:45: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:46:61: error: expected ‘,’ or ‘;’ before ‘noexcept’
   46 |   std::string SaneOption_OptionCap_toStr  ( uint64_t _var ) noexcept;
      |                                                             ^~~~~~~~
lib/enum2str.hpp:49:62: error: ‘uint64_t’ was not declared in this scope
   49 |   std::vector<std::string> SANE_Status_toStr_Raw           ( uint64_t _var ) noexcept;
      |                                                              ^~~~~~~~
lib/enum2str.hpp:49:62: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:49:78: error: expected ‘,’ or ‘;’ before ‘noexcept’
   49 |   std::vector<std::string> SANE_Status_toStr_Raw           ( uint64_t _var ) noexcept;
      |                                                                              ^~~~~~~~
lib/enum2str.hpp:50:62: error: ‘uint64_t’ was not declared in this scope
   50 |   std::vector<std::string> SANE_Value_Type_toStr_Raw       ( uint64_t _var ) noexcept;
      |                                                              ^~~~~~~~
lib/enum2str.hpp:50:62: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:50:78: error: expected ‘,’ or ‘;’ before ‘noexcept’
   50 |   std::vector<std::string> SANE_Value_Type_toStr_Raw       ( uint64_t _var ) noexcept;
      |                                                                              ^~~~~~~~
lib/enum2str.hpp:51:62: error: ‘uint64_t’ was not declared in this scope
   51 |   std::vector<std::string> SANE_Unit_toStr_Raw             ( uint64_t _var ) noexcept;
      |                                                              ^~~~~~~~
lib/enum2str.hpp:51:62: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:51:78: error: expected ‘,’ or ‘;’ before ‘noexcept’
   51 |   std::vector<std::string> SANE_Unit_toStr_Raw             ( uint64_t _var ) noexcept;
      |                                                                              ^~~~~~~~
lib/enum2str.hpp:52:62: error: ‘uint64_t’ was not declared in this scope
   52 |   std::vector<std::string> SANE_Constraint_Type_toStr_Raw  ( uint64_t _var ) noexcept;
      |                                                              ^~~~~~~~
lib/enum2str.hpp:52:62: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:52:78: error: expected ‘,’ or ‘;’ before ‘noexcept’
   52 |   std::vector<std::string> SANE_Constraint_Type_toStr_Raw  ( uint64_t _var ) noexcept;
      |                                                                              ^~~~~~~~
lib/enum2str.hpp:53:62: error: ‘uint64_t’ was not declared in this scope
   53 |   std::vector<std::string> SANE_Action_toStr_Raw           ( uint64_t _var ) noexcept;
      |                                                              ^~~~~~~~
lib/enum2str.hpp:53:62: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:53:78: error: expected ‘,’ or ‘;’ before ‘noexcept’
   53 |   std::vector<std::string> SANE_Action_toStr_Raw           ( uint64_t _var ) noexcept;
      |                                                                              ^~~~~~~~
lib/enum2str.hpp:54:62: error: ‘uint64_t’ was not declared in this scope
   54 |   std::vector<std::string> SANE_Frame_toStr_Raw            ( uint64_t _var ) noexcept;
      |                                                              ^~~~~~~~
lib/enum2str.hpp:54:62: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:54:78: error: expected ‘,’ or ‘;’ before ‘noexcept’
   54 |   std::vector<std::string> SANE_Frame_toStr_Raw            ( uint64_t _var ) noexcept;
      |                                                                              ^~~~~~~~
lib/enum2str.hpp:55:62: error: ‘uint64_t’ was not declared in this scope
   55 |   std::vector<std::string> SaneOption_OptionCap_toStr_Raw  ( uint64_t _var ) noexcept;
      |                                                              ^~~~~~~~
lib/enum2str.hpp:55:62: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.hpp:55:78: error: expected ‘,’ or ‘;’ before ‘noexcept’
   55 |   std::vector<std::string> SaneOption_OptionCap_toStr_Raw  ( uint64_t _var ) noexcept;
      |                                                                              ^~~~~~~~
lib/enum2str.cpp:310:13: error: redefinition of ‘std::string qscan::lib::enum2str::SANE_Status_toStr’
  310 | std::string enum2str::SANE_Status_toStr( uint64_t _var ) noexcept {
      |             ^~~~~~~~
lib/enum2str.hpp:40:15: note: ‘std::string qscan::lib::enum2str::SANE_Status_toStr’ previously declared here
   40 |   std::string SANE_Status_toStr           ( uint64_t _var ) noexcept;
      |               ^~~~~~~~~~~~~~~~~
lib/enum2str.cpp:310:42: error: ‘uint64_t’ was not declared in this scope
  310 | std::string enum2str::SANE_Status_toStr( uint64_t _var ) noexcept {
      |                                          ^~~~~~~~
lib/enum2str.cpp:9:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    8 | #include "enum2str.hpp"
  +++ |+#include <cstdint>
    9 | 
lib/enum2str.cpp:320:13: error: redefinition of ‘std::string qscan::lib::enum2str::SANE_Value_Type_toStr’
  320 | std::string enum2str::SANE_Value_Type_toStr( uint64_t _var ) noexcept {
      |             ^~~~~~~~
lib/enum2str.hpp:41:15: note: ‘std::string qscan::lib::enum2str::SANE_Value_Type_toStr’ previously declared here
   41 |   std::string SANE_Value_Type_toStr       ( uint64_t _var ) noexcept;
      |               ^~~~~~~~~~~~~~~~~~~~~
lib/enum2str.cpp:320:46: error: ‘uint64_t’ was not declared in this scope
  320 | std::string enum2str::SANE_Value_Type_toStr( uint64_t _var ) noexcept {
      |                                              ^~~~~~~~
lib/enum2str.cpp:320:46: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:330:13: error: redefinition of ‘std::string qscan::lib::enum2str::SANE_Unit_toStr’
  330 | std::string enum2str::SANE_Unit_toStr( uint64_t _var ) noexcept {
      |             ^~~~~~~~
lib/enum2str.hpp:42:15: note: ‘std::string qscan::lib::enum2str::SANE_Unit_toStr’ previously declared here
   42 |   std::string SANE_Unit_toStr             ( uint64_t _var ) noexcept;
      |               ^~~~~~~~~~~~~~~
lib/enum2str.cpp:330:40: error: ‘uint64_t’ was not declared in this scope
  330 | std::string enum2str::SANE_Unit_toStr( uint64_t _var ) noexcept {
      |                                        ^~~~~~~~
lib/enum2str.cpp:330:40: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:340:13: error: redefinition of ‘std::string qscan::lib::enum2str::SANE_Constraint_Type_toStr’
  340 | std::string enum2str::SANE_Constraint_Type_toStr( uint64_t _var ) noexcept {
      |             ^~~~~~~~
lib/enum2str.hpp:43:15: note: ‘std::string qscan::lib::enum2str::SANE_Constraint_Type_toStr’ previously declared here
   43 |   std::string SANE_Constraint_Type_toStr  ( uint64_t _var ) noexcept;
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/enum2str.cpp:340:51: error: ‘uint64_t’ was not declared in this scope
  340 | std::string enum2str::SANE_Constraint_Type_toStr( uint64_t _var ) noexcept {
      |                                                   ^~~~~~~~
lib/enum2str.cpp:340:51: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:350:13: error: redefinition of ‘std::string qscan::lib::enum2str::SANE_Action_toStr’
  350 | std::string enum2str::SANE_Action_toStr( uint64_t _var ) noexcept {
      |             ^~~~~~~~
lib/enum2str.hpp:44:15: note: ‘std::string qscan::lib::enum2str::SANE_Action_toStr’ previously declared here
   44 |   std::string SANE_Action_toStr           ( uint64_t _var ) noexcept;
      |               ^~~~~~~~~~~~~~~~~
lib/enum2str.cpp:350:42: error: ‘uint64_t’ was not declared in this scope
  350 | std::string enum2str::SANE_Action_toStr( uint64_t _var ) noexcept {
      |                                          ^~~~~~~~
lib/enum2str.cpp:350:42: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:360:13: error: redefinition of ‘std::string qscan::lib::enum2str::SANE_Frame_toStr’
  360 | std::string enum2str::SANE_Frame_toStr( uint64_t _var ) noexcept {
      |             ^~~~~~~~
lib/enum2str.hpp:45:15: note: ‘std::string qscan::lib::enum2str::SANE_Frame_toStr’ previously declared here
   45 |   std::string SANE_Frame_toStr            ( uint64_t _var ) noexcept;
      |               ^~~~~~~~~~~~~~~~
lib/enum2str.cpp:360:41: error: ‘uint64_t’ was not declared in this scope
  360 | std::string enum2str::SANE_Frame_toStr( uint64_t _var ) noexcept {
      |                                         ^~~~~~~~
lib/enum2str.cpp:360:41: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:370:13: error: redefinition of ‘std::string qscan::lib::enum2str::SaneOption_OptionCap_toStr’
  370 | std::string enum2str::SaneOption_OptionCap_toStr( uint64_t _var ) noexcept {
      |             ^~~~~~~~
lib/enum2str.hpp:46:15: note: ‘std::string qscan::lib::enum2str::SaneOption_OptionCap_toStr’ previously declared here
   46 |   std::string SaneOption_OptionCap_toStr  ( uint64_t _var ) noexcept;
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/enum2str.cpp:370:51: error: ‘uint64_t’ was not declared in this scope
  370 | std::string enum2str::SaneOption_OptionCap_toStr( uint64_t _var ) noexcept {
      |                                                   ^~~~~~~~
lib/enum2str.cpp:370:51: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:380:26: error: redefinition of ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Status_toStr_Raw’
  380 | std::vector<std::string> enum2str::SANE_Status_toStr_Raw( uint64_t _var ) noexcept {
      |                          ^~~~~~~~
lib/enum2str.hpp:49:28: note: ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Status_toStr_Raw’ previously declared here
   49 |   std::vector<std::string> SANE_Status_toStr_Raw           ( uint64_t _var ) noexcept;
      |                            ^~~~~~~~~~~~~~~~~~~~~
lib/enum2str.cpp:380:59: error: ‘uint64_t’ was not declared in this scope
  380 | std::vector<std::string> enum2str::SANE_Status_toStr_Raw( uint64_t _var ) noexcept {
      |                                                           ^~~~~~~~
lib/enum2str.cpp:380:59: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:403:26: error: redefinition of ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Value_Type_toStr_Raw’
  403 | std::vector<std::string> enum2str::SANE_Value_Type_toStr_Raw( uint64_t _var ) noexcept {
      |                          ^~~~~~~~
lib/enum2str.hpp:50:28: note: ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Value_Type_toStr_Raw’ previously declared here
   50 |   std::vector<std::string> SANE_Value_Type_toStr_Raw       ( uint64_t _var ) noexcept;
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~
lib/enum2str.cpp:403:63: error: ‘uint64_t’ was not declared in this scope
  403 | std::vector<std::string> enum2str::SANE_Value_Type_toStr_Raw( uint64_t _var ) noexcept {
      |                                                               ^~~~~~~~
lib/enum2str.cpp:403:63: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:420:26: error: redefinition of ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Unit_toStr_Raw’
  420 | std::vector<std::string> enum2str::SANE_Unit_toStr_Raw( uint64_t _var ) noexcept {
      |                          ^~~~~~~~
lib/enum2str.hpp:51:28: note: ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Unit_toStr_Raw’ previously declared here
   51 |   std::vector<std::string> SANE_Unit_toStr_Raw             ( uint64_t _var ) noexcept;
      |                            ^~~~~~~~~~~~~~~~~~~
lib/enum2str.cpp:420:57: error: ‘uint64_t’ was not declared in this scope
  420 | std::vector<std::string> enum2str::SANE_Unit_toStr_Raw( uint64_t _var ) noexcept {
      |                                                         ^~~~~~~~
lib/enum2str.cpp:420:57: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:438:26: error: redefinition of ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Constraint_Type_toStr_Raw’
  438 | std::vector<std::string> enum2str::SANE_Constraint_Type_toStr_Raw( uint64_t _var ) noexcept {
      |                          ^~~~~~~~
lib/enum2str.hpp:52:28: note: ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Constraint_Type_toStr_Raw’ previously declared here
   52 |   std::vector<std::string> SANE_Constraint_Type_toStr_Raw  ( uint64_t _var ) noexcept;
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/enum2str.cpp:438:68: error: ‘uint64_t’ was not declared in this scope
  438 | std::vector<std::string> enum2str::SANE_Constraint_Type_toStr_Raw( uint64_t _var ) noexcept {
      |                                                                    ^~~~~~~~
lib/enum2str.cpp:438:68: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:453:26: error: redefinition of ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Action_toStr_Raw’
  453 | std::vector<std::string> enum2str::SANE_Action_toStr_Raw( uint64_t _var ) noexcept {
      |                          ^~~~~~~~
lib/enum2str.hpp:53:28: note: ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Action_toStr_Raw’ previously declared here
   53 |   std::vector<std::string> SANE_Action_toStr_Raw           ( uint64_t _var ) noexcept;
      |                            ^~~~~~~~~~~~~~~~~~~~~
lib/enum2str.cpp:453:59: error: ‘uint64_t’ was not declared in this scope
  453 | std::vector<std::string> enum2str::SANE_Action_toStr_Raw( uint64_t _var ) noexcept {
      |                                                           ^~~~~~~~
lib/enum2str.cpp:453:59: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:467:26: error: redefinition of ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Frame_toStr_Raw’
  467 | std::vector<std::string> enum2str::SANE_Frame_toStr_Raw( uint64_t _var ) noexcept {
      |                          ^~~~~~~~
lib/enum2str.hpp:54:28: note: ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SANE_Frame_toStr_Raw’ previously declared here
   54 |   std::vector<std::string> SANE_Frame_toStr_Raw            ( uint64_t _var ) noexcept;
      |                            ^~~~~~~~~~~~~~~~~~~~
lib/enum2str.cpp:467:58: error: ‘uint64_t’ was not declared in this scope
  467 | std::vector<std::string> enum2str::SANE_Frame_toStr_Raw( uint64_t _var ) noexcept {
      |                                                          ^~~~~~~~
lib/enum2str.cpp:467:58: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
lib/enum2str.cpp:483:26: error: redefinition of ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SaneOption_OptionCap_toStr_Raw’
  483 | std::vector<std::string> enum2str::SaneOption_OptionCap_toStr_Raw( uint64_t _var ) noexcept {
      |                          ^~~~~~~~
lib/enum2str.hpp:55:28: note: ‘std::vector<std::__cxx11::basic_string<char> > qscan::lib::enum2str::SaneOption_OptionCap_toStr_Raw’ previously declared here
   55 |   std::vector<std::string> SaneOption_OptionCap_toStr_Raw  ( uint64_t _var ) noexcept;
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/enum2str.cpp:483:68: error: ‘uint64_t’ was not declared in this scope
  483 | std::vector<std::string> enum2str::SaneOption_OptionCap_toStr_Raw( uint64_t _var ) noexcept {
      |                                                                    ^~~~~~~~
lib/enum2str.cpp:483:68: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
[24/49] Compiling C++ object gui/qscan.p/meson-generated_moc_ImagesTab.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

Upstream report: https://github.com/mensinda/qScan/issues/2

Regards!