GithubHelp home page GithubHelp logo

phylliida / orbslam-windows Goto Github PK

View Code? Open in Web Editor NEW
128.0 128.0 73.0 97.63 MB

Easy build for ORB Slam 2 on Windows

License: GNU General Public License v3.0

CMake 2.35% C++ 83.84% Cuda 0.96% C 2.76% Objective-C 0.04% Objective-C++ 0.18% Shell 0.15% Fortran 9.55% Python 0.06% JavaScript 0.06% CSS 0.04%

orbslam-windows's People

Contributors

phylliida avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

orbslam-windows's Issues

Problem with building Pangolin

Hi,

everytime I try to build Pangolin I receive I have 2 successful and 17 failure builds.

It says that the file glew.h cannot be found.

Do you have any suggestions?

generated g2o.sln is empty

When using CMake in the second step, cmake has some warnings:

BUILD TYPE:Release

Try OpenMP C flag = [/openmp]
Performing Test OpenMP_FLAG_DETECTED
Performing Test OpenMP_FLAG_DETECTED - Success
CMake Warning (dev) at D:/Program Files/CMake/share/cmake-3.8/Modules/FindOpenMP.cmake:179 (if):
if given arguments:

"TRUE"

An argument named "TRUE" appears in a conditional statement. Policy
CMP0012 is not set: if() recognizes numbers and boolean constants. Run
"cmake --help-policy CMP0012" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
D:/Program Files/CMake/share/cmake-3.8/Modules/FindOpenMP.cmake:224 (_OPENMP_GET_SPEC_DATE)
CMakeLists.txt:48 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.

Try OpenMP CXX flag = [/openmp]
Performing Test OpenMP_FLAG_DETECTED
Performing Test OpenMP_FLAG_DETECTED - Success
CMake Warning (dev) at D:/Program Files/CMake/share/cmake-3.8/Modules/FindOpenMP.cmake:179 (if):
if given arguments:

"TRUE"

An argument named "TRUE" appears in a conditional statement. Policy
CMP0012 is not set: if() recognizes numbers and boolean constants. Run
"cmake --help-policy CMP0012" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
D:/Program Files/CMake/share/cmake-3.8/Modules/FindOpenMP.cmake:266 (_OPENMP_GET_SPEC_DATE)
CMakeLists.txt:48 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.

Found OpenMP: /openmp
Found Eigen3: E:/LearnORBSLAM/Thirdparty/eigen (Required is at least version "3.1.0")
Configuring done

and the generated SLN file can be opened. but VS shows that g2o does not contain any configuration, and can not be opened, so nothing is shown.

Thank you very much!

Pangolin build fails with many errors on VS 2017 (XVMC, VAAPI)

I'm trying to build the master branch on Win10 Visual Studio 2017.
CMake config is generated successfully using cmake .. -G "Visual Studio 15 2017 Win64" inside the build directory.
However the build fails with errors related to ffmpeg (XVMC, VAAPI) related. I tried this patch but there is no patch for the VAAPI related errors.

Please help.

In the meantime, I'm trying to build a different version of Pangolin and try to link it with the rest of the project.

Examples do not open after build

If I try to open mono_euroc.exe from command prompt, I get the following message:
Usage: ./mono_tum path_to_vocabulary path_to_settings path_to_image_folder path_to_times_file

I tried to copy a EuRoC MH dataset in "orbslam-windows\Examples\Monocular\datasets". Originally you have to execute the following command (changing the routes):
./Examples/Monocular/mono_euroc Vocabulary/ORBvoc.txt Examples/Monocular/EuRoC.yaml PATH_TO_SEQUENCE/cam0/data Examples/Monocular/EuRoC_TimeStamps/SEQUENCE.txt

But that command runs on Linux. How can I modify it to run on Windows?

No CMAKE_C_COMPILER could be found.

Hi thanks for your instructions. I have Visual Studio 2015 v14, CMake, OpenCV etc installed. When trying "generate" the build in step 1 I get the following errors:

CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.

What do I need to install additionally?

I have a problem with CMake DBoW2.

I have a problem with CMake DBoW2.

CMake Error at CMakeLists.txt:31 (message):
OpenCV > 2.4.3 not found.

