My environment is Cmake + MinGW on Windows.
It reported 2 kinds of bugs:
1.Some functions like sinf(); cosf(); was not declared in this scope.
2.Can not convert 'wchar_t*' to 'LPCSTR'
Here are my solutions:
1.Add #include <math.h> to sourse code
2.Change funtion WriteConsoleOutputCharacter() to WriteConsoleOutputCharacterW() at line 279