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

olcConsoleGameEngineSDL.h error with std::ofstream and std::ifstream #50

Open
tiagopn opened this issue Jun 27, 2020 · 1 comment
Open

Comments

@tiagopn
Copy link

tiagopn commented Jun 27, 2020

When I run the code, it returns the following error (I run my conde on Linux ubuntu 18 + vs code) on olcConsoleGameEngineSDL.h.

error: no matching function for call to ‘std::basic_ofstream::basic_ofstream(const wchar_t*, std::_Ios_Openmode)’
std::ofstream f(sFile.c_str(), std::ios::out | std::ios::binary);

Can you tell me what is going on?

@karanko
Copy link

karanko commented Nov 7, 2020

I've had the same issue. I've proposed a fix #54 , It would be good to know if this works for you too.

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

2 participants