When i do CMake DBoW2, this message come out.

I have a Visual Studio 2017 and OpenCV 3.0.0.

What should i do?

Compile as DLL

Hi,

is there any issue to compile as dll instead of static library? and in case, can i follow the readme file as it is?

Unable to run the mono_tum example

Hi everyone, please help.

I have a similar problem running the mono_tum file.
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:🆔: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@@QEBAPEBDPEAU__type_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 ==========

My solution to make the project work

These are the steps I have followed to make the project work. I have translated my instructions from Spanish to English with the translator: https://www.deepl.com/translator

INSTRUCTIONS

1º Install Visual Studio 14 2015:
https://visualstudio.microsoft.com/es/vs/older-downloads/

2º Install CMake and add it to the path in the installer:
https://cmake.org/download/

3º Download the project:
https://github.com/Phylliida/orbslam-windows

4º Download OpenCV 3.1 (it can be version 3.X, but not 4) and when you run it, unzip it in a folder. Do not put a path with spaces. I put it in "C:/", but it wouldn't be bad to put it in the project in "orbslam-windows\Thirdparty".
https://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.1.0/

  • Note: other versions of OpenCV installed (e.g. through Python) may cause problems.

5º Make the build with CMake as in the link. (The General procedure part is enough).
https://perso.uclouvain.be/allan.barrea/opencv/cmake_config.html

6º Open the project in "C:\opencv\build" with Visual Studio 2015.
Change from debug to release and second click on "Solution 'OpenCV'" and build the project.

7º In the document "orbslam-windows\Thirdparty\DBoW2\CakeLists.txt" and also in "orbslam-windows\CMakeLists.txt" comment this line:
#find_package(OpenCV 3.0 QUIET)
and put this other one (put your route, the type of bar is important):
find_package(OpenCV 3.0 REQUIRED PATHS "C:/opencv/build")

8º Follow the instructions step by step (except build mono_euroc):
https://github.com/Phylliida/orbslam-windows

  • Note: In Visual Studio, go to Tools -> Options -> Debugging -> Symbols and in "Symbol file (.pdb) locations", check "Microsoft symbol servers".

9º Copy all the content from "C:\opencv\build\bin\Release" to "orbslam-windows\Examples\Monocular\Release".
You should also copy the OpenNI2.dll library. It can be found on the PC itself, in my case it appeared in "C:\Program Files\OpenNI2\Tools" among others.

10º Download the dataset "Machine Hall 01" (EuRoC): https://projects.asl.ethz.ch/datasets/doku.php?id=kmavvisualinertialdatasets
Unzip it in a new folder "orbslam-windowsExamples\Monocular\datasets".

  • Note: You can download datasets for each version (mono_euroc, mono_kitti, mono_tum). The information can be found in the original project (4. Monocular Examples): https://github.com/raulmur/ORB_SLAM2

11º Unzip "orbslam-windows\Vocabulary\ORBvoc.txt.tar" in the same folder where it is located.

