Cannot build AudioPluginHost JUCE 8.0.11 and MVS 2022

I appear to be having linker errors when trying to build the AudioPluginHost that’s included with Juce 8.0.11 on a Windows 11 computer with Visual Studio 2022. I get multiple LINK2005 errors saying the symbols are already defined in include_juce_audio_processors_headless_lb2_libs.obj

I can build the default Hello World vst3 with no issues.

Did I miss something obvious? Thanks in advance.

See screenshot here:

Can you give some more details, for example are you using CMake or Projucer to generate the project, or are you using the pre-generated Visual Studio 2022 project included in the repo?

I am using the *.jucer file to generate the project to VS 2022.

I didn’t clone the repository, I used the pre-built zip file, although I wonder if I did something wrong during extraction.

I can try a clean extraction as well.

In the download there should already be a VS2022 solution located at extras/AudioPluginHost/Builds/VisualStudio2022/AudioPluginHost.sln could you see if are seeing the same issue in that solution from a fresh download please.

That appears to have worked. Do you want me to attempt to recreate the problem with the projucer-exported project?

It would be useful to confirm if you can reproduce the issue with a fresh clone of JUCE, and what steps you took to reproduce it.

Well, for the life of me, I cannot seem to recreate the problem. Thanks for the help and your time.

For future people looking into this and find this thread: try a completely refreshed (remove everything, then clone) repository.