... | ... | @@ -4,10 +4,10 @@ LMGC90 was initially designed for a Unix system. To be able to build it on windo |
|
|
|
|
|
## By setting up Windows Subsystem Linux ##
|
|
|
|
|
|
The first thing is to install the ubuntu environment in Windows by following these instructions:
|
|
|
The first thing is to install a Unix environment in Windows by following these instructions:
|
|
|
* https://docs.microsoft.com/en-us/windows/wsl/install-win10
|
|
|
|
|
|
After installation be carefull to do:
|
|
|
After installation be careful to do (assuming you install Ubuntu):
|
|
|
```shell
|
|
|
apt update
|
|
|
apt full-upgrade
|
... | ... | @@ -20,12 +20,12 @@ Then you can, optionally install a graphical server for you subsystem using eith |
|
|
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0.0
|
|
|
export LIBGL_ALWAYS_INDIRECT=0
|
|
|
```
|
|
|
* [Xming](http://www.straightrunning.com/XmingNotes/) (for free)
|
|
|
* [Xming](http://www.straightrunning.com/XmingNotes/) (for free)
|
|
|
Here you'll need to add to the ~/.bashrc file
|
|
|
```
|
|
|
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0.0
|
|
|
```
|
|
|
* [X410](https://token2shell.com/x410/) (not free but more efficient)
|
|
|
* [X410](https://token2shell.com/x410/) (not free but more efficient)
|
|
|
Here you'll need to add to the ~/.bashrc file
|
|
|
```
|
|
|
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0.0
|
... | ... | |