Hey, so I'm on Arch Linux trying to get the C SDK working with the Hello Word example in CLion, and I'm very confused.
I installed the SDK from the AUR, and right off the bat it's pretty weird because it seems to have installed in both ~/.local/share/playdate-sdk AND /opt/playdate-sdk but the C_API folder is only in the latter. Anyway, I followed both the official instructions and this thread, but I'm stuck on importing the Hello World project in CLion. The API docs say this :
Open your project folder in CLion. It will detect the names of the Simulator and device targets automatically.
But this does not seem to be happening when I open the folder. I'm not even really sure what it means to be perfectly honest. What are targets ? Why is there a simulator and a device ? Then why do we only create a Device build configuration ?
Another problem I'm having is that the docs only explain where the simulator binaries are on MacOS. And then I'm not even sure what this :
Set the Program arguments to the path of the compiled pdx bundle. Use
^-F
to access a file picker.
means...
Thanks for any indication you might be able to give me. I'm sorry if all these are stupid questions; I've never used CLion or the SDK before.