z33ky

Results 62 comments of z33ky

A similar addon can be useful for `(Partial)Eq` and `(Partial)Ord`.

I've missed explaining the motivation for this change. Well, for one this gets rid of some `Vec`s, alleviating the need to allocate dynamic memory during iteration. The `Vec`s got reused,...

Do you use a package-manager like MinGW or Cygwin, did you download pre-build libraries or did you compile the libraries yourself from source? And if one of the latter, do...

Same as @Quaker762, I use Linux. I just wanted to get a clearer picture of your setup. MinGW and Cygwin impose a more Linux-like environment, which would probably make it...

Yeah, the directives you've commented out are needed. You don't need to do anything special to install the libraries, you just need to know where to find the DLL/so-files and...

Also try replacing `"${SDL2_LIBRARIES}"` in the CMakeLists.txt with `SDL2` and remove the lines saying `include_directories(SYSTEM "${SDL2_INCLUDE_DIR}")`. It seems like SDL2 only supports imported targets, which don't define those variables anymore.

Are they related to SDL2? It might need `SDL2::SDL2` instead. Otherwise paste the errors on a Github Gist or something, they may be incompatibilities between compilers.

Try replacing `if(CYGWIN)` in the top-level CMakeLists.txt, line 117 by `if(CYGWIN OR MSVC)`. That should fix your `APIENTRY` issue. For zlib/unistd.h, an Internet search suggests that this is due to...

Yeah, that likely used something like MinGW, which provides a unistd.h. Try finding a version of it built with MSVC - or build it yourself. Note that all the libraries...

Note that zlib provides MSVC-project files in contrib/vstudio.