Build Hugin with Windows Subsystem for Linux?

101 views
Skip to first unread message

Jeff

unread,
Jun 17, 2017, 9:45:59 PM6/17/17
to hugin and other free panoramic software
Has anyone tried to build Hugin using Windows 10's Windows Subsystem for Linux (https://msdn.microsoft.com/en-us/commandline/wsl/about)? Just curious to know if anyone has tried it before I embark on this experiment this weekend (maybe next weekend). And yes, you can run X11/GTK programs using one of the X11 Servers built for Windows (like XMing or VcXsrv). See: https://channel9.msdn.com/Blogs/WinCoder/XMING--Bash-on-Ubuntu-on-Windows--X11-Window-System-Running-from-Windows10-Subsystem-for-Linux.

Thanks!

Stefan Hoffmeister

unread,
Jun 23, 2017, 4:47:21 PM6/23/17
to hugin and other free panoramic software


On Sunday, June 18, 2017 at 3:45:59 AM UTC+2, Jeff wrote:
Has anyone tried to build Hugin using Windows 10's Windows Subsystem for Linux 

There is no need to build. Hugin for Linux ought to run on WSL exactly as it is released for Linux.

Steps (untested):
* install vcxsrv on Windows
* run vcxsrv
* install Windows Subsystem for Linux

Then within WSL
* sudo apt-get install hugin
* export DISPLAY=:0
* hugin

Case in point: That works for darktable (https://www.darktable.org/)

Jeff

unread,
Jun 26, 2017, 12:37:02 AM6/26/17
to hugin and other free panoramic software

On Sunday, June 18, 2017 at 3:45:59 AM UTC+2, Jeff wrote:
Has anyone tried to build Hugin using Windows 10's Windows Subsystem for Linux 

There is no need to build. Hugin for Linux ought to run on WSL exactly as it is released for Linux.

Steps (untested):
* install vcxsrv on Windows
* run vcxsrv
* install Windows Subsystem for Linux

Then within WSL
* sudo apt-get install hugin
* export DISPLAY=:0
* hugin
Very cool. I didn't think to try that first. I want to try to build Hugin in WSL because I want to compile it! I think it would be convenient to be able to build for Windows and Linux on the same machine without having to use a virtual machine. I should be able to check the code out in one folder, make changes in that folder, and then build it for Windows and Linux in different folders. 

Things were going along pretty well until I found out the version of WxWidgets available in WSL is 1.54--too old for the current build system. I ran out of time last weekend and was too busy this weekend. I'll try to get to it next weekend.


Case in point: That works for darktable (https://www.darktable.org/)

I've wanted to try darktable, thanks for sharing this info!
Reply all
Reply to author
Forward
0 new messages