Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV 3.0 and VS2012 linking error

I'm using the pre-built libraries, linking them as explained in the tutorial for the 2.4.9 version (I changed the numbers of libraries course).

I keep getting one link error for the highgui300.lib:

1>opencv_highgui300.lib(window_w32.obj) : error LNK2001: unresolved external symbol __imp_CreateToolbarEx

I've read somewhere about similar error where adding the windows comctl32.lib library solved the problem, but in my case I get an unhandled exception after adding it.

Does anyone succeed to work with OpenCV 3.0 and VS2012 without getting this error?