Ask Your Question

supergirlx's profile - activity

2015-12-03 10:02:59 -0600 received badge  Scholar (source)
2015-12-02 15:33:10 -0600 asked a question Linker errors when trying to run sample opencv test

Ok - I did my windows set-up, and as far as I can tell did everything right. Set up my PATH variable in Windows (and restarted to make sure it takes effect), set up my properties for both debug and release, and still, I get a million of these errors when trying to build:

LNK2019: unresolved external symbol _ippicvsFlip_16u_I@8 referenced in function "enum IppStatus (__stdcall*__cdecl cv::getFlipFunc(int))(void *,int)" (?getFlipFunc@cv@@YAP6G?AW4IppStatus@@PAXH@ZH@Z) C:\Users\emwakefi\Documents\Visual Studio 2013\Projects\Example 1\Example 1\opencv_core300d.lib(matrix.obj) Example 1

The only file in my solution is the cpp file for the sample code. I assumed I didn't need to add anything else since I point to it in my OpenCV download?

I'm using the latest version of OpenCV with static linked libraries, and Visual Studio 2013.

2015-12-02 15:01:21 -0600 commented answer Linker errors when building in VS2013

Thank you! This worked! Now on to the next issue. :)

2015-12-02 10:53:08 -0600 asked a question Linker errors when building in VS2013

I'm trying to do the sample code from the windows tutorial here: http://docs.opencv.org/2.4/doc/tutori...

I did the easy download of OpenCV, which I believe gave me staticlibs instead of DLLs. So, I followed the Visual studio setup as described, but had to point the linker to the statilib dir instead of lib dir to get the lib files.

Now when I build, I get a bunch of these errors:

LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in Source.obj c:\Users\emwakefi\documents\visual studio 2013\Projects\Example 1\Example 1\opencv_core300d.lib(alloc.obj) Example 1

I'm sure that using the static libs is conflicting with some setting, but I'm not sure what I'm doing wrong. Help?