When building on arch linux I got the following error message:
In file included from framework/src/mediaworker.h:25,
from framework/src/mediaworker.cpp:19:
framework/src/syncvar.h:33:34: エラー: ‘ULONG_MAX’ was not declared in this scope
33 | bool wait(unsigned long time = ULONG_MAX) { return sv.cond_.wait(&sv.mut_, time); }
| ^~~~~~~~~
framework/src/syncvar.h:24:1: 備考: ‘ULONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
23 | #include <QWaitCondition>
+++ |+#include <climits>
24 |
make[1]: *** [Makefile:1517: mediaworker.o] エラー 1
I did what the message said and added #include <climits> to syncvar.h. After that change I was able to successfully build gambatte-speedrun.
When building on arch linux I got the following error message:
I did what the message said and added
#include <climits>
tosyncvar.h
. After that change I was able to successfully build gambatte-speedrun.