teensy-variable-playback icon indicating copy to clipboard operation
teensy-variable-playback copied to clipboard

Errors/Unable to compile after updating to V1.1 from V1.0.16

Open Cardinen opened this issue 9 months ago • 2 comments

Hello, after upgrading the library from V1.0.16 to V1.1 i'm not able to compile anymore with Teensyduino (1.57) and Teensy 4.1.

There seems to be an error in the file ResamplingReader.h .

This is the error i get: error: array must be initialized with a brace-enclosed initializer

at this line: ResamplingReader() { }

ps. Love this library, hope someone help me

Thank you!

Cardinen avatar May 10 '25 13:05 Cardinen

Can you give us some context? Is that line in your code or the library? The best thing to do is stick on the version that works - it’s unlikely there’s any features in 1.1 that you’ll need

newdigate avatar May 10 '25 18:05 newdigate

Ok sorry, I'm not a code expert. Teensyduino updated my library and since then I have compilation errors in old projects using that library. I ran the compile error through AI and it suggested that the error is in that line in the file ResamplingReader.h . He also suggested me to report the error here, that's why I did it. I've now reverted back to the previous version

Cardinen avatar May 12 '25 11:05 Cardinen