Skip to content

decompress() zipped string fails when linked with latest zlib headers. #82

Description

@turric4n

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions