Skip to content

Better warning about Windows not being supported? #91

Description

@wingman-jr-addon

I recently had a bit of an unfortunate experience. I spent some time cross-compiling SZ for Windows. While I couldn't compile on Windows directly, things went smoothly on Linux using MinGW to target Windows for the core libraries ... or so I thought.

  • Cross-compilation worked with a few warnings
  • Libraries were able to be linked
  • APIs could be called
  • Compression and decompression calls succeeded with no error code ... but then returned garbage

I dug around for a while and finally bumped into this older ticket: https://github.com/szcompressor/SZ/issues/58 This confirmed it won't work on Windows essentially due to sizeof(long) being different on different platforms.

When cross-compiling doesn't work for me, it usually fails much earlier than this, so I was a bit surprised it failed this late. While it would be amazing if SZ could support Window, could a small warning please be added to the front page to let folks know that Windows won't work? Thanks!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions