Giter Site home page Giter Site logo

Comments (13)

fallahn avatar fallahn commented on May 28, 2024

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.

wbrbr avatar wbrbr commented on May 28, 2024

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.

fallahn avatar fallahn commented on May 28, 2024

ok. I'll try it on ubuntu when I get a chance

from sfml-tmxloader.

fallahn avatar fallahn commented on May 28, 2024

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.

wbrbr avatar wbrbr commented on May 28, 2024

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.

eXpl0it3r avatar eXpl0it3r commented on May 28, 2024

Could be more specific on how "that didn't work" manifests?

from sfml-tmxloader.

wbrbr avatar wbrbr commented on May 28, 2024

Yes of course (sorry, this my first time reporting issues).
I recompiled SFML 2.1, I recompiled my program and it was working:
sfml-success
Then I recompiled SFML 2.2, I recompiled my program and it showed me this:
sfml-fail
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.

fallahn avatar fallahn commented on May 28, 2024

Thanks. Just out of curiosity, when you upgrade to 2.2 are you updating all the header files too?

from sfml-tmxloader.

wbrbr avatar wbrbr commented on May 28, 2024

Yes 👍

from sfml-tmxloader.

eXpl0it3r avatar eXpl0it3r commented on May 28, 2024

Works fine for me (had to rewrite the CMake file, to get it building on Windows though).

from sfml-tmxloader.

wbrbr avatar wbrbr commented on May 28, 2024

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.

wbrbr avatar wbrbr commented on May 28, 2024

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.

fallahn avatar fallahn commented on May 28, 2024

OK thanks for letting me know :)

from sfml-tmxloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.