psieg / Lightpack

Lightpack and Prismatik open repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build on Mac - error: expected unqualified-id

androidand opened this issue · comments

I get multiple errors when trying to build on osX. What can I do?

make cd math/ && ( test -e Makefile || /usr/local/bin/qmake -o Makefile /Users/andreas/Lightpack/Software/math/math.pro ) && /Library/Developer/CommandLineTools/usr/bin/make -f Makefile make[1]: Nothing to be done forfirst'.
cd grab/ && ( test -e Makefile || /usr/local/bin/qmake -o Makefile /Users/andreas/Lightpack/Software/grab/grab.pro ) && /Library/Developer/CommandLineTools/usr/bin/make -f Makefile
/Library/Developer/CommandLineTools/usr/bin/clang++ -c -stdlib=libc++ -mavx2 -O2 -fPIC -std=gnu++1z -arch x86_64h -arch x86_64 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=11.0 -Wall -Wextra -DSOUNDVIZ_SUPPORT -DMAC_OS_CG_GRAB_SUPPORT -DMAC_OS_AV_GRAB_SUPPORT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -Iinclude -I../src -I../math/include -I.. -I/System/Library/Frameworks -I/usr/local/lib/QtWidgets.framework/Headers -I/usr/local/lib/QtGui.framework/Headers -I/usr/local/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/share/qt/mkspecs/macx-clang -F/usr/local/lib -o calculations.o calculations.cpp
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:9:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:420:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:9:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:420:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:49:9: error: no member named 'ptrdiff_t' in the global namespace
using ::ptrdiff_t;
~~^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:9:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:421:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:11:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:205:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:98:
/usr/local/lib/QtCore.framework/Headers/qcompilerdetection.h:450:12: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]

include

       ^~~~~~~~~
       <VERSION>

In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:98:
In file included from /usr/local/lib/QtCore.framework/Headers/qcompilerdetection.h:450:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
/usr/local/lib/QtCore.framework/Headers/qglobal.h:621:78: error: unknown type name 'qint8'; did you mean 'quint8'?
template <> struct QIntegerForSize<1> { typedef quint8 Unsigned; typedef qint8 Signed; };
^~~~~
quint8
/usr/local/lib/QtCore.framework/Headers/qglobal.h:169:23: note: 'quint8' declared here
typedef unsigned char quint8; /* 8 bit unsigned */
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:115:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:419:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional_base:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/typeinfo:61:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:85:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:115:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:419:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional_base:17:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/new:95:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:115:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:424:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:115:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:559:13: error: unknown type name 'ptrdiff_t'; did you mean 'qptrdiff'?
typedef ptrdiff_t difference_type;
^
/usr/local/lib/QtCore.framework/Headers/qglobal.h:632:43: note: 'qptrdiff' declared here
typedef QIntegerForSizeof<void *>::Signed qptrdiff;
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:115:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:620:56: error: unknown type name 'ptrdiff_t'; did you mean 'qptrdiff'?
template<class _Category, class _Tp, class _Distance = ptrdiff_t,
^
/usr/local/lib/QtCore.framework/Headers/qglobal.h:632:43: note: 'qptrdiff' declared here
typedef QIntegerForSizeof<void *>::Signed qptrdiff;
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:115:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:986:66: error: unknown type name 'ptrdiff_t'; did you mean 'qptrdiff'?
class _Traits = char_traits<_CharT>, class _Distance = ptrdiff_t>
^
/usr/local/lib/QtCore.framework/Headers/qglobal.h:632:43: note: 'qptrdiff' declared here
typedef QIntegerForSizeof<void >::Signed qptrdiff;
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:116:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:653:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:675:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:121:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:116:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:653:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:679:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:154:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:116:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:653:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:682:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator_traits.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/pointer_traits.h:63:34: error: unknown type name 'ptrdiff_t'; did you mean 'qptrdiff'?
typedef _LIBCPP_NODEBUG_TYPE ptrdiff_t type;
^
/usr/local/lib/QtCore.framework/Headers/qglobal.h:632:43: note: 'qptrdiff' declared here
typedef QIntegerForSizeof<void >::Signed qptrdiff;
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:116:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:653:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:682:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator_traits.h:15:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/pointer_traits.h:139:13: error: unknown type name 'ptrdiff_t'; did you mean 'qptrdiff'?
typedef ptrdiff_t difference_type;
^
/usr/local/lib/QtCore.framework/Headers/qglobal.h:632:43: note: 'qptrdiff' declared here
typedef QIntegerForSizeof<void >::Signed qptrdiff;
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:116:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:653:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:687:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:579:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__threading_support:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/chrono:832:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:116:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:653:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:687:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:584:
../version:1:1: error: expected unqualified-id
5.11.2.31
^
In file included from calculations.cpp:26:
In file included from include/calculations.hpp:28:
In file included from /usr/local/lib/QtCore.framework/Headers/QRect:1:
In file included from /usr/local/lib/QtCore.framework/Headers/qrect.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qhashfunctions.h:8:
In file included from /usr/local/lib/QtCore.framework/Headers/qstring.h:14:
In file included from /usr/local/lib/QtCore.framework/Headers/qchar.h:7:
In file included from /usr/local/lib/QtCore.framework/Headers/qglobal.h:1397:
In file included from /usr/local/lib/QtCore.framework/Headers/qtypeinfo.h:7:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:205:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/array:116:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:653:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:687:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:1055:73: error: unknown type name 'ptrdiff_t'; did you mean 'qptrdiff'?
_Tp
__cxx_atomic_fetch_add(__cxx_atomic_base_impl<_Tp
> volatile
__a, ptrdiff_t __delta, memory_order __order) _NOEXCEPT {
^
/usr/local/lib/QtCore.framework/Headers/qglobal.h:632:43: note: 'qptrdiff' declared here
typedef QIntegerForSizeof<void *>::Signed qptrdiff;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[1]: *** [calculations.o] Error 1
make: *** [sub-grab-make_first] Error 2`

remove Software/VERSION file

Thank you for the tip! Removed the VERSION file and could run make. Looked promising but ended with this error which I also don't know how to work around. Any idea?

...

-framework Carbon -framework CoreFoundation -framework Foundation -framework ApplicationServices -weak_framework CoreBrightness -framework Accelerate -framework CoreMedia -framework AVFoundation -framework CoreVideo -framework QtWidgets -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtNetwork -framework QtSerialPort -framework QtCore -framework IOKit -framework DiskArbitration -framework AGL -framework OpenGL
ld: warning: directory not found for option '-F/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/PrivateFrameworks'
ld: framework not found CoreBrightness
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [../bin/Prismatik.app/Contents/MacOS/Prismatik] Error 1
make: *** [sub-src-make_first] Error 2

what os / xcode are you using?
with 13.0 / 14.1, I see it at least in

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/PrivateFrameworks
/System/Library/PrivateFrameworks

plus other symlinked paths
but then it's also a -weak_framework so it shouldn't complain, not sure...