Oxey405
(Oxey405)
April 21, 2022, 5:51pm
1
Hello ! I wanted really bad to start playing around with playdate SDK tools but I can't even get it to work !
What I did :
I set the env. variables
I boot up VS code
I open an integrated PowerShell terminal
I type "pdc"
I get the error : "pdc: term "pdc" not found or not recognized as a command applet name, function or script or program file"
It's really annoying cuz I don't get what's going wrong !
timhei
April 21, 2022, 6:22pm
2
It sounds like you haven't set up the Path properly. You should set up your PLAYDATE_SDK_PATH to C:\Users\username\Documents\PlaydateSDK
and add C:\Users\username\Documents\PlaydateSDK\bin
to your Path
variable.
This is a basic beginners tutorial for those that need help compiling Lua projects for Playdate on Windows. Essentially all you need to do is run the Playdate SDK file "pdc.exe" on your game folder that contains your "main.lua" file. However, this will not work correctly if you don't set up your System Environment Variables first. Here is a step by step guide on how to do it on Windows:
1. Hopefully you have already installed the Playdate SDK . By default, the install path is "C:\Users\username\…
1 Like
Oxey405
(Oxey405)
April 21, 2022, 6:37pm
3
Thanks ! I tried to put it in Path but without the \bin after the SDK path