Comments (13)
Sorry, I can't reproduce this on Windows. I compiled the latest SFML with VS2013 and tested all of the examples and they run fine. Are you on a different platform? Do you have any errors or information printed to the console (for example the loader cannot find the map to load)?
from sfml-tmxloader.
If you can't reproduce this I think I did some mistake.
I am running on Linux and the output says the maps loads successfully, but I think the library & SFML aren't the problem.
from sfml-tmxloader.
ok. I'll try it on ubuntu when I get a chance
from sfml-tmxloader.
I can confirm it works on ubuntu using the latest sfml sources. If you can find out what's wrong, then I can close this issue
from sfml-tmxloader.
I downgraded to SFML 2.1 and it worked. Then I re-upgraded to 2.2 and it doesn't work anymore. So on my computer your library isn't compatible with SFML 2.2, but on yours it works O_o .
It is getting late, I will try to give more details tomorrow :)
from sfml-tmxloader.
Could be more specific on how "that didn't work" manifests?
from sfml-tmxloader.
Yes of course (sorry, this my first time reporting issues).
I recompiled SFML 2.1, I recompiled my program and it was working:
Then I recompiled SFML 2.2, I recompiled my program and it showed me this:
And the output says all is ok:
https://gist.github.com/nounoursheureux/412a7bb7d14b76e53cce#file-map-tmx-logs
And when I try to load the desert.tmx tilemap with SFML 2.2, I get a segmentation error which seems to be related to the xml parser:
https://gist.github.com/nounoursheureux/412a7bb7d14b76e53cce#file-valgrind-logs-for-desert-tmx
from sfml-tmxloader.
Thanks. Just out of curiosity, when you upgrade to 2.2 are you updating all the header files too?
from sfml-tmxloader.
Yes 👍
from sfml-tmxloader.
Works fine for me (had to rewrite the CMake file, to get it building on Windows though).
from sfml-tmxloader.
If both of you have it working and my code is correct, I think my installation is wrong. I will try to figure out where I did something wrong.
from sfml-tmxloader.
Ok, I fixed it. The error was because I had multiple SFML libs on my computer ( 👎 ), so it was confusing the compiler (or something like this :p ). Thanks for your help, and sorry for the trouble.
from sfml-tmxloader.
OK thanks for letting me know :)
from sfml-tmxloader.
Related Issues (20)
- Thanks Matt! HOT 3
- No compatibility with AnimatedSprite class? HOT 2
- MapObject setVisible ? HOT 3
- Terrain Tiled tmx load HOT 3
- Strange culling HOT 4
- Collision issues HOT 7
- Animated Tile with Tiled Editor HOT 4
- layer->tiles doesn't give tiles from layers HOT 3
- GetLayers() doesn't work as spected HOT 4
- Simple test fails: call for help
- Unresolved external symbol HOT 12
- Can't draw map properly if it wasn't the the first one the maploader loaded. HOT 4
- Colission with player sprite HOT 6
- Collisions detected incorrectly due to AABB having incorrect height (2x what it should be) HOT 1
- Isometric causing weird issues HOT 5
- unresolved symbol sf::Sprite::Draw in MapLoaderPublic.obj? HOT 1
- Isometric Layering offset not happening? HOT 22
- Missing vtable HOT 3
- Can not build tmxsfml project as I've set link options correctly HOT 1
- Doesn't build woth MinGW Makefiles HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfml-tmxloader.