Help using C with SDK on Visual Studio

,

Firstly, sorry if my english is bad, im spanish.

So, the problem is im new to Playdate. I want to make a game and use C but i have no clue of how to get it working, i've seen a lot of threads and forums about it but i can't do it. I need a user friendly guide because every other thread i've seen does complex things i have no idea about.
In conclusion, i need a step-by-step guide on how to get it working.
Also, i've managed to almost do it with this post, C template / setup on Windows 2023 - #6 by joyrider3774 but i get an error in the step 16-17:
CMake Error at CMakeLists.txt:20 (message):
SDK Path not found; set ENV value PLAYDATE_SDK_PATH

-- Configuring incomplete, errors occurred!

And my PLAYDATE_SDK_PATH has the correct directory to the PlaydateSDK folder

Thank you.

You need to do this.

Please follow all the steps exactly in the Building on Windows section of Inside Playdate with C and you'll be up and running in no time.

If you have the environment variable set, you need to make sure you're using the Visual Studio Developer CLI so it picks up the shell variable.

Could we do a discord call or a google meet or something? I really dont unedrstand the guide

I would recommend re-reading the guide and asking any questions you have on the Playdate Squad Discord in the dev/C group.

Okay, thank you willco

A quick follow up, the guide you followed isn't the easiest way to do things. I strongly recommend following the guide in Inside Playdate with C.

1 Like