After multiple attempts I keep getting this error. Apparently when I run cmake
opencv_calib3d dependency can't be resolved
I'm not sure how to resolve it, no other libraries seem to be missing; I have calib3d in the modules directory of opencv-3.1.0, and I've installed all basic opencv libraries. In general, everything else seems to be working just fine. Any suggestions?
try suffixing the version :
opencv_calib3d310 //for opencv 3.1
Related
I need to update opencv to version 4.5.1 because there is a function that is not implemented in my current version 3.4.2. (I need to use the SIFT_create function, when I google a bit it seems that they removed it from 3.4.2 because of a patent. However, I have also heard from someone that this function has a different name in 3.4.2, so if you know this different name this is fine as well. I googled it but couldn't find anything about it.)
I tried updating opencv in the anaconda navigator but that didn't work. I tried typing
pip install opencv-python==4.0.0.21
(if I replaced 4.0.0.21 by 4.5.1 it couldn't find the version), but when I type
cv2.__version__
afterwards it still says I'm using version 3.4.2. I found this post: How to upgrade OpenCV in Anaconda (windows)? which says I should use
conda install -c conda-forge opencv=4.3.0
I do this, both the exact same command and the command with 4.3.0 replaced by 4.5.1 but in both cases I only get version 4.0.0 (which apparently also doesn't have the SIFT_create function).
Any idea what I could do?
In the meanwhile I found the answer myself (or rather: with the help of non-internet people).
The problem was that while trying to update opencv, I ended up having two versions of opencv at once. I had opencv 4.5.1 and at the same time I had opencv-python 4.0.0.21 installed. When importing opencv, it chose to import opencv-python in stead of just opencv. When I deleted the opencv-python this fixed the problem.
Having an issue with trying to build any opencv version with code::blocks.
I've have built opencv successfully before and have no idea what the issue is.
I've tried following many different tutorials on building opencv using mingw 4.9.2 and CMake. I have also tried using mingw32 and mingw64.
But I continue to receive the errors shown in the image above.
My question is; What is the issue? How can I fix this? And, lastly, what am I doing wrong?
Found that the version of OpenCV I was using had issues with MinGW. Tested a whole bunch of OpenCV versions (3.3, 3.2, 3.1, 2.4.13, 2.4.13.3).
I found that OpenCV version 2.4.9 with the latest version of CMake and MinGW worked.
Thought I'd leave this here to help anyone else having issues with creating OpenCV to work with MinGW/Code::Blocks
So I have a project that was initially built using cabal. I'd like to make it compatible with stack. I issue stack init. I run stack build and get
setup-Simple-Cabal-1.22.5.0-ghc-7.10.3: Missing dependency on a foreign
library:
* Missing C library: ippicv
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
I'm running ubuntu 15.10. Opencv 3.1.0 is fully installed on my machine. I can even run the sample's but for some reason I get this error. Does anyone know why?
I'm trying (with no success) to cross-compile OpenCV on a embedded board.
I followed this: http://docs.opencv.org/doc/tutorials/introduction/crosscompilation/arm_crosscompile_with_cmake.html.
To summarize I installed the cross compilation tools for ARM, the I ran the cmake (providing the proper toolchain file), the make and the make install commands.
I next copied the lib/ include and bin/ directories with the opencv installation in the embedded board.
However, when I try to compile a simple hello world with opencv I get undefined reference to __gnu_thumb1_case_uqi and other similar symbols.
Does anybody faced this problem and know how to solve it?
Alternative approach
Just take some embedded distro like Buildroot, OpenEmbedded or Debian. They all provide OpenCV.
As I'm mostly experienced in Buildroot, I'd like to point to the newly introduced feature to keep your project separate from BR: http://nightly.buildroot.org/manual.html#outside-br-custom. This will give you a main idea on how to compile your software against BR's OpenCV.
I'm trying to compile OpenCV 2.4.5 with MSVC2010 Express under win64
LINK : fatal error LNK1104: cannot open file 'tbb_debug.lib'
All my paths are set correctly in cmake. It appears that in my TBB lib dir, I have tbb_debug.dll, but not tbb_debug.lib. I compiled tbb from source, however, there does not seem to be a tbb.lib in the prebuilt TBB packages either. Why is OpenCV asking for a .lib?
copy the release lib to the debug folder - it's missing.
I thought it was fixed on 2.4.5 but it no longer uses tbb on Windows so no experience
I've struggled building OpenCV with TBB for the past couple of days. I managed to compile it in the end; please find my CMake settings and other findings in this answer.