c++parsingsfmltmx

How do I fix an xstring exception with tmxparser? SFML/C++


I currently I have a problem that when I run my code, it stops at an exception at line 3467 in the xstring system file. Here is a few screenshots of it:

Exception Popup

Current code that it ends at

Output.

I figured it had to do something to do with loading the file or the file is corrupted. Something is wrong with how it parses. Here is the link to my Github page. I used the tmxlite parser to load the file, here is also a link to the tmxlite Github page. Thanks so much! Sorry if this is a dumb question. I really have not programmed C++ for long, and done it without proper training. This is the tmx file link


Solution

  • I am so sorry for those who looked at this. It turns out I needed to edit my tmx files to include the tsx files and add the tsx files to the project. I am so sorry if I made anyone look for the answer when all I had to do was just use the resources in front of me. Thanks to underscore_d for telling me make it into a MCVE, leading me to find the answer. All this time... Sorry anyone whose time I wasted.