Friday, July 10, 2020

setting the machine PART 2

Now that we have a machine to work,we need the programming tools in it.

Don't forget that, from now on, we are using only the virtual machine (for the code part). Unless otherwise stated, follow the instructions inside there.

In this step, we are going to set up the VitaSDK tools or the DolceSDK tools. For that, we are following their linux guide (because that is the OS we chose to work in).

Clarification: in this guide, we will be installing the VitaSDK tools, but the proccess is the same for both.

To do that, we have to open a terminal in our system, and type the commands they give us.

    Note: the indepth of what is going on (in this commands) is clearly written in their page, that is why we are not explaining them. You can, and should, read that there, if you need to.

Remember that here, the order is important:

# prerequisites:

apt-get install make git-core cmake python

# installing the actual VITASDK:

export VITASDK=/usr/local/vitasdk
export PATH=$VITASDK/bin:$PATH # add vitasdk tool to $PATH

# our OS didn't come with curl,but we are going to need it for the next step, so...
sudo apt install curl
# SDK installing commands
git clone https://github.com/vitasdk/vdpm
cd vdpm
./bootstrap-vitasdk.sh
./install-all.sh

After this, if everything is correct, we should have everything ready. 
The machine and the sdk should be installed and runing correctly.

We can check that, because we have now a file with the name vdpm in our VM home.


Clarification: this just gives you the SDK base, you need to "update it" the first time. With this, you will get the samples and any other required extra file.

Now, with vitasdk installed and in your PATH, just run vitasdk-update to get the latest toolchain build.

End note: you should have the sample folder inside vdpm, if you don't have it, you can just download it from their github https://github.com/vitasdk/samples/archive/master.zip and copy it yourself.


No comments:

Post a Comment