phdsky / ORBSLAM24Windows

ORBSLAM2 Project 4(for) Windows Platform
Other
191 stars 86 forks source link

Something wrong with the file "mono_tum". #9

Open M-Cyclone opened 3 years ago

M-Cyclone commented 3 years ago

Hi, I got some issues about the file "mono_tum" when rebuild the project "mono_tum". Here's the output I got when rebuild the file:

1>------ Rebuild All started: Project: mono_tum, Configuration: Debug x64 ------ 1>Building Custom Rule D:/Study/02Postgraduate/SLAM/Code/ORB_SLAM2/ORB_SLAM2/CMakeLists.txt 1>mono_tum.cc 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(81,22): error C2039: 'monotonic_clock': is not a member of 'std::chrono' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\chrono(708): message : see declaration of 'std::chrono' 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(81,22): error C3083: 'monotonic_clock': the symbol to the left of a '::' must be a type 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(81,68): error C2039: 'monotonic_clock': is not a member of 'std::chrono' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\chrono(708): message : see declaration of 'std::chrono' 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(81,68): error C3083: 'monotonic_clock': the symbol to the left of a '::' must be a type 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(81,85): error C2039: 'now': is not a member of 'std::chrono' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\chrono(708): message : see declaration of 'std::chrono' 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(81,88): error C3861: 'now': identifier not found 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(81,90): error C2514: 'std::chrono::time_point': class template cannot be constructed 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\chrono(176): message : see declaration of 'std::chrono::time_point' 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(90,22): error C2039: 'monotonic_clock': is not a member of 'std::chrono' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\chrono(708): message : see declaration of 'std::chrono' 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(90,22): error C3083: 'monotonic_clock': the symbol to the left of a '::' must be a type 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(90,68): error C2039: 'monotonic_clock': is not a member of 'std::chrono' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\chrono(708): message : see declaration of 'std::chrono' 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(90,68): error C3083: 'monotonic_clock': the symbol to the left of a '::' must be a type 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(90,85): error C2039: 'now': is not a member of 'std::chrono' 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\chrono(708): message : see declaration of 'std::chrono' 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(90,88): error C3861: 'now': identifier not found 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(90,90): error C2514: 'std::chrono::time_point': class template cannot be constructed 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\chrono(176): message : see declaration of 'std::chrono::time_point' 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(93,86): error C2676: binary '-': 'std::chrono::time_point' does not define this operator or a conversion to a type acceptable to the predefined operator 1>D:\Study\02Postgraduate\SLAM\Code\ORB_SLAM2\ORB_SLAM2\Examples\Monocular\mono_tum.cc(93,37): error C2672: 'std::chrono::duration_cast': no matching overloaded function found 1>Done building project "mono_tum.vcxproj" -- FAILED. ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

I use google and most of the answers are talking about someting like c++11 but I'm not sure about how to fix it.

Gasethata commented 3 years ago

hi Misaka,

I have a similar problem like yours. i have managed to build the project up until building ORB-SLAM (all dependencies satisfied) only stuck with running the mono_tum example.

I seem to not understand step 3. of 'Applications': Right click the mono_tum project and then click generate.

When i right click on mono_tum, there is no option for 'Generate'.

I have tried to build the mono_tum project but it is always failing. I have tried to follow the instructions from this project as well, still getting stuck when running the mono_tum. https://github.com/Phylliida/orbslam-windows

Have you ran mono_tum successfully? I only want to execute the mono_tum at this point. Please help with any ideas.

Below is the errors I get:

1>------ Build started: Project: mono_tum, Configuration: Release x64 ------ 1>g2o.lib(hyper_graph.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(optimizable_graph.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(robust_kernel.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(types_sba.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(types_six_dof_expmap.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(types_seven_dof_expmap.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(solver.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(sparse_optimizer.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(timeutil.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(optimization_algorithm_levenberg.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(robust_kernel_impl.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(batch_stats.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(parameter_container.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(jacobian_workspace.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(factory.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(string_tools.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(hyper_graph_action.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(cache.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(estimate_propagator.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(optimization_algorithm.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(property.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(optimization_algorithm_with_hessian.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(robust_kernel_factory.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>g2o.lib(parameter.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "void cdecl std::_Xbad_alloc(void)" (?_Xbad_alloc@std@@YAXXZ) already defined in libcpmt.lib(xthrow.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "void cdecl std::_Xlength_error(char const )" (?_Xlength_error@std@@YAXPEBD@Z) already defined in libcpmt.lib(xthrow.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "void __cdecl std::_Xout_of_range(char const )" (?_Xout_of_range@std@@YAXPEBD@Z) already defined in libcpmt.lib(xthrow.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "char const __cdecl std::_Syserror_map(int)" (?_Syserror_map@std@@YAPEBDH@Z) already defined in libcpmt.lib(syserror.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "char const cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPEBDH@Z) already defined in libcpmt.lib(syserror.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: cdecl std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QEAA@H@Z) already defined in libcpmt.lib(xlock.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: cdecl std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QEAA@XZ) already defined in libcpmt.lib(xlock.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "bool __cdecl std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ) already defined in libcpmt.lib(uncaught.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: cdecl std::locale::id::operator unsigned int64(void)" (??Bid@locale@std@@QEAA_KXZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "private: static class std::locale::_Locimp * __cdecl std::locale::_Getgloballocale(void)" (?_Getgloballocale@locale@std@@CAPEAV_Locimp@12@XZ) already defined in libcpmt.lib(locale0.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: bool cdecl std::codecvt_base::always_noconv(void)const " (?always_noconv@codecvt_base@std@@QEBA_NXZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: static unsigned int64 cdecl std::ctype::_Getcat(class std::locale::facet const ,class std::locale const )" (?_Getcat@?$ctype@D@std@@SA_KPEAPEBVfacet@locale@2@PEBV42@@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: int __cdecl std::codecvt<char,char,int>::in(int &,char const ,char const ,char const &,char ,char ,char &)const " (?in@?$codecvt@DDH@std@@QEBAHAEAHPEBD1AEAPEBDPEAD3AEAPEAD@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: int __cdecl std::codecvt<char,char,int>::out(int &,char const ,char const ,char const &,char ,char ,char &)const " (?out@?$codecvt@DDH@std@@QEBAHAEAHPEBD1AEAPEBDPEAD3AEAPEAD@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: int __cdecl std::codecvt<char,char,int>::unshift(int &,char ,char ,char &)const " (?unshift@?$codecvt@DDH@std@@QEBAHAEAHPEAD1AEAPEAD@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: static unsigned int64 cdecl std::codecvt<char,char,int>::_Getcat(class std::locale::facet const ,class std::locale const )" (?_Getcat@?$codecvt@DDH@std@@SA_KPEAPEBVfacet@locale@2@PEBV42@@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::locale __cdecl std::ios_base::getloc(void)const " (?getloc@ios_base@std@@QEBA?AVlocale@2@XZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "private: static void __cdecl std::ios_base::_Ios_base_dtor(class std::ios_base )" (?_Ios_base_dtor@ios_base@std@@CAXPEAV12@@Z) already defined in libcpmt.lib(ios.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "protected: cdecl std::basic_streambuf<char,struct std::char_traits >::basic_streambuf<char,struct std::char_traits >(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAA@XZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: virtual __cdecl std::basic_streambuf<char,struct std::char_traits >::~basic_streambuf<char,struct std::char_traits >(void)" (??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::locale cdecl std::basic_streambuf<char,struct std::char_traits >::getloc(void)const " (?getloc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEBA?AVlocale@2@XZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: int cdecl std::basic_streambuf<char,struct std::char_traits >::sgetc(void)" (?sgetc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAAHXZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: int __cdecl std::basic_streambuf<char,struct std::char_traits >::snextc(void)" (?snextc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAAHXZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: int cdecl std::basic_streambuf<char,struct std::char_traits >::sputc(char)" (?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAAHD@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: int64 cdecl std::basic_streambuf<char,struct std::char_traits >::sputn(char const ,__int64)" (?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAA_JPEBD_J@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "protected: void __cdecl std::basic_streambuf<char,struct std::char_traits >::setg(char ,char ,char )" (?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXPEAD00@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "protected: void cdecl std::basic_streambuf<char,struct std::char_traits >::setp(char ,char )" (?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXPEAD0@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "protected: char * __cdecl std::basic_streambuf<char,struct std::char_traits >::_Pninc(void)" (?_Pninc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAPEADXZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "protected: void cdecl std::basic_streambuf<char,struct std::char_traits >::_Init(void)" (?_Init@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXXZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: virtual cdecl std::basic_ios<char,struct std::char_traits >::~basic_ios<char,struct std::char_traits >(void)" (??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: void cdecl std::basic_ios<char,struct std::char_traits >::clear(int,bool)" (?clear@?$basic_ios@DU?$char_traits@D@std@@@std@@QEAAXH_N@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: void cdecl std::basic_ios<char,struct std::char_traits >::setstate(int,bool)" (?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QEAAXH_N@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: char __cdecl std::basic_ios<char,struct std::char_traits >::widen(char)const " (?widen@?$basic_ios@DU?$char_traits@D@std@@@std@@QEBADD@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: cdecl std::basic_ostream<char,struct std::char_traits >::basic_ostream<char,struct std::char_traits >(class std::basic_streambuf<char,struct std::char_traits > ,bool)" (??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAA@PEAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z) already defined in ORB_SLAM2.lib(System.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: virtual cdecl std::basic_ostream<char,struct std::char_traits >::~basic_ostream<char,struct std::char_traits >(void)" (??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: void __cdecl std::basic_ostream<char,struct std::char_traits >::_Osfx(void)" (?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAXXZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & cdecl std::basic_ostream<char,struct std::char_traits >::operator<<(class std::basic_ostream<char,struct std::char_traits > & (__cdecl)(class std::basic_ostream<char,struct std::char_traits > &))" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@P6AAEAV01@AEAV01@@Z@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & cdecl std::basic_ostream<char,struct std::char_traits >::operator<<(int)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@H@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & __cdecl std::basic_ostream<char,struct std::char_traits >::operator<<(double)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@N@Z) already defined in ORB_SLAM2.lib(System.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & cdecl std::basic_ostream<char,struct std::char_traits >::put(char)" (?put@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV12@D@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & cdecl std::basic_ostream<char,struct std::char_traits >::flush(void)" (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV12@XZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: cdecl std::basic_istream<char,struct std::char_traits >::basic_istream<char,struct std::char_traits >(class std::basic_streambuf<char,struct std::char_traits > *,bool)" (??0?$basic_istream@DU?$char_traits@D@std@@@std@@QEAA@PEAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: virtual cdecl std::basic_istream<char,struct std::char_traits >::~basic_istream<char,struct std::char_traits >(void)" (??1?$basic_istream@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: bool cdecl std::basic_istream<char,struct std::char_traits >::_Ipfx(bool)" (?_Ipfx@?$basic_istream@DU?$char_traits@D@std@@@std@@QEAA_N_N@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_istream<char,struct std::char_traits > & cdecl std::basic_istream<char,struct std::char_traits >::operator>>(int &)" (??5?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@AEAH@Z) already defined in ORB_SLAM2.lib(System.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_istream<char,struct std::char_traits > & cdecl std::basic_istream<char,struct std::char_traits >::seekg(class std::fpos)" (?seekg@?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAAEAV12@V?$fpos@H@2@@Z) already defined in pangolin.lib(iPacketStream.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: cdecl std::basic_iostream<char,struct std::char_traits >::basic_iostream<char,struct std::char_traits >(class std::basic_streambuf<char,struct std::char_traits > *)" (??0?$basic_iostream@DU?$char_traits@D@std@@@std@@QEAA@PEAV?$basic_streambuf@DU?$char_traits@D@std@@@1@@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: virtual cdecl std::basic_iostream<char,struct std::char_traits >::~basic_iostream<char,struct std::char_traits >(void)" (??1?$basic_iostream@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "struct _iobuf __cdecl std::_Fiopen(char const ,int,int)" (?_Fiopen@std@@YAPEAU_iobuf@@PEBDHH@Z) already defined in libcpmt.lib(fiopen.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_istream<char,struct std::char_traits > & cdecl std::basic_istream<char,struct std::char_traits >::operator>>(double &)" (??5?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@AEAN@Z) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & cdecl std::basic_ostream<char,struct std::char_traits >::operator<<(unsigned int64)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@_K@Z) already defined in ORB_SLAM2.lib(Optimizer.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & __cdecl std::basic_ostream<char,struct std::char_traits >::operator<<(class std::ios_base & (cdecl)(class std::ios_base &))" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@P6AAEAVios_base@1@AEAV21@@Z@Z) already defined in ORB_SLAM2.lib(System.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "struct std::_Smanip cdecl std::resetiosflags(int)" (?resetiosflags@std@@YA?AU?$_Smanip@H@1@H@Z) already defined in libcpmt.lib(iomanip.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits > & cdecl std::basic_ostream<char,struct std::char_traits >::operator<<(bool)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@_N@Z) already defined in ORB_SLAM2.lib(Viewer.obj) 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "protected: cdecl std::basic_ios<char,struct std::char_traits >::basic_ios<char,struct std::char_traits >(void)" (??0?$basic_ios@DU?$char_traits@D@std@@@std@@IEAA@XZ) already defined in mono_tum.obj 1>msvcprt.lib(MSVCP120.dll) : error LNK2005: "public: class std::basic_istream<char,struct std::char_traits > & cdecl std::basic_istream<char,struct std::char_traits >::operator>>(bool &)" (??5?$basic_istream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@AEA_N@Z) already defined in ORB_SLAM2.lib(Viewer.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: _hypot already defined in LIBCMT.lib(hypot.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: memmove already defined in LIBCMT.lib(memcpy.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: free already defined in LIBCMT.lib(free.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: malloc already defined in LIBCMT.lib(malloc.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: memcpy_s already defined in LIBCMT.lib(memcpy_s.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: "public: __cdecl std::exception::exception(char const const &,int)" (??0exception@std@@QEAA@AEBQEBDH@Z) already defined in LIBCMT.lib(stdexcpt.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: "public: cdecl std::exception::exception(class std::exception const &)" (??0exception@std@@QEAA@AEBV01@@Z) already defined in LIBCMT.lib(stdexcpt.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: "public: virtual cdecl std::exception::~exception(void)" (??1exception@std@@UEAA@XZ) already defined in LIBCMT.lib(stdexcpt.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: fclose already defined in LIBCMT.lib(fclose.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: fflush already defined in LIBCMT.lib(fflush.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: fgetc already defined in LIBCMT.lib(fgetc.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: fgetpos already defined in LIBCMT.lib(fgetpos.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: fputc already defined in LIBCMT.lib(fputc.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: fsetpos already defined in LIBCMT.lib(fsetpos.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: _fseeki64 already defined in LIBCMT.lib(fseeki64.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: fwrite already defined in LIBCMT.lib(fwrite.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: setvbuf already defined in LIBCMT.lib(setvbuf.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: ungetc already defined in LIBCMT.lib(ungetc.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: _lock_file already defined in LIBCMT.lib(_file.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: _unlock_file already defined in LIBCMT.lib(_file.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: "public: cdecl std::bad_cast::bad_cast(char const )" (??0bad_cast@std@@QEAA@PEBD@Z) already defined in LIBCMT.lib(stdexcpt.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: abort already defined in LIBCMT.lib(abort.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: _get_daylight already defined in LIBCMT.lib(timeset.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: _get_timezone already defined in LIBCMT.lib(timeset.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: _tzset already defined in LIBCMT.lib(tzset.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: _finite already defined in LIBCMT.lib(_finite.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: memchr already defined in LIBCMT.lib(memchr.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: toupper already defined in LIBCMT.lib(toupper.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: tolower already defined in LIBCMT.lib(tolower.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: realloc already defined in LIBCMT.lib(realloc.obj) 1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: cdecl type_info::type_info(class type_info const &)" (??0type_info@@AEAA@AEBV0@@Z) already defined in LIBCMT.lib(typinfo.obj) 1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & cdecl type_info::operator=(class type_info const &)" (??4type_info@@AEAAAEAV0@AEBV0@@Z) already defined in LIBCMT.lib(typinfo.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: "public: char const cdecl type_info::_name_internal_method(struct type_info_node *)const " (?_name_internal_method@type_info@@QEBAPEBDPEAUtype_info_node@@@Z) already defined in LIBCMT.lib(typinfo.obj) 1>MSVCRT.lib(MSVCR120.dll) : error LNK2005: _vsnprintf_s already defined in LIBCMT.lib(vsnprnc.obj) 1> Creating library C:/Users/GasethataMaduenyane/Documents/ORB-SLAM/orbslam-windows-master/orbslam-windows-master/build/Release/mono_tum.lib and object C:/Users/GasethataMaduenyane/Documents/ORB-SLAM/orbslam-windows-master/orbslam-windows-master/build/Release/mono_tum.exp 1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library 1>C:\Users\GasethataMaduenyane\Documents\ORB-SLAM\orbslam-windows-master\orbslam-windows-master\Examples\Monocular\Release\mono_tum.exe : fatal error LNK1169: one or more multiply defined symbols found ========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========