Ask Your Question

Revision history [back]

Yes, of course but with some constraints: you must have all the static versions of the libraries you used for compiling your programs. I do not think this is possible, especially when you use some (>1) libraries and on Windows. If you use only OpenCV, you can link your program to static version (in the static folder of release OpenCV version - 2.4.8 may be) and copy VC 2013's .dll files (at least 2 files for Windows API, 2 files for MFC) with you program and it can run well on other Windows systems, but if you do not have static version of any using libraries, you can not do that. So my solution is that: copy all needed .dll files (in one folder) to your target machine, and every time you want to test your program on that, you just copy the program file (.exe) to the folder, without recopying needed .dll. Hope this help.