phdsky / orbslam24windows Goto Github PK
View Code? Open in Web Editor NEWORBSLAM2 Project 4(for) Windows Platform
License: Other
ORBSLAM2 Project 4(for) Windows Platform
License: Other
After building all the projects successfully,I encounter a problem when runing the mono_kitti.
mpMapDrawer = new MapDrawer(mpMap, strSettingsFile);
After the program runs over this code, it exits directly.
What are the possible reasons?
Tried to build ORB_SLAM2 with Visual Studio 2015 , but ALL_BUILD of ORB_SLAM2.sln got an error in line 450 of ORBextractor.cc:
Error C2039: 'back_inserter': is not a member of 'std'
Error C3861: 'back_inserter': identifier not found
ORBextractor.cc need "iterator" with Visual Studio 2015(vc14).
#include <iterator>
I use opencv 3.2.0 and visual studio 2015(vc14). This project work correctly.
When I create an empty txt file, the code exited -1. Why?
Hi,
I'm new to ORBSLAM2 and programming in general. I'm experiencing issue when trying to configure ORBSLAM24Windows on the Cmake-gui. I believe there is something wrong with the Pangolin directories.
The error said:
_CMake Error at C:/Users/Flamingo/Desktop/orbslam-windows/Thirdparty/Pangolin/build/src/PangolinConfig.cmake:26 (set_target_properties):
set_target_properties called with incorrect number of arguments.
Call Stack (most recent call first):
CMakeLists.txt:43 (find_package)
Configuring incomplete, errors occurred!_
Does anyone has a solution for this problem?
[I am using: OpenCV 3.4.5, Cmake 3.17.1, Visual Studio 15 2017]
I am trying with cmake to compile dbow2 with visual studio 2017(x64) and the configuration fails with the message
CMake Error at C:/Windows/System32/OpenCVModules.cmake:417 (message):
The imported target "opencv_core" references the file
"C://x64/vc16/lib/opencv_core440d.lib"
but this file does not exist.
Any idea the reason of such problem?
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.
I am trying to build the example of mono_tum; however, I am not understand the following steps.
Right click the mono_tum project and then click generate.
Download tum dataset sequence, for example freiburg2_desk
Right click the mono_tum project and then click Property->Config Property->Debug, input three parameters (Usage: ./mono_tum path_to_vocabulary path_to_settings path_to_sequence, the first can be ignored in windows)
I am using Visual Studio Express 2015, I do not have the option "generate" when I right click mono_tum project. Is it the same as "Build" ?
Moreover, I cannot find "Property->Config Property->Debug". Are there any corresponding location for setup.
Thanks for your help. This source is very helpful.
Side track suggestion: When I build "ORB_Slam2" I met the error "back_inserter': is not a member of 'std". I have added #include to that folder to complete the build
I'm using Opencv 3.2 on windows 10 with VS 2015.
Everything builds fine except for the main ORBSLAM2 library.
The error that Visual Studio throws is:
LINK : fatal error LNK1181: cannot open input file '..\lib\Release\ORB_SLAM2.lib'
The above directory is empty.
Any ideas on how to solve this issue?
Thanks!
In g2o/stuff/os_specific.c, the function int vasprintf()
is defined within #ifdef WINDOWS
, whereas the prototype definition at os_specific.h
is within nested #ifdef WINDOWS
and #ifndef _WINDOWS
.
Is it an intended code?
Also, just to make sure,as documented in README.md
, in step 5 of g2o, it says to add WINDOWS
to prepossessor definitions. Is it WINDOWS
and not _WINDOWS
?
Thanks for your great work!
I manage to compile everything in the README.md but I don't know how to run some applications.Because I didn't compile and run a ubuntu project on windows with visual studio.
Could you please tell me how to do it or give me some advices about it in details?
Thank you very much?
The project is successfully compiled but I got a problem while running the routines.
RGB-D sensor mode, for example, gives an error in generating Pangolin viewer. It seems to be an error of the window creation but no further information is given by the compiler. The snapshot is attached here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.