I'm trying to build a daw called LOS (falktx fork from oom) in a virtual machine (because it requires qt4) using Debian 10. I get this error during the build in two places (so far).
/home/alex/Downloads/git/los/los/widgets/pcscale.cpp: In member function ‘bool PCScale::selectProgramChange(int)’:
/home/alex/Downloads/git/los/los/widgets/pcscale.cpp:511:65: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
int diff = abs((event.tick() + part->tick()) - x);
^
/home/alex/Downloads/git/los/los/widgets/pcscale.cpp:570:61: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
int diff = abs((event.tick() + part->tick()) - x);
In both instances, the closing parenthesis next to the x is indicated as an error in my text editor. (mousepad)
Does anyone have a clue how i might fix this?
Alex.
^