-
Notifications
You must be signed in to change notification settings - Fork 68
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
getLayerAs error #75
Comments
Are you making sure to include Which compiler/environment are you using? I'm able to copy/paste your code and compile it without issue in MSVC on Windows and g++ on linux. |
Oops, I was making a small change to the library and had temporarily commented out where it was defined. Completely forgot about it, that was the problem. |
Oh and just as a little side question, where would I place my |
No problem, it happens to us all :) You make a good point about opening files, however. It appears fstream doesn't actually work with the NDK (so why they include it, I don't know, especially when they don't implement |
Im using the example code from the quick start. On compile, I get an error:
error: undefined reference to 'tmx::ObjectGroup& tmx::Layer::getLayerAs<tmx::ObjectGroup>()'
Here's the code as a refresher:
The text was updated successfully, but these errors were encountered: