bgslibrary icon indicating copy to clipboard operation
bgslibrary copied to clipboard

unresolved error

Open SabraHashemi opened this issue 3 years ago • 2 comments

i want to change code of an algorithm so i need to add it to my visual not build it by placinf src directory it errors for 17 mouduls

Severity Code Description Project Path File Line Source Suppression State Error LNK2001 unresolved external symbol "public: __cdecl bgslibrary::algorithms::SuBSENSE::SuBSENSE(void)" (??0SuBSENSE@algorithms@bgslibrary@@QEAA@XZ) MulticueBGS D:\New folder (2)\MulticueBGS\MulticueBGS D:\New folder (2)\MulticueBGS\MulticueBGS\Source.obj 1 Build

Severity Code Description Project Path File Line Source Suppression State Error LNK2001 unresolved external symbol "public: __cdecl bgslibrary::algorithms::AdaptiveSelectiveBackgroundLearning::AdaptiveSelectiveBackgroundLearning(void)" (??0AdaptiveSelectiveBackgroundLearning@algorithms@bgslibrary@@QEAA@XZ) MulticueBGS D:\New folder (2)\MulticueBGS\MulticueBGS D:\New folder (2)\MulticueBGS\MulticueBGS\Source.obj 1 Build

Severity Code Description Project Path File Line Source Suppression State Error LNK2001 unresolved external symbol "public: __cdecl bgslibrary::algorithms::PAWCS::PAWCS(void)" (??0PAWCS@algorithms@bgslibrary@@QEAA@XZ) MulticueBGS D:\New folder (2)\MulticueBGS\MulticueBGS D:\New folder (2)\MulticueBGS\MulticueBGS\Source.obj 1 Build

Severity Code Description Project Path File Line Source Suppression State Error LNK2001 unresolved external symbol "public: __cdecl bgslibrary::algorithms::ViBe::ViBe(void)" (??0ViBe@algorithms@bgslibrary@@QEAA@XZ) MulticueBGS D:\New folder (2)\MulticueBGS\MulticueBGS D:\New folder (2)\MulticueBGS\MulticueBGS\Source.obj 1 Build

and so on

im opencv4.2 and visual studio 2019

SabraHashemi avatar Dec 09 '20 18:12 SabraHashemi

Hi @SabraHashemi , Sorry for my delayed feedback to you. Could you please send me more info about this error? I know it's a long time ago, but it's not clear to me how can I reproduce it. I also want to tell you I just released a new version of the BGSLibrary, now v3.1.0. I tested it on Windows, Mac and Linux, both compiling the C++ library on OpenCV 3.4.7, 3.4.16 and 4.6.0. I also tested its respective Python wrapper and GT user interface. Everything is working for me, could you please check in your side if this new version fix your issues? Thanks in advance, Andrews

andrewssobral avatar Jul 24 '22 20:07 andrewssobral

@SabraHashemi you can find here: https://github.com/andrewssobral/bgslibrary/wiki/Installation-instructions---Windows#how-to-compile-on-windows-10--msvs2019--opencv-347 How to build the bgs library on Windows 10 + OpenCV + Visual Studio 2019

andrewssobral avatar Jul 24 '22 20:07 andrewssobral