<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I've finally had a moment to look at my build log to see what went wrong for my WSL build of ximgview.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
It took me a minute to figure out what was going on. Lots of "undefined reference" to X11 functions, but nowhere else in GRASS! Turns out gcc isn't very happy when you have "-L -lX11"... Removing the empty "-L" resolved the issue.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I'm going to cc: the list because I'm not sure how to address this.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div id="appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;"><b>From:</b> Huidae Cho <grass4u@gmail.com><br>
<b>Sent:</b> Wednesday, February 16, 2022 7:03 AM<br>
<b>To:</b> Brad ReDacted <brad.redacted@outlook.com><br>
<b>Cc:</b> grass-dev@lists.osgeo.org <grass-dev@lists.osgeo.org><br>
<b>Subject:</b> Re: [GRASS-dev] GRASS + WSL</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hi Brad,</div>
<div><br>
</div>
<div>I'm using GRASS under WSLackware (<a href="https://github.com/Mohsens22/WSLackware">https://github.com/Mohsens22/WSLackware</a>). For me, ximgview compiles fine. Maybe, it's a distribution issue?</div>
<div><br>
</div>
<div>Best,</div>
<div>Huidae<br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Wed, Feb 2, 2022 at 2:57 PM Brad ReDacted <<a href="mailto:brad.redacted@outlook.com">brad.redacted@outlook.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Hello,<br>
<br>
It was suggested to me that I report to the list that GRASS almost fully compiles and runs under Windows Subsystem for Linux (WSL). Everything compiles except ximgview.<br>
<br>
For those who do not know what WSL is, it is sort of a hidden VM layer addon for Windows with a custom kernel that allows Linux to run on Windows.<br>
<br>
I am using the Ubuntu WSL Preview on Windows 11 with WSL2. This combination gives me full GUI without needing to run a separate X Server. Graphics are accelerated (nvidia, in my case). I have not had a chance to test everything, yet, but it does look promising.<br>
<br>
On Windows 10, you will need to run a separate middleware X Server to get the GUI working until the next release of WSL.<br>
<br>
This may eventually replace the need for MinGW for the most recent releases of Windows. I look forward to running performance benchmarks.<br>
<br>
It's linux, but it's on my Windows desktop! It's a bit surreal.<br>
<br>
Best Regards,<br>
-Brad<br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr"><span>
<div>
<div dir="ltr">Huidae Cho, Ph.D., GISP, /<a href="http://ipa-reader.xyz/?text=hid%C9%9B" target="_blank">hidɛ</a> t͡ɕo/, 조희대, 曺喜大</div>
<div dir="ltr">GRASS GIS Developer</div>
<div><a href="https://idea.isnew.info/" target="_blank">https://idea.isnew.info/</a><br>
</div>
</div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>