Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Could not get TMXLoader to work  (Read 959 times)

0 Members and 1 Guest are viewing this topic.

Hyrozenn

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Could not get TMXLoader to work
« on: February 05, 2016, 05:21:31 pm »
Hi !  :)
I recently got a new project idea based on SFML, using Tiled.
For some reasons, i could not get TMXLoader ( https://github.com/fallahn/sfml-tmxloader ) to work.

As i'm not a native English speaker i found the explanations ambiguous.

Here are errors I keep getting when I debug: http://i.imgur.com/Wsodcys.png
Sorry if its in french, it basically says "Can't convert 1st argument const char* in LCPWSTR" in log.h...

Is suspect the "zlib" part about the SET UP to be the problem as I clearly didn't understand it.

Any suggestions would be appreciated, as I'm lost  :'(



eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Re: Could not get TMXLoader to work
« Reply #1 on: February 09, 2016, 10:14:27 am »
You or some code is passing a const char* to OutputDebugStringW somewhere which however is expecting a LPCWSTR. What is log.h?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/