Building ceres with Windows Subsystem for Linux

67 views
Skip to first unread message

arrigo

unread,
Jun 9, 2017, 2:48:35 PM6/9/17
to Ceres Solver
All,

like most Windows user I have always struggled to build Ceres, especially with suitesparse support. Recently I was able to build Ceres in the Windows Subsystem for Linux for Windows 10 (also known as Bash for Windows) and I have been very happy with the result. This is essentially an application and a device driver that translate all the linux kernel system calls into windows system calls. The actual coverage is not 100% but it seems that what you need to run gcc is working pretty well. The main advantage over an Ubuntu instance running in a Windows virtual machine is the much lower load to the OS.
If you want to know more you can find more details here:

https://msdn.microsoft.com/en-us/commandline/wsl/about

Disclaimer: I am a Microsoft employee ;)

Thanks ,

-Arrigo


Keir Mierle

unread,
Jun 9, 2017, 3:03:01 PM6/9/17
to ceres-...@googlegroups.com
Hi Arrigo,

This is great! Would you be willing to contribute to the Ceres documentation about this approach? None of the main Ceres authors use Windows regularly so that part of the documentation hasn't had the attention it deserves. We'd love to have a new section added to the official docs describing the WSL approach; this would help other users who have difficulty building on Windows.

Thanks,
Keir

--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/d3354075-1cb8-42c9-a1dd-0951f609d56a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages