I haven't used a unix based OS in the last 20 years, so on top of being very rusty, I'm new to the whole package getting/updating through the internet. I used an already old X11 terminal back at my university between 2000-2002 and just did the bare minimum to compile my C physics code.
As an entry point to testing out the x16 emulator, I started watching SlithyMatt's excellent youtube series and followed the readme instructions on his repo here: https://github.com/SlithyMatt/x16-assembly-tutorial Note that I'm using a Win10 machine.
1) I installed cygwin with these packages ticked in during setup: git, gcc-core and make. I suspect that at this step, something needs to be done with SDL2 as well, as I hit a brick wall down below.
2) I went with symbolic links within cygwin rather than win10 path environment variables
3) I successfully git cloned, then compiled cc65, the x16 rom (I got a complain about not finding ld65.exe during that step, but I added the symbolic link to it as well, which made it work), but not the x16 emulator
4) Compiling the emulator gets me:
Quote
In file included from cpu/fake6502.c:107:
cpu/../debugger.h:15:10: fatal error: SDL.h: No such file or directory
15 | #include <SDL.h>
which leads me to think I'm not getting something fundamental with installing the SDL2 source within cygwin, a step for which most of you wouldn't bat an eye, but which baffles this mostly MS-DOS veteran.
I know I can download the emulator binary and rom and just forget about this step - though it's useful to constantly refresh versions with git. I know I can run code in the web emulator, but I want to understand where I'm going wrong and fix it, this will increase my unix knowledge and maybe help me elsewhere (ie raspbian on my pi3).