02-23-2017 07:17 AM
I tried opening the VI but even after configuring the imaq to call the dll files, I still cannot run. If I open the C file with Dev C++, I can't run the coding too. Is it because I do not have Open CV libraries inside DevC++? I tried adding the libraries to DevC++ but after an hour trying, I got the error message: "Source file not compiled" Beginner guy here. Any help is really appreciated. The file is below here.
02-23-2017 08:39 AM
@Cres2608 wrote:
I tried opening the VI but even after configuring the imaq to call the dll files, I still cannot run. If I open the C file with Dev C++, I can't run the coding too. Is it because I do not have Open CV libraries inside DevC++? I tried adding the libraries to DevC++ but after an hour trying, I got the error message: "Source file not compiled" Beginner guy here. Any help is really appreciated. The file is below here.
The "KalmanFilter_DLL.dll" which is provided for the VI is only a wrapper for Open CV. So your VIs cannot find some missing DLLs, like the "opencv_video249.dll".
Here is some more info:
http://www.ni.com/white-paper/53072/en/
Hmm, I guess you need to install Open CV, so you will get these missing libraries. Did you install it yet on your PC?
https://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.2.0/opencv-3.2.0-vc14.exe/download
02-23-2017 08:47 AM
I have installed it but for some reason DevC++ can't recognise or use it? I tried changing the compiler options in DevC++ but no changes..currently trying out visual basic to try to run the code
02-23-2017 08:57 AM - edited 02-23-2017 08:57 AM
That example is supposed to show how to run a VI using those dlls. You do not need to do anything with that "KalmanFilter_DLL.cpp" file I guess, it is just there for the function definitions. The VI only needs the "KalmanFilter_DLL.dll", and those Open CV dlls which are referenced in it.