VST3 regression

Hi guys,

Just wanted to let you know that getting the develop head and trying to build VST3 on Windows
will give me some cmake MSB3073 error related to Plugin ico and other xcopy stuff
Path looks good though some maybe a matter of slash / anti slash
Grabbing commit previous to VST3 mods fixes the issue

Thanks !

Are you using Projucer or CMake? Do you get the same issue if you clean the build folder first?

cmake.
Tried the clean build with no success

What about removing the build tree completely and re-configuring?

Could you paste the exact text of the error message? That might make it easier to diagnose the problem.

Some info on this.
This only happens to a Pace Fusion build of one of our product. Build with regular Pace wrapper do not exhibit the issue


C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: La commande
"setlocal [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: "C:\Program
Files\CMake\bin\cmake.exe" -E copy C:/Users/Olivier/code/Falcon/_build/Falcon_artefacts/JuceLibraryCode/icon.ico C:/Users/Olivier/code/Falcon/_build/Falco
n_artefacts/Protect/VST3/Falcon.vst3/Plugin.ico [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlev
el% neq 0 goto :cmEnd [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: attrib +s C:
/Users/Olivier/code/Falcon/_build/Falcon_artefacts/Protect/VST3/Falcon.vst3/desktop.ini [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlev
el% neq 0 goto :cmEnd [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: attrib +s C:
/Users/Olivier/code/Falcon/_build/Falcon_artefacts/Protect/VST3/Falcon.vst3 [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlev
el% neq 0 goto :cmEnd [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmEnd [C:\U
sers\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: endlocal & c
all :cmErrorLevel %errorlevel% & goto :cmDone [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmErrorLeve
l [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: exit /b %1 [
C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmDone [C:\
Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlev
el% neq 0 goto :VCEnd [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: setlocal [C:
\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: "C:\Program
Files\CMake\bin\cmake.exe" -E remove -f C:/Users/Olivier/code/Falcon/_build/Falcon_artefacts/Protect/VST3/Falcon.vst3/Contents/moduleinfo.json [C:\Users\O
livier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlev
el% neq 0 goto :cmEnd [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: "C:\Program
Files\CMake\bin\cmake.exe" -E make_directory C:/Users/Olivier/code/Falcon/_build/Falcon_artefacts/Protect/VST3/Falcon.vst3/Contents/Resources [C:\Users\Ol
ivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlev
el% neq 0 goto :cmEnd [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: Protect\juce
_vst3_helper.exe -create -version 2.8.6 -path C:/Users/Olivier/code/Falcon/_build/Falcon_artefacts/Protect/VST3/Falcon.vst3 -output C:/Users/Olivier/code/
Falcon/_build/Falcon_artefacts/Protect/VST3/Falcon.vst3/Contents/Resources/moduleinfo.json [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlev
el% neq 0 goto :cmEnd [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmEnd [C:\U
sers\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: endlocal & c
all :cmErrorLevel %errorlevel% & goto :cmDone [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmErrorLeve
l [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: exit /b %1 [
C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmDone [C:\
Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlev
el% neq 0 goto :VCEnd [C:\Users\Olivier\code\Falcon\_build\Falcon_VST3.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error 

Funny thing is C:/Users/Olivier/code/Falcon/_build/Falcon_artefacts/JuceLibraryCode/icon.ico and
C:/Users/Olivier/code/Falcon/_build/Falcon_artefacts/Protect/VST3/Falcon.vst3/Plugin.ico
does exists.

HTH

Apparently the ‘hidden’ attribute must be cleared before setting other attributes, including the system file attribute.

Is it possible that something is adjusting the attributes of the vst3 bundle before the call to attrib +s /path/to/Falcon_artefacts/Protect/VST3/Falcon.vst3?

What does attrib /path/to/Falcon_artefacts/Protect/VST3/Falcon.vst3 return? Are you able to run attrib +s /path/to/Falcon_artefacts/Protect/VST3/Falcon.vst3 successfully from a command prompt?

look like it’s already set

C:\Users\Olivier\code\Falcon>attrib C:\Users\Olivier\code\Falcon\_build\Falcon_artefacts\Protect\VST3/Falcon.vst3
   S                 C:\Users\Olivier\code\Falcon\_build\Falcon_artefacts\Protect\VST3\Falcon.vst3

And of course I can set it back

I wonder whether writing the moduleinfo.json is failing for some reason. At the moment, we attempt to load the plugin during the build so that we can query its IPluginCompatibility and write out a suitable moduleinfo.json.

My best guess is that loading the plugin during the build fails, perhaps because no suitable license is found.

Are you building locally, or on CI? If you’re building locally, does the build succeed if you have a product license available, e.g. from an iLok or iLok Cloud?

Locally with an iLok key plugged in with the required licence.

Is the moduleinfo.json present in the generated bundle?

file is here but empty content

Is this still a problem, or has this issue been resolved on develop?

I avoided the issue using
VST3_AUTO_MANIFEST FALSE
but I need to check if setting it to true will work as well with the trunk