<commit_before># How to compile and execute Zcoin code on Windows 10

There are two possibilities of compiling Zcoin code on Windows 10.
 Both of them are based on using [WSL/Ubuntu](https://msdn.microsoft.com/en-us/commandline/wsl/install_guide).
 The main difference is in execution, using first method you will get .exe files, otherwise you need to use [Xming](http://www.straightrunning.com/XmingNotes/) to start **GUI**.
 
 **We are recommending to use first method**.

 Prerequisites:
 
 * Windows 10 x64
 * [WSL/Ubuntu](https://msdn.microsoft.com/en-us/commandline/wsl/install_guide) installed
---
For second possible execution method, but more complex,  you need to install
 * [Xming](http://www.straightrunning.com/XmingNotes/) latest version, if you are planning to compile using [unix compiling instruction](https://github.com/zcoinofficial/zcoin/blob/master/doc/build-unix.md)


## Pre common steps

1. Launch Ubuntu shell (search for Bash in the "Type here to search" box)
2. Upgrade outdated packages. This applies even if you just installed WSL.
      

      sudo apt-get update
      sudo apt-get dist-upgrade
      sudo apt-get autoremove
3.   Install build tools 

        sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils git

4. Make shared folder between two words

    Generally it's OK to read these files from generic Windows app, but Unix file permissions are stored in extended
    attributes which are not properly updated by usual applications. For example if you create a file/directory inside
    WSL subsystem from Explorer it won't be visible by WSL program.

    **To share files between two worlds** we need to create a directory for repository in your Windows home directory
    and then create a link from the WSL to it:

    * From Explorer create a directory named:

            C:\Users\<username>\zcoin
    * From Ubuntu bash window create a link to it:
  
            ln -s /mnt/c/Users/<username>/zcoin zcoin   
    
    After creating link, please check that linked directory has blue font color, which means, that is was successfully linked. Otherwise check path symbols. Error can be cause spaces, uppercase symbols e.t.c...<commit_msg>Formatting fixes<commit_after># How to compile and execute Zcoin code on Windows 10

There are two possibilities of compiling Zcoin code on Windows 10.
 Both of them are based on using [WSL/Ubuntu](https://msdn.microsoft.com/en-us/commandline/wsl/install_guide).
 The main difference is in execution, using first method you will get .exe files, otherwise you need to use [Xming](http://www.straightrunning.com/XmingNotes/) to start **GUI**.
 
 **We are recommending to use first method**.

 Prerequisites:
 
 * Windows 10 x64
 * [WSL/Ubuntu](https://msdn.microsoft.com/en-us/commandline/wsl/install_guide) installed
---
For second possible execution method, but more complex,  you need to install
 * [Xming](http://www.straightrunning.com/XmingNotes/) latest version, if you are planning to compile using [unix compiling instruction](https://github.com/zcoinofficial/zcoin/blob/master/doc/build-unix.md)


## Pre common steps

1. Launch Ubuntu shell (search for Bash in the "Type here to search" box)
2. Upgrade outdated packages. This applies even if you just installed WSL.
      
```
  sudo apt-get update
  sudo apt-get dist-upgrade
  sudo apt-get autoremove
```
3.   Install build tools 

        `sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils git`

4. Make shared folder between two words

    Generally it's OK to read these files from generic Windows app, but Unix file permissions are stored in extended
    attributes which are not properly updated by usual applications. For example if you create a file/directory inside
    WSL subsystem from Explorer it won't be visible by WSL program.

    **To share files between two worlds** we need to create a directory for repository in your Windows home directory
    and then create a link from the WSL to it:

    * From Explorer create a directory named:

            C:\Users\<username>\zcoin
    * From Ubuntu bash window create a link to it:
  
            ln -s /mnt/c/Users/<username>/zcoin zcoin   
    
    After creating link, please check that linked directory has blue font color, which means, that is was successfully linked. Otherwise check path symbols. Error can be cause spaces, uppercase symbols e.t.c...
{'fraction_non_alphanumeric': 0.07239208633093525, 'fraction_numerical': 0.00539568345323741, 'mean_word_length': 3.5444330949948926, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2725388', 'n_tokens_mistral': 1277, 'n_tokens_neox': 1150, 'n_words': 554}