Tag: undefined reference

Ubuntu 11.04 and OpenCV 2.3 highgui link error

After updating from Ubuntu 10.04 Lucid Lynx where I had every OpenCV projects working I got a strange error when I tried to use any code that used highgui on Ubuntu 11.04 Natty.


The OpenCV, the Qt Creator and the Windows 7

(For the ones who did not get the title: Il buono, il brutto, il cattivo)
After a few hours of googling and hacking we managed to set up OpenCV 2.3 in Qt Creator under Windows 7.

There are a lot of forum and blog posts out there about this but none of them uses the new OpenCV 2.3.

If you are full of reading linking errors like

undefined reference to `cvLoadImage’

you might have just arrived at the right post in the Internet.

After you have downloaded the binaries for Windows, you get a nice README suggesting this:

If you have problems add build\bin and one of build\{x86|x64}\{vc9\vc10\mingw}\bin to your system path (to use DLLs)