We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If anyone is getting the 'byte': ambiguous symbol error message a possible solution is given here: https://developercommunity.visualstudio.com/content/problem/93889/error-c2872-byte-ambiguous-symbol.html If you declare 'using namespace std;' in your main.cpp place it after #include"olcPixelGameEngine.h". This will place the declaration after #inlcude<windows.h> contained in olcPixelGameEngine.h.
#define OLC_PGE_APPLICATION #include "olcPixelGameEngine.h" using namespace std;
EDIT: This only applies to c++17 and up.
The text was updated successfully, but these errors were encountered:
Great find! Those are hard to track down. Which is why I just had to add a link to this great javidx9 video ;) Forbidden C++
Love the channel, the work, and community...keep it coming!!
Sorry, something went wrong.
Im gonna regret making that video aren't I? XD
Tidying up so closing this.
No branches or pull requests
If anyone is getting the 'byte': ambiguous symbol error message a possible solution is given here:
https://developercommunity.visualstudio.com/content/problem/93889/error-c2872-byte-ambiguous-symbol.html
If you declare 'using namespace std;' in your main.cpp place it after #include"olcPixelGameEngine.h".
This will place the declaration after #inlcude<windows.h> contained in olcPixelGameEngine.h.
#define OLC_PGE_APPLICATION
#include "olcPixelGameEngine.h"
using namespace std;
EDIT: This only applies to c++17 and up.
The text was updated successfully, but these errors were encountered: