[GRASS-dev] GRASS + WSL

Brad ReDacted brad.redacted at outlook.com
Wed Feb 23 01:56:31 PST 2022


Hello,

I've finally had a moment to look at my build log to see what went wrong for my WSL build of ximgview.

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.

I'm going to cc: the list because I'm not sure how to address this.


________________________________
From: Huidae Cho <grass4u at gmail.com>
Sent: Wednesday, February 16, 2022 7:03 AM
To: Brad ReDacted <brad.redacted at outlook.com>
Cc: grass-dev at lists.osgeo.org <grass-dev at lists.osgeo.org>
Subject: Re: [GRASS-dev] GRASS + WSL

Hi Brad,

I'm using GRASS under WSLackware (https://github.com/Mohsens22/WSLackware). For me, ximgview compiles fine. Maybe, it's a distribution issue?

Best,
Huidae

On Wed, Feb 2, 2022 at 2:57 PM Brad ReDacted <brad.redacted at outlook.com<mailto:brad.redacted at outlook.com>> wrote:
Hello,

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.

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.

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.

On Windows 10, you will need to run a separate middleware X Server to get the GUI working until the next release of WSL.

This may eventually replace the need for MinGW for the most recent releases of Windows. I look forward to running performance benchmarks.

It's linux, but it's on my Windows desktop! It's a bit surreal.

Best Regards,
-Brad
_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/grass-dev


--
Huidae Cho, Ph.D., GISP, /hidɛ<http://ipa-reader.xyz/?text=hid%C9%9B> t͡ɕo/, 조희대, 曺喜大
GRASS GIS Developer
https://idea.isnew.info/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20220223/18b314fc/attachment-0001.html>


More information about the grass-dev mailing list