opencv - EMGU CV, C#, Visual Studio 2013, sudden "Unable to load DLL 'opencv_core242' on new Capture" -


i have small project started. working fine. following error on line _capture = new capture.

{"unable load dll 'opencv_core242': specified module not found. (exception hresult: 0x8007007e)"}

i've read numerous issues similar this, people installing emgu cv , trying project going. have other projects still work, using same code, current 1 , new ones make have issue.

for solution add .dll files, nvcuda.dll or tbb*.dll working directory or windows32 directory, because opencv_core242.dl can't find them. doesn't make sense me though because other projects working without wild additions, , project working until stopped, , new projects error. find lot of people error when first setting up, no 1 inexplicable having appear in proven setup.

i've re-referenced needed libraries in visual studio (emgu.cv, emgu.cv.ui, emgu.util), , i've gone though visual studio repair process.

what should looking @ here? i'm getting more confused.

thanks.

   using system; using system.collections.generic; using system.componentmodel; using system.data; using system.drawing; using system.linq; using system.text; using system.threading.tasks; using system.windows.forms; using emgu.cv; using emgu.cv.cvenum; using emgu.cv.structure;  namespace lanefollowing_2 {     public partial class form1 : form     {         capture _capture = null;          public form1()         {             initializecomponent();         }          private void form1_load(object sender, eventargs e)         {             _capture = new capture();             _capture.imagegrabbed += processimage;             _capture.start();         }          void processimage(object sender, eventargs e)         {             // capture image.              image<bgr, byte> img = _capture.retrievebgrframe().resize(400, 300, emgu.cv.cvenum.inter.cv_inter_linear);             imagebox1.image = img;             //cvinvoke.         }     } } 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -