Where is the source code of 'cvextern.dll' of Emgu OpenCV? - opencv

Where can I find the source code for 'cvextern.dll' of Emgu OpenCV?
Thank you.

If you get the full source, it's there.
Follow the instructions here : http://www.emgu.com/wiki/index.php/GIT
Afterwards, the cvtextern source should be in the root folder named Emgu.CV.Extern

I ran Dependency Walker on the file cvextern.dll in my EmguCV installation (for me it was in the directory C:\Emgu\emgucv-windows-universal-cuda 2.9.0.1922\bin\x64) and cvextern.dll appears to be a packaging of all the OpenCV DLLs and a few other ones:
The source code for OpenCV is available here: https://github.com/Itseez/opencv

Related

Linking Header File with Main.Cpp file in Codeblocks

I am trying to use codeblocks to compile the code available here
The thing is every time I try to build and run, I run into the following error:
|/.../head_pose_estimation/opencv2/core/core.hpp|48|fatal error: opencv2/core.hpp: No such file or directory
Does anyone know how I can fix this? Thank you!
You do not have the pre-built (compiled) version of OpenCV, what you currently have are the source files. If you want to do something special with OpenCV (Target/GPU SUpport etc) then you will need to build the framework using an appropriate guide.
If however you simply want to use OpenCV in the most common way then download the pre-built libraries from the OpenCV.org website.
NOTE:
If you are using OpenCV with MinGW compiler, I do not remember if the pre-built is actually pre-built for MinGW. (I dont think they do) In this case you will HAVE to built the libraries. You can find a guide here

cannot setup Opencv 2.4.6 , opencv_core231d.lib Not Found Error

Hello everyone;
i had opencv 2.2 on my vs2010, and i wanted to update so i went to opencv site and:
i've downloaded OpenCV for Windows (ver 2.4.6)
i've extracted it to c:\opencv2.4
i've set the Environment Variable as doc said here: http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windowssetpathandenviromentvariable
( i didnt know what is "PATH EDITOR" so i've just changed Environment variables)
i made property sprite sheets as opencv doc said here: http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to
5.but Doc Was Old, and there was no "include" folder in OpenCV2.4/opencv/build/x64/vc10 so I did set include Directory to OpenCV2.4/opencv/build/include in My property sprite sheet.
everything seems true and VS detect include libraries But
VS2010 throw following error when i want to Build the solution:
1>LINK : fatal error LNK1104: cannot open file 'opencv_core231d.lib'
Strange thing is there is no "opencv_core231d.lib" File in c:\opencv2.4 at all!!!
:(
what is the problem?
This is a Linker error, so make sure you are trying to link the correct libraries.
I would suggest to use CMake, which definitely simplifies configuring projects, specially those having dependencies like OpenCV (you can take a look to the OpenCV documentation, or any blog explaining the steps: http://marcosnietoblog.wordpress.com/2011/11/19/opencv-for-windows-easy-installation-using-cmake/ )
By the way, I use to have several versions of opencv on the same folder:
C:\OpenCV\opencv2.4.3
C:\OpenCV\opencv2.4.6
...
So I can easily switch within CMake setting the OpenCV_DIR.
opencv_core231d.lib is a debug version, all the *d.lib and *d.dll files in openCV are with debug symbols.
It is likely that the pre-built release you downloaded doesn't contain debug ones.
either download te source and build both debug and release. Or, if you don't care how opencv works internally, just change the linker flags to use the same lib names with the d
edit. or of course if you donwloaded opencv 2.4.6 the file would be opencv_core246d.lib

Setup codeblocks for opencv (How do I know I have the right files and libraries built?)

I (Win 7) followed Alternative method, for OpenCV 2.2 to configure codeblocks for opencv 2.4.4
I installed opencv and built it for my laptop using cmake.
However, after many many days and many attempts I was unsuccessful.
I extracted opencv 2.4.4 in c:/opencv and then build it in a folder I defined asbin. Bur, I do not seem to find the libraries and there are multiple include and opencv2 folder. It is very confusing. Here is a file tree of my c:/opencv/bin folder. Sorry, if this is too much information. Also, my lib files has .dll.a extension not just .dll
When I run a sample code with opencv, it show error that opencv could not be found.
Please help me to do the configuration correctly. You may post the list of files you have in your opencv folder? This is help me to know what do I expect.
You may use the following command if you wish.
DIR "Your OpenCV Dir" /B /S > "OutputFileDir\MyOpenCVTree.txt"
Finally, by Neol's help I could do it.
I exactly followed his post here
I was mistakenly thinking that vc10 (or vc9,vc11) can only be used when we need to use visual C++. (pardon my lack of knowledge).
I then added the dll files as shown in the post and the following figure.
At least the following "Hello World program" for opencv worked. (Of course you need to change the image path or put an image inside the folder where the cpp code is saved)
#include <highgui.h>
int main()
{
IplImage* img = cvLoadImage("android.jpg");
cvNamedWindow("Android", CV_WINDOW_AUTOSIZE);
cvShowImage("Android", img);
cvWaitKey(0);
cvReleaseImage(&img);
cvDestroyWindow("Android");
}

Using OpenCV with DevCPP

I am a newbie to OpenCV and I am trying to use it with DevC++. Although I am aware I could use Visual Studio for the same , I would still like to use DevC++.
The OpenCV Wiki-how seems obsolete with this information. Can you please tell me the steps with which I can modify the Compiler Options in DevCpp so that I may kick-off with OpenCV.
Any help is highly appreciated ...
Also, OpenCV wiki directs me to paste the following code in the Compiler Options ,
-L"C:\Program Files\OpenCV\lib" -lcxcore -lcv -lcvaux -lhighgui -lml -lcvcam
Sadly , I did not find the lib folder in my OpenCV directory..

OpenCvSharp throws DllNotFoundException

I have similiar problem as was presented here, but with opencv_imgproc231.dll (opencv_core231.dll is loaded correctly in my case).
I installed OpenCV 2.3.1 and set environment variable PATH to foldres in "vc9\bin" folder. I added all OpenCvSharp dlls to references. When I run my c# program, it loads opencv_core231.dll correctly, but opencv_imgproc231.dll cant find (is in tha same directory as all opencv dlls). I tried copy opencv dlls to folder where is executable file, but it showed same error.
I did all what he did - C++ red. pack. 2008, 2010SP1, set PATHs, copy openCV dlls to folder, where is executable file - but nothing works, still DllNotFoundException for opencv_imgproc231.dll.
I have VS2008 and Windows 7 32bit.
My program contains only one row: "IplImage image = new IplImage(128, 128, BitDepth.U8, 1);".
Thanks for any advice.
Pavel.
I found this issue at google code http://code.google.com/p/opencvsharp/issues/detail?id=97
add tbb.dll (from opencv/build/common/tbb) to PATH or same folder of the executable works for me :)
Ok, I solved it. There is problem in precompiled openCV DLL. So if you have similar problem, recompile openCV and it will work. I dont why, but precompiled opencv_imgproc230.dll has 1579008 bytes and my recompiled opencv_imgproc230.dll has 1568768 bytes, but it works.

Resources