Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs when compiling with MinGW on Windows #18

Open
Lizlone opened this issue Mar 14, 2022 · 0 comments
Open

Bugs when compiling with MinGW on Windows #18

Lizlone opened this issue Mar 14, 2022 · 0 comments

Comments

@Lizlone
Copy link

Lizlone commented Mar 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant