Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running on windows? #134

Closed
antithing opened this issue Nov 18, 2016 · 20 comments
Closed

running on windows? #134

antithing opened this issue Nov 18, 2016 · 20 comments

Comments

@antithing
Copy link

Has anyone got this up on windows? Is it possible?

Thanks!

@SirVer
Copy link
Contributor

SirVer commented Nov 18, 2016

Nobody has! You could be the first....

That said, it probably requires quite some work.

@antithing
Copy link
Author

the FIRST you say! Sadly, i do not think my code-fu is up to it!

@SirVer
Copy link
Contributor

SirVer commented Nov 21, 2016

Well, with ROS not running on Windows - Linux is kinda the lingua franca in robotics. Sorry.

Closing, as windows support is not on the roadmap for now.

@SirVer SirVer closed this as completed Nov 21, 2016
@liuxinren456852
Copy link

I have successfully compiled in the windows platform!

@antithing
Copy link
Author

Impressed! :) Any chance that you could share/github the code?

@tpengti
Copy link

tpengti commented May 18, 2017

I have successfully compiled in the windows platform for 2D-SLAM
https://github.com/tpengti/cartographer_windows

@sunmk2006
Copy link

I have successfully compiled in the windows platform for 2D-SLAM as @tpengti ,https://github.com/tpengti/cartographer_windows,The test routine will run for more than ten minutes , but in the linux platform this routine only takes three or four seconds to run,I couldn't understand the result because the windows Library's compilation did not change any code,Can someone help me?

@damonkohler
Copy link
Contributor

@sunmk2006, it sounds like you compiled in debug mode or so.

@sunmk2006
Copy link

@damienrg ,yes,you are right,I compiled in release mode,The cartographer worked very well! Thank you very much!

@paul-michalik
Copy link

paul-michalik commented Aug 28, 2017

Has anybody considered merging the required changes back to master? Or were no changes required?

damienrg pushed a commit to damienrg/cartographer that referenced this issue Nov 8, 2017
And some refactorings around writing assets.
@mmazat
Copy link

mmazat commented Feb 19, 2018

Made it easy for everyone, cartographer is now compiled and build on windows by the Microsoft Vcpkg, https://github.com/Microsoft/vcpkg

@antithing
Copy link
Author

Thanks! Is this just the 2d slam, as in above posts? Or the 3d also?

@mmazat
Copy link

mmazat commented Feb 20, 2018

it is cartographer library in full...

@antithing
Copy link
Author

antithing commented Feb 20, 2018

Awesome! Thank you very much. I am trying to build this, with vcpkg, and it is failing with:

-- Downloading https://github.com/boostorg/config/archive/boost-1.66.0.tar.gz...
 Failed. Status: 7;"Couldn't connect to server"
Error: Building package boost-config:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: boost-config:x86-windows
  Vcpkg version: 0.0.104-unknownhash

What am I missing?

EDIT this looks like a firewall vcpkg issue. Will try another machine. thanks again!

@mmazat
Copy link

mmazat commented Feb 20, 2018

This is boost installation problem. There might be hick ups but vcpkg works, in case of issue you may report them.. my advice is to use higher version of Visual Studio (2015 or 2017 perhaps)

@antithing
Copy link
Author

I am on vs2017. I actually already have boost installed, can I just point the vcpkg to my existing files?

@ras0219-msft
Copy link

We use cmake, which uses curl internally, so you'll need to set the usual curl environment variables for your proxy (HTTPS_PROXY)[1].

[1] https://stackoverflow.com/questions/9445489/performing-http-requests-with-curl-using-proxy

@antithing
Copy link
Author

Ah it was my firewall at the office. Another machine has it installing now. Thanks again! One more question... Is there any example / demo floating around to show how to use cartographer on windows, without ROS? If you could point me in the right direction to get started, it would be much appreciated.

@anitaHey
Copy link

anitaHey commented Oct 6, 2021

@antithing I also look for the direction to get started with using cartographer on windows, without ROS. Is there any experience can share? Thank you so much!

@wolfv
Copy link

wolfv commented Oct 6, 2021

Hey, you could try the packages from conda-forge – they are available on Windows as well: https://anaconda.org/conda-forge/cartographer

To install you need to use conda or mamba.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests