11-11-2020, 07:14 PM
(11-10-2020, 11:51 AM)gjoyet Wrote: Hi
I just started a PineTime developing project for college. I am quite new to programming and just kind of got thrown into that project without any help available, which means I am still quite lost at the moment.
I will get a physical PineTime to run my code on, but until then I read on the wiki FAQ that you can preview watch faces thanks to WebAssembly.
I followed every step on this site, which was linked to on the wiki: I forked the Pinetime repo and created the Github workflow as instructed. However, the action failed with following error every time it ran:
cp: cannot stat 'src/DisplayApp/Screens/Clock.cpp': No such file or directory
I tried to google that but did not get any wiser. What is the problem? The directory that the path above is pointing to is in my repo, there is no doubt about that (except that every directory actually starts with a lowercase letter, but I do not suppose that this is relevant?). So why was it not found?
Thanks in advance for any help
gjoyet
I also followed the instructions to preview watch faces and it worked for me. However, I forked the repository when it was 0.7.1. Since then there have been changes including changing the names of some of the directories, I don't know why. In my fork the directory is DisplayApp. In the current JF002 repository it is displayapp, all lower case. Similarly directory Screens is now screens. Clock.cpp is still Clock.cpp. If you change the action code appropriately it should work.
Hugh