Ask Your Question

Revision history [back]

So basically you forgot to tell your compiler that you want to built your executable as a static lib and thus be not dependant on installations of the user. This can be done in your project build/compiler options, where you should switch the /md option to /mt.

HOWEVER, do keep in mind that this means everything is now statically linked. This means you will need to include all windows dependencies yourself since that was done automatically. Look at this topic to see which errors can occur.