You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I compiled Tilengine library with VS2019 (Windows x64) using latest libpng & zlib headers without problems at compile time and dynamic library is built successfully.
Problems began when compiled library is being used... It doesn't load the Tilemaps inside TMX file. Especifically doesn't load correctly when Tilemap data is zipped.
I was taking a look into the code and I find that inflateInit() returns -2 and obviously data was not populated.
Did you test the code with latest zlib version? I suppose is not a problem with Tilengine but a TMX/Tiled problem.
What version of zlib do you suggest to use that feature without problems? As you know, sometimes is not easy to find right headers for x,y
Thanks for your work as always.
The text was updated successfully, but these errors were encountered:
Hi Turrican,
I haven't tested newer versions of libraries, but there shouldn't be breaking changes... I validated zlib 1.2.8 and libpng 1.6.3, both dating from 2013. They're quite old and maybe I should test current releases.
What version of zlib are you testing? Make sure that you aren't mixing headers from one version and implementation from another, that's always a source of problems
Hi!
I compiled Tilengine library with VS2019 (Windows x64) using latest libpng & zlib headers without problems at compile time and dynamic library is built successfully.
Problems began when compiled library is being used... It doesn't load the Tilemaps inside TMX file. Especifically doesn't load correctly when Tilemap data is zipped.
I was taking a look into the code and I find that inflateInit() returns -2 and obviously data was not populated.
Did you test the code with latest zlib version? I suppose is not a problem with Tilengine but a TMX/Tiled problem.
What version of zlib do you suggest to use that feature without problems? As you know, sometimes is not easy to find right headers for x,y
Thanks for your work as always.
The text was updated successfully, but these errors were encountered: