• Stars
    star
    130
  • Rank 276,280 (Top 6 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Easy build for ORB Slam 2 on Windows

ORB_SLAM2_Windows

Easy build for ORB Slam 2 on Windows

  1. Make a directory called build in orbslam-windows/Thirdparty/DBoW2
  • Run CMake GUI and set source code to orbslam-windows/Thirdparty/DBoW2 and where to build the binaries to orbslam-windows/Thirdparty/DBoW2/build
  • Press Configure and choose Visual Studio 14 2015 Win64 or Visual Studio 12 2013 Win64
  • Press Generate
  • Open the resulting project in the build directory in Visual Studio
  • Change build type to Release (in white box up top, should initially say Debug)
  • Right click on DBoW2 project -> Properties -> General: change Target Extension to .lib and Configuration Type to Static Library (.lib)
  • Go to C/C++ Tab -> Code Generation and change Runtime Library to Multi-threaded (/MT)
  • Build ALL_BUILD. You should get lots of warnings but no errors
  1. Make a directory called build in orbslam-windows/Thirdparty/g2o
  • Run CMake GUI and set source code to orbslam-windows/Thirdparty/g2o and where to build the binaries to orbslam-windows/Thirdparty/g2o/build
  • Press Configure and choose Visual Studio 14 2015 Win64 or Visual Studio 12 2013 Win64
  • Press Generate
  • Open the resulting project in the build directory in Visual Studio
  • Change build type to Release (in white box up top, should initially say Debug)
  • Right click on g2o project -> Properties -> General: change Target Extension to .lib and Configuration Type to Static Library (.lib)
  • Go to C/C++ Tab -> Code Generation and change Runtime Library to Multi-threaded (/MT)
  • Go to C/C++ -> Preprocessor and press the dropdown arrow in the Preprocessor Definitions, then add a new line with WINDOWS on it (no underscore), then press OK, then Apply
  • Build ALL_BUILD.
  1. Make a directory called build in orbslam-windows/Thirdparty/Pangolin
  • Run CMake GUI and set source code to orbslam-windows/Thirdparty/Pangolin and where to build the binaries to orbslam-windows/Thirdparty/Pangolin/build
  • Press Configure and choose Visual Studio 14 2015 Win64 or Visual Studio 12 2013 Win64. You'll have a lot of RED and a lot of things that say DIR-NOTFOUND but as long as the window at the bottom says Configuring Done you're fine
  • Press Generate
  • Open the resulting project in the build directory in Visual Studio
  • Change build type to Release (in white box up top, should initially say Debug)
  • Build ALL_BUILD. You'll have an error by project testlog that says "cannot open input file 'pthread.lib'" but that doesn't matter cause we don't use testlog. Everything else should build fine, i.e., you should have ========== Build: 18 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  1. Make a directory called build in orbslam-windows
  • Run CMake GUI and set source code to orbslam-windows and where to build the binaries to orbslam-windows/build
  • Press Configure and choose Visual Studio 14 2015 Win64 or Visual Studio 12 2013 Win64
  • Press Generate
  • Open the resulting project in the build directory in Visual Studio
  • Change build type to Release (in white box up top, should initially say Debug)
  • Right click on ORB_SLAM2 project -> Properties -> General: change Target Extension to .lib and Configuration Type to Static Library (.lib)
  • Go to C/C++ Tab -> Code Generation and change Runtime Library to Multi-threaded (/MT)

I had to disable warnings in Orb Slam because otherwise there were so many they crashed visual studio. You will still see a few but not very many

  • Right click on the ORB_SLAM2 project (NOT ALL_BUILD) and click Build
  • If you're lucky, that will take few minutes then successfully build!

If you want to build any of the examples (such as mono_euroc), do the following:

  • Right click on that project and go to Properties -> C/C++ -> Code Generation, and change Runtime Library to Multi-threaded (/MT). Then press apply
  • Right click on it and press build

Then you will find them, say if you do mono_, in (orbslam-windows\Examples\Monocular\Release)

More Repositories

1

P2P.NET

Peer to peer networking in C# using WebRTC
C#
169
star
2

UnityWindowsCapture

A framework to capture individual windows or the entire desktop in Unity
C#
132
star
3

Dialogue-Datasets

A collection of plain text dialogue datasets
83
star
4

UnityVOIP

[Doesn't work now sorry] Real time peer to peer voice chat in Unity, using CSCore, NSpeex, and UnityP2P
C#
49
star
5

UnityP2P

Peer to peer networking in Unity using WebRTC and a free Heroku server for signaling. This repo has old broken code so I removed it, use https://github.com/Phylliida/P2P.NET now
42
star
6

UnityMatrix

A Matrix class for Unity C# that is much better than the Matrix4x4 class
C#
14
star
7

PyTorchWindowsBinary

Precompiled binaries for PyTorch with CUDA for Python 3.5 and 3.6 on Windows x64
12
star
8

slam-libs

Lots of windows binaries needed for building orb-slam, lsd-slam, etc. Built in x64 Release Mode
C++
11
star
9

SimpleUnityPhysics

A custom physics engine for Unity3D with joints that actually work. Designed for a genetic algorithm so, for example, 10 seconds of simulation can run in a few milliseconds on an average computer.
C#
11
star
10

MambaLens

Mamba support for transformer lens
Python
10
star
11

P2PDraw

Tiltbrush/Quill 3D drawing program that is open source and peer to peer
ASP
7
star
12

openmuscle

An open source implementation of the Hill-type muscle model without any dependencies.
C#
7
star
13

Blocks

Tinkering with making an open source minecraft clone in unity
C#
6
star
14

suitesparse-windows-binaries

Prebuilt binaries of SuiteSparse for Windows because they are gross to build
C
4
star
15

UnityP2P-Broken

UDP hole punching in Unity3D in C# for peer to peer networking, using PubNub as a free signaling server. This doesn't actually work probably don't use this
C#
4
star
16

mamba_interp

Various stuff in progress for mamba interpretability
Jupyter Notebook
4
star
17

WorldSeed

A framework for easy creation of living creatures, plants, and terrain.
C#
3
star
18

UnityWASAPI

An example project that allows your program to interact with any sound a user plays to their speakers
C#
3
star
19

twitterconversations

Python
3
star
20

charRNN

Recurrent neural networks written in tensorflow that are fast, easy to use, and can reproduce "The Unreasonable Effectiveness of Recurrent Neural Networks"
Python
3
star
21

GeoLib

A simple javascript library for making games like pokemon go
JavaScript
2
star
22

SoundMirroring

Unity C# Code that lets you mirror any audio device to any other audio device
C#
2
star
23

ttswrapper

neos tts local webserver
Python
1
star
24

mtgspritesheet

Makes a Sprite Sheet out of a MTG deck using Scryfall
Python
1
star
25

StableDiffusionLargeResPatch

Patch for stable diffusion that let you run it at large resolutions (up to 2992x2992 on 8GB VRAM)
Python
1
star
26

GeoCreatures

AR game where you gather items for raising creatures by walking around in the real world
1
star
27

UnityMirrorBox

A mirror box VR Application using the Oculus Touch for helping regain movement in your hands
C#
1
star
28

ResoniteEasyFunctionWrapperExampleMod

Example usage of ResoniteEasyFunctionWrapper
C#
1
star