I added the /mingw32 directory to the path variable, cleaned and compiled the emptyExample again. After adding .exe to the file and starting, windows gives me the error:
The library is present in the folder, and I'm running Windows 8 Pro 64 bit. Any ideas whats missing?