proton:raspi_setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
proton:raspi_setup [2016/06/18 07:39] – seth | proton:raspi_setup [2018/07/28 09:24] – seth | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ** Experimental | + | ** Compiling Proton |
- | These steps are what I use to compile stuff by copying things from my Windows computer. | + | As a base, I started with RetroPi on a Raspberry 3. |
- | Steps: | + | First install Proton and compile its RTPack utility: |
- | * Install linux tools for Windows, rsync and ssh should work from the command line | + | I ssh'ed in and did: |
- | * Setup a ssh key pair so you don't have to type passwords | + | |
- | * Edit SetupVars.bat | + | |
- | * Give the video card more memory on the pi. Run raspi-config and give it 128 or 256 (good for the pi3) | + | |
- | * Install cmake on the pi (sudo apt-get install cmake) | + | |
- | * Install SDL2 on the pi (sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev) | + | |
- | * Run CopyStuffToPi.bat. | + | |
- | * RTBareBones/ | + | |
+ | <code bash> | ||
+ | cd ~ | ||
+ | git clone https:// | ||
- | If you look at the RTBarebones/linux dir you'll see the CMakeLists.txt file autodetect | + | //Build proton' |
+ | cd ~/ | ||
+ | sh linux_compile.sh | ||
+ | </ | ||
+ | |||
+ | Now let's compile and run RTBareBones: | ||
+ | |||
+ | <code bash> | ||
+ | cd ~/ | ||
+ | sh linux_compile.sh | ||
+ | cd ../bin | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | If that worked, enjoy the spinning triangle and text stretching! | ||
+ | |||
+ | Now let's do RTSimpleApp, | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get libsdl2-mixer-dev | ||
+ | </code> | ||
+ | |||
+ | Great. | ||
+ | |||
+ | <code bash> | ||
+ | cd ~/ | ||
+ | sh linux_compile.sh | ||
+ | cd ../media | ||
+ | sh update_media.sh | ||
+ | cd ../bin | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | If that worked, enjoy the app. |
proton/raspi_setup.txt · Last modified: 2023/12/03 06:42 by seth