installing CPCtelera on WSL

Ғылым және технология

install cpctelera on windows with debian running under Windows Subsystem for Linux...
we'll start by installing WSL
the easiest way to get to the settings is through the old control panel,
just search in it the search bar and open it up.. (change view by: from category to small icons)
click on progams and features
click Turn Windows features on and off
scroll to the bottom and tick: Windows Subsystem for linux
once installed it will ask to reboot.. do that!...
once your back on your desktop
open a command prompt (cmd from search)
type: wsl -l -o
it will show a list of all available distros you can install directly (others can be installed manually)
i like debian from using it with raspberry pi, so this is what im going to install...
type: wsl -i Debian
it will got through the download and once its done it will as for username (in lowercase!) and password for the new linux install
and thats it WSL and Debian are installed...
you can access it directly from the start menus Debian entry (or you can setup Windows Terminal like i have)
first we want to make sure debian is all up to date, open the debian shell...
type: sudo apt-get update
it will ask for the password, then let it do its thing..
once thats finished
type: sudo apt-get upgrade
and let it do its thing..
now debian is all upto date
ok so now we want to install Cpctelera into this debian install...
we need to install the dependancies for cpctelera,
type: sudo apt-get install gcc g++ make bison flex mono-complete libboost-dev libfreeimage-dev wget unzip git
once thats done we are ready to clone the cpctelera git....
type: git clone github.com/lronaldo/cpctelera
this will download cpctelera into the linux home folder (where you should be currently!)
ok now we want to setup and compile it...
first we need to change to the cpctelera directory..
type: cd cpctelera
now we can run the setup...
type: ./setup.sh
it will check all the dependancies and compile itself for your system...
once its done youre all ready to go...
you can open the folder in windows, from linux with..
explorer.exe . (dont forget the dot! to open the current folder youre in!)
from there.. you can edit the files with normal windows tools.. (eg notepad++ or your fav editor)
you can also use the dsk files from here to run in your favourate emulator...
if we want to start a new project, at the linux shell...
type: cpct_mkproject [project_folder] (where [project_folder] is the name of a new folder you wish to create with starting source code, ill call mine 'test')
now when you want to compile your new project, change to its folder (cd test)
type: make
it will compile your source and build a dsk in the same folder ready for emulator or real machine

Пікірлер: 6

  • @gamerps123
    @gamerps12310 ай бұрын

    sent here via Computer Booter you have gained a new sub sir

  • @WacKEDmaN

    @WacKEDmaN

    10 ай бұрын

    cool..thanks mate!

  • @marktoo9454
    @marktoo945411 ай бұрын

    Hi wacked...Good video bro...

  • @marktoo9454
    @marktoo945411 ай бұрын

    Now get to sleep bro...

  • @WacKEDmaN

    @WacKEDmaN

    11 ай бұрын

    i wish!.. fell asleep yesterday watchin Ace!..woke up like 9pm SMH

  • @marktoo9454

    @marktoo9454

    11 ай бұрын

    @@WacKEDmaN Well we got a lucky wacked thats sleeps folks.. u a**hole.. lol

Келесі