12º When opening it by console, the project failed with the error "Usage: ./mono_tum path_to_vocabulary path_to_settings path_to_image_folder path_to_times_file". With that error and the information from 4. Monocular Examples (https://github.com/raulmur/ORB_SLAM2),
in "orbslam-windows\Examples\Monocular\mono_euroc.cc" I changed this (line 38):

if (argc != 5)
{
    cerr << endl << "Usage: ./mono_tum path_to_vocabulary path_to_settings path_to_image_folder path_to_times_file" << endl;
    return 1;
}

for this:

if (argc != 5)
{
    //cerr << endl << "Usage: ./mono_tum path_to_vocabulary path_to_settings path_to_image_folder path_to_times_file" << endl;
    //return 1;

    argv[0] = "..\\mono_tum.cc";
    argv[1] = "..\\..\\..\\Vocabulary\\ORBvoc.txt";
    argv[2] = "..\\EuRoC.yaml";
    argv[3] = "..\\datasets\\mav0\\cam0\\data";
    argv[4] = "..\\EuRoC_TimeStamps\\MH01.txt";
}
  • Note: I imagine that in the .cc of each project will come a different error and the unknown routes can be obtained from the original project (4. Monocular Examples): https://github.com/raulmur/ORB_SLAM2

13º Build the mono_euroc project with what was indicated here: https://github.com/Phylliida/orbslam-windows

14º Open the example in "orbslam-windows\Examples\Monocular\Release\mono_euroc.exe".

Impossible to load input file

Hello everyone,

I'm not able to build anyone of the examples because of it doesn't find the "Secondo.obj". Does anyone know how to find this file? I'm using Visual Studio 2017 with 2015 compiler, OpenCV 3.2.0.
Here the error:
error
The translate is: Impossible to load input file "D:...\Secondo.obj".

Thanks in advance.
Regards

G2O build error

Help plz with this kind of error. Error occurs, while building in CMAKE
image

Debug mode

I am trying to run the mono_euroc with debug mode and not release. there seem to be a lot of errors. have you encountered such a problem? (i builded all third party also in debug)

Run on offline dataset

Hi @Phylliida,
Thank you so much for this library! I was wondering whether I can get it to run offline on a dataset of my own. Currently, I can't do it because I don't know what to do with the generated lib file; and I can't modify the examples one as it has an .exe file which only works for webcam

Change Runtime Library setting to Multi-threaded DLL (/MD)

Hi Phylliida,

Follow your instructions (/MT + Static Library), everything works fined.

Now I want to use it in the other project.
The project is an application(.exe), but uses /MD to link to Runtime Library.

So I decide to build a new ORB_SLAM.lib, using /MD + Static Library.
Step by step, I can obtain a new ORB_SLAM.lib. Looks good.
When I try to test it with example "rgbd_tum" project, it brings following errors:

(Most errors are from pangolin.lib, msvcprt.lib, libcpmt.lib)

pangolin.lib(handler.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in rgbd_tum.obj
.
.
.
msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: static unsigned __int64 __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *,class std::locale const *)" (?_Getcat@?$ctype@D@std@@SA_KPEAPEBVfacet@locale@2@PEBV42@@Z) already defined in pangolin.lib(ffmpeg.obj)
.
.
.
libcpmt.lib(ios.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in rgbd_tum.obj

Here's the full error message
full_errors.txt

Could you help me? thanks.

Does this release support OpenCV 3 ?

Hi, thanks for your setup instructions. The compilation worked fine as you described.
However, when I try to run mono_kitti.exe and mono_euroc.exe I get the following error message:

The code execution cannot proceed because opencv_world331.dll was not found. Reinstalling the program may fix this problem.

Although the opencv_world331.dll is present at C:\opencv\build\x64\vc14\bin which in turn is listed in my Windows environment variables (OpenCV_DIR -> C:\opencv\build\x64\vc14\bin).

I noticed that on this GitHub repository, the author has added "Fix OpenCV 3 support" 9 month ago and your repository was last edited 8 month ago. So does your repository also contain the OpenCV 3 fixes? Do you have any suggestions how to solve my issue?

PS.: I am currently using opencv-3.3.1-vc14 and did the compilation process with Visual Studio 14 2015 Win64 as you suggested.

Thank you!

I need your help :) debug mode

As a result of executing your suggestion, the program works well in release mode and succeeded in running the stereo_kitti example.

Then I set breakpoints to know how the program works specifically, but this does not work.
Also, an error occurs when switching to debug mode in stereo_kitti example.

What should i do??

Problem with Pangolin

Hi All,
I cannot build Pangolin. But i´m using Visual Studio 2015 to build it; may it be the problem?. The errors that i have are:
Severity Code Description Project File Line Suppression State Error LNK1181 cannot open input file 'pthread.lib' testlog D:\VSLAM\orbslam-windows\Thirdparty\Pangolin\build\test\log\LINK 1 Error C1189 #error: Xiron Platform Abstraction Layer - Win32 - Microsoft Visual Studio versions above 2010 (10.0) are not supported! pangolin c:\program files\openni\include\XnPlatform.h 57

CMake error Pangolin

I dont' know what's wrong here to build Pangolin. I can build g2o, dbow2, but not pangolin.
I even download glew, and specify the directory as:
C:\Users\teffendi\Documents\ORB_Win\Thirdparty\glew-2.1.0

but still got the same error as follows.
What do i do wrong here?

thanks

CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.

Selecting Windows SDK version 8.1 to target Windows 6.1.7601.
CMake Error at CMakeLists.txt:25 (include):
include could not find load file:

CreateMethodCallFile

CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.18/Modules/FindGLEW.cmake:207 (find_package_handle_standard_args)
CMakeLists.txt:158 (find_package)

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.18)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred!
See also "C:/Users/teffendi/Documents/ORB_Win2/Thirdparty/Pangolin/build/CMakeFiles/CMakeOutput.log".

