You can try to use the mingw version of the library (when you download the mingw the lib is empty) compiled from the sourcecoude. OscarL has published a repo on github where he publishes the code for the lib and how to compile it. https://github.com/OscarL/MatrixSS/tree/master, https://github.com/OscarL/MatrixSS/blob/master/scrnsave/scrnsave.c