I'm trying to compile my program so it create a standalone exe. Actually I have 2 problems :
I did go to Properties -> C/C++ -> Code generation -> Runtime library and changed for Multi-threaded (/MT).
After I did this, the size of the .exe increased, but when I try to use it on another computer, the error "can't run this program, you need a DLL named : msvcp140d.dll"
This are the 2 problems, I don't understand why it asks me to use a debug version of a DLL since i'm compiling a release version and I don't understand why it asks me to use a DLL since I thought they are statically linked /:
P.S : I'm trying to compile an OpenCV3.0 project. I don't know if it helps or not :/
EDIT : One problem has been solved : I was using opencv_imgproc310d.dll in the release linker making my program using MSVCP140d.dll. Now I still have the problem that the exe is not a standalone. It requires dll to works. (I just upadted my VS so I have the latest version). Thanks