Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

include comctl32.lib?

I'm using prebuild OpenCV-2.4.3

VS2008 win32 console app->Empty Project no precompiled headers.

include headers C:\OpenCV-2.4.3\build\include

include libs all d libs from C:\OpenCV-2.4.3\build\x86\vc9\staticlib use /MTd

and it fails to compile

opencv_highgui243d.lib(window_w32.obj) : error LNK2019: unresolved external symbol __imp__CreateToolbarEx@52 referenced in function "int __cdecl icvCreateTrackbar(char const ,char const *,int *,int,void (__cdecl)(int),void (__cdecl*)(int,void *),void *)" (?icvCreateTrackbar@@YAHPBD0PAHHP6AXH@ZP6AXHPAX@Z3@Z)

If I include comctl32.lib all ok, but I get a lot of warning about *.pdb files like

warning LNK4099: PDB 'opencv_core243d.pdb' was not found with

Do I need to include comctl32.lib?

include comctl32.lib?comctl32.lib? using static libs.

I'm using prebuild OpenCV-2.4.3

VS2008 win32 console app->Empty Project no precompiled headers.

include headers C:\OpenCV-2.4.3\build\include

include libs all d libs from C:\OpenCV-2.4.3\build\x86\vc9\staticlib use /MTd

and it fails to compile

opencv_highgui243d.lib(window_w32.obj) : error LNK2019: unresolved external symbol __imp__CreateToolbarEx@52 referenced in function "int __cdecl icvCreateTrackbar(char const ,char const *,int *,int,void (__cdecl)(int),void (__cdecl*)(int,void *),void *)" (?icvCreateTrackbar@@YAHPBD0PAHHP6AXH@ZP6AXHPAX@Z3@Z)

If I include comctl32.lib all ok, but I get a lot of warning about *.pdb files like

warning LNK4099: PDB 'opencv_core243d.pdb' was not found with

Do I need to include comctl32.lib?