I'd like to give it a try to develop for the playdate with C. But being a C noob, I struggle with even getting a basic hello world in main.c running (..PlaydateSDK\C_API\Examples\Hello World)
I've followed along the documentation and gave it a try with Clion:
But clion doesn't seem to know the "platform", I've got the error:
CMake Error at C:/Users/haas/Documents/PlaydateSDK/C_API/buildsupport/playdate_game.cmake:68 (message):
Platform not supported!
And I could solved the last part with adding the path to the simulator, I didn't understand where to add it.
I could run the cmake to build without errors throught the "x64 Native Tools Command Prompt for VS 2019" and open it with the visual studio 2019:
When opened in visual studio and trying to run it (default run config: Debug, x64 and "local windows debugger") I'm getting an access denied error.
Do I need to create a run config for the playdate simluator?
I've had a look at the old thread:
At the end says, one should use the Inside Playdate with C for setup. But I lack the pre-required knowledge.
So yeah, it would be great to have a beginner friendly guide to setup the playdate to code with C (on Windows).
Also here are some templates (which I couldn't get any to run ):
https://github.com/MattouBatou/playdate-c-game-template/tree/main