Problem with Adding DLL for 2D wavelet in opencv c++ [closed]

asked 2018-05-28 07:57:44 -0500

Digital Design gravatar image

Hello, I am trying to use 2d wavelet transform for image processing task in opencv c++. I found this library on http://wavelet2d.sourceforge.net/ which looks really awesome. I am using visual studio 2017 and I followed every single word of their instructions on their website. First, I followed this menu and added the header file of wavelet2d.h: Project| Properties| VC++ Directories| Include Directories And then I added the same path to Project| Properties| C/C++ | General| Additional Include Directories. Afterward I add the folders containing “wavelet2d.dll” and “libfftw3-3.dll” to the following menus: Project| Properties| VC++ Directories| Library Directories Project| Properties| C/C++ | Linker| Additional Library Directories Finally, I add “wavelet2d.lib” to the following menu: Project| Properties| C/C++ | Linker| Input| Additional Dependencies. Well, it seems that it should work, but it doesn´t and I get the following error messages when I try to compile the project: LNK2019: unresolved external symbol "__declspec(dllimport) void * __cdecl swt_2d(class std::vector<class std::allocator<double="" std::vector<double,class=""> >,class std::allocator<class std::allocator<double="" std::vector<double,class=""> > > > &,int,class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,class std::vector<double,class std::allocator<double=""> > &)" (__imp_?swt_2d@@YAPEAXAEAV?$vector@V?$vector@NV?$allocator@N@std@@@std@@V?$allocator@V?$vector@NV?$allocator@N@std@@@std@@@2@@std@@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@AEAV?$vector@NV?$allocator@N@std@@@2@@Z) referenced in function main and also this one: LNK1120: 1 unresolved externals Can anyone help me with solving these errors? What´s wrong? Thank you so much</double,class></char></char,struct></class></class>

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by berak
close date 2018-05-28 08:04:50.750619