Here is the log:

The system is: Windows - 6.1.7601 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler:
Build flags:
Id flags:

The output was:
0
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 10/13/2020 7:10:43 PM.
Project "C:\Users\teffendi\Documents\ORB_Win2\Thirdparty\Pangolin\build\CMakeFiles\3.18.0-rc3\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "Debug".
Creating directory "Debug\CompilerIdC.tlog".
InitializeBuildStatus:
Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c
CMakeCCompilerId.c
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
CompilerIdC.vcxproj -> C:\Users\teffendi\Documents\ORB_Win2\Thirdparty\Pangolin\build\CMakeFiles\3.18.0-rc3\CompilerIdC.\CompilerIdC.exe
PostBuildEvent:
for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
:VCEnd
CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild".
Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".
Done Building Project "C:\Users\teffendi\Documents\ORB_Win2\Thirdparty\Pangolin\build\CMakeFiles\3.18.0-rc3\CompilerIdC\CompilerIdC.vcxproj" (default targets).

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:03.95

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

The C compiler identification is MSVC, found in "C:/Users/teffendi/Documents/ORB_Win2/Thirdparty/Pangolin/build/CMakeFiles/3.18.0-rc3/CompilerIdC/CompilerIdC.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler:
Build flags:
Id flags:

The output was:
0
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 10/13/2020 7:10:48 PM.
Project "C:\Users\teffendi\Documents\ORB_Win2\Thirdparty\Pangolin\build\CMakeFiles\3.18.0-rc3\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "Debug".
Creating directory "Debug\CompilerIdCXX.tlog".
InitializeBuildStatus:
Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp
CMakeCXXCompilerId.cpp
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj
CompilerIdCXX.vcxproj -> C:\Users\teffendi\Documents\ORB_Win2\Thirdparty\Pangolin\build\CMakeFiles\3.18.0-rc3\CompilerIdCXX.\CompilerIdCXX.exe
PostBuildEvent:
for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
:VCEnd
CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild".
Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".
Done Building Project "C:\Users\teffendi\Documents\ORB_Win2\Thirdparty\Pangolin\build\CMakeFiles\3.18.0-rc3\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:03.16

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

The CXX compiler identification is MSVC, found in "C:/Users/teffendi/Documents/ORB_Win2/Thirdparty/Pangolin/build/CMakeFiles/3.18.0-rc3/CompilerIdCXX/CompilerIdCXX.exe"

Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/Users/teffendi/Documents/ORB_Win2/Thirdparty/Pangolin/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_44fd1.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) C/C++ Optimizing Compiler Version 19.26.28806 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCCompilerABI.c

cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_44fd1.dir\Debug\" /Fd"cmTC_44fd1.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue "C:\Program Files\CMake\share\cmake-3.18\Modules\CMakeCCompilerABI.c"

cmTC_44fd1.vcxproj -> C:\Users\teffendi\Documents\ORB_Win2\Thirdparty\Pangolin\build\CMakeFiles\CMakeTmp\Debug\cmTC_44fd1.exe

Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/Users/teffendi/Documents/ORB_Win2/Thirdparty/Pangolin/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_8af27.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) C/C++ Optimizing Compiler Version 19.26.28806 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCXXCompilerABI.cpp

cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_8af27.dir\Debug\" /Fd"cmTC_8af27.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue "C:\Program Files\CMake\share\cmake-3.18\Modules\CMakeCXXCompilerABI.cpp"

cmTC_8af27.vcxproj -> C:\Users\teffendi\Documents\ORB_Win2\Thirdparty\Pangolin\build\CMakeFiles\CMakeTmp\Debug\cmTC_8af27.exe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.