Creating independent exe file

asked 2016-02-11 15:13:23 -0500

v.22 gravatar image


I created an openCV exe using CLR/C++ using VS2013. It works fine on pcs with VS 2013 (even downloading the redistributable package wasn't enough to get the exe to work).

I want it to work on any PC even if it doesn't have Visual Studio on it.. Should the redistributable be enough? Or must I use an installer? Or is there a simpler solution..


edit retag flag offensive close merge delete


If you mean without opencv dll it is possible using static build except for opencvffmpeg.dll.

LBerger gravatar imageLBerger ( 2016-02-12 01:44:35 -0500 )edit

I am using a clr application which does not allow static build.. Apparently, clr only allows dynamic linking...

v.22 gravatar imagev.22 ( 2016-02-13 10:21:07 -0500 )edit