Juce\modules\juce_audio_formats\codecs\win_utf8_io.h

Hi, I’m trying to build my juce project (vst3) using latest juce with projucer, windows 11 and visual studio 2022.
This file gives me problems:
Juce\modules\juce_audio_formats\codecs\win_utf8_io.h

It builds - but with errors.

Opening the file shows errors - functions not defined.

Does anyone know how to fix this?

I tried comment out the code in utf8 - and then my project build without problems.

The file that’s giving you problems could be modules/juce_audio_formats/codecs/flac/win_utf8_io.h, which was removed recently in commit 372290d. Projects were only resaved in commit d05333b, so it’s best to use the current develop.

You may have to resave your project with the Projucer to make sure it doesn’t depend on the deleted file.

Also, if you are updating JUCE using git, please make sure that your JUCE directory is clean, to ensure that no source file tries to include win_utf8_io.h.

Thanks. I can see that the file is deleted in develop branch - I’ll use that.