Hi, I installed SDK 2.0 beta and would like upgrade my Zig template for Playdate to work on firmware version 2.0. However pdc is now giving me an error: error: compress failed: buffer is empty.
This is the pdc command I am running pdc --skip-unknown zig-out/Source zig-out/example.pdx. The contents of zig-out/Source: is
$ ls zig-out/Source
pdex.dylib pdex.elf pdxinfo playdate_image.png
Any ideas on what is causing this error? I updated the linker.ld file to match the new linking format of the 2.0 ELF files. Apologies for tagging you here, @dave. But I feel you might have the most insight here.
I installed zig 0.10.1 (on the Mac via brew) and the example project built without an issue using the build.0.10.1.zig build file. Any chance the build.zig file has some-sort of error?
Also, one thing to note, is that if I run pdc manually I get the same error. So I doubt this has anything to do with the build system, and more to do with the contents to the Source folder, or the installation of pdc iteslf. Is it possible you could send the contents of your zig-out/Source folder so I can compare?