This question has been asked many times, but all the answers I found on Google haven't helped. I compiled and built a program I wrote in Visual Studio 2010 in Release Mode and sent it to a friend, but it keeps giving an error saying "MSVCO100D.dll was not found" or something.
Can anyone tell me what I need to do to make it work?
I am not very versed in cross platform coding, but this information will help:
What type of system is your friend running / what type of software is your friend using?
(i.e. Is your friend using Unix with gnu compiler, or using Visual Studio 2010 on Windows?)
Something you may want to try is having your friend update any libraries your friend has.
Otherwise, I am not able to be much help as I don't have much experience with Visual Studio.
But that's not very convenient if I have to explain to everyone I want to distribute my program to how to update their libraries... isn't there a way to package the files they need to run it with the program?
Have you tried doing a "static" build? IIRC, that will include all the necessary libraries with the executable, increasing the size but avoid errors like the one you have.
I did that, but the .exe file in the Release folder shows that the last time it was modified was 3 hours ago... so it doesn't look like it was updated. I changed it to Release mode and set the Code Generation to Multi-threaded (/MT). What did I do wrong?
EDIT: The file size changed dramatically, though...