Error shows that there is a missing function call being made: msfastcall_call
Looking at the code, it appears that the header that probably includes that call is commented out:
Code:
//#include "calling_conventions.h"
However, that header isn't included with the code you posted, so you'll have to find where its from and add it to the project or at least copy in the function that is missing. If it's from aluigi's stuff, then the header it may be from is:
https://aluigi.altervista.org/mytoolz/c ... ventions.h