Problem: Projucer doesn't properly add source files to the Visual Studio project, causing none of your code changes to compile.
Symptoms:
- Code changes don't appear in the plugin after rebuilding
- Old/grey UI shows instead of your new colors
- No logout buttons appear
Solution: The Makefile now automatically fixes this when you run make plugin or make plugin-project.
The fix-vcxproj.sh script runs after Projucer and adds all source files to the Visual Studio project.
If the automatic fix doesn't work:
- Open
plugin/Builds/VisualStudio2022/Sidechain_VST3.vcxproj - Find the empty
<ItemGroup/>near the end (around line 271) - Replace it with:
<ItemGroup>
<ClCompile Include="..\..\Source\PluginProcessor.cpp"/>
<ClCompile Include="..\..\Source\PluginEditor.cpp"/>
<ClCompile Include="..\..\Source\PostsFeedComponent.cpp"/>
<ClCompile Include="..\..\Source\ProfileSetupComponent.cpp"/>
<ClCompile Include="..\..\Source\AudioCapture.cpp"/>
<ClCompile Include="..\..\Source\NetworkClient.cpp"/>
<ClInclude Include="..\..\Source\PluginProcessor.h"/>
<ClInclude Include="..\..\Source\PluginEditor.h"/>
<ClInclude Include="..\..\Source\PostsFeedComponent.h"/>
<ClInclude Include="..\..\Source\ProfileSetupComponent.h"/>
<ClInclude Include="..\..\Source\AudioCapture.h"/>
<ClInclude Include="..\..\Source\NetworkClient.h"/>
</ItemGroup>make plugin-install # This automatically runs the fix- Add the file to
plugin/Source/ - Open
plugin/Sidechain.jucerin Projucer GUI - Add the file to the project in the File Explorer pane
- Save the project
- Run
make plugin- the fix script will automatically add it to the VS project - Rebuild
JUCE/Projucer has a bug where it generates an empty <ItemGroup/> in the vcxproj instead of populating it with source files. This is a known issue with certain JUCE project configurations.