Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 2.05 KB

Readme how to install in windows way2.rst

File metadata and controls

74 lines (49 loc) · 2.05 KB

HOW TO INSTALL WHICH WINDOWS WAY 2

We are going to use ubuntu bash on windows

Settings -> Update & security -> For developers, and activate "Developer mode"

Turn Windows Features on or off

& C:\Windows\System32\OptionalFeatures.exe

Activate "Windows Subsystem for Linux"

Wait for the download

Try to open the "Windows PowerShell(Admin)" and type "bash" if don't work, download "Ubuntu" from "Microsoft Store". Wait for the dowload, and open the "Windows PowerShell(Admin)" and type "bash"; (if don't work restart computer...)

Download 42 Put 42 folder in C:

or open a terminal:

& bash
& sudo apt install git
& git clone https://github.com/Eloypripan/42.git
& sudo apt update
& exit
& exit

Instal Xming on windows

(Restart computer)

Open terminal

& bash
& sudo apt update
& sudo apt-get install vim-gtk
& sudo apt install gcc
& DISPLAY=:1 gvim #check that opens a xming display window
& sudo apt-cache search glut
& sudo apt-get install freeglut3-dev
& cd 42 #use the route where 42 folder is install
& make
& DISPLAY=:1 ./42 #execute the 42

REFERENCES:

Ubuntu bash on windows

How to Run Graphical Linux Desktop Applications from Windows 10’s Bash Shell

Open GL Glut libraries

AUTHOR:

Eloy Pieto Panadero

Github: @Eloypripan

Twiter: @eloypripan

Instagram: @eloypripan

Facebook: @Eloy Prieto Panadero

Creative Commons License: https://creativecommons.org/licenses/by-sa/4.0/