I have never been exposed to this aspect before. I want to code a plug-in.
I follow this website github vst3sdk to build a vstsdk. Here I have two question:1: How to code this? 2. Then I find this VST3_Project_Generator.exe file in vst tutorials. This generate one is same to the github?
Then when I build follow the tutorials ,and I create a project. After I use IDE visual studio 2019 to build the sln file. In debug and release, I always get this Unable to start program’C:\Program Files/Steinberg/VST3PluginTestHost/VST3PluginTestHost.exe’ 系统找不到指定的路径
. The Chinese means
The system cannot find the specified path.
the output is
Build started...
1>------ Build started: Project: first, Configuration: Release x64 ------
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(477,5): warning MSB8004: Output Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.
1>first.vcxproj -> C:\Users\37631\AppData\Local\Programs\Common\VST3\first.vst3
1>[SMTG] Copy PlugIn.ico and desktop.ini and change their attributes.
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: The command "setlocal
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: "F:\Program Files\CMake\bin\cmake.exe" -E copy F:/vst3sdk-master/vst3sdk/cmake/modules/../templates/VST_Logo_Steinberg.ico C:/Users/37631/Downloads/first/first/build/VST3/Release/first.vst3/PlugIn.ico
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: "F:\Program Files\CMake\bin\cmake.exe" -E copy F:/vst3sdk-master/vst3sdk/cmake/modules/../templates/desktop.ini.in C:/Users/37631/Downloads/first/first/build/VST3/Release/first.vst3/desktop.ini
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: attrib +s C:/Users/37631/Downloads/first/first/build/VST3/Release/first.vst3/desktop.ini
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: attrib +s C:/Users/37631/Downloads/first/first/build/VST3/Release/first.vst3/PlugIn.ico
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: attrib +s C:/Users/37631/Downloads/first/first/build/VST3/Release/first.vst3
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmErrorLevel
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: exit /b %1
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmDone
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: setlocal
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: cd C:\Users\37631\Downloads\first\first\build\bin
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: C:
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: C:\Users\37631\Downloads\first\first\build\bin\Release\moduleinfotool.exe -create -version 1.0.0.0 -path C:/Users/37631/Downloads/first/first/build/VST3/Release/first.vst3 -output C:/Users/37631/Downloads/first/first/build/VST3/Release/first.vst3/Contents/moduleinfo.json
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmErrorLevel
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: exit /b %1
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmDone
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: setlocal
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: cd C:\Users\37631\Downloads\first\first\build\bin
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: C:
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: "F:\Program Files\CMake\bin\cmake.exe" -E echo [SMTG] Validator started...
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: C:\Users\37631\Downloads\first\first\build\bin\Release\validator.exe C:/Users/37631/Downloads/first/first/build/VST3/Release/first.vst3/Contents/x86_64-win/first.vst3
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: "F:\Program Files\CMake\bin\cmake.exe" -E echo [SMTG] Validator finished.
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmErrorLevel
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: exit /b %1
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmDone
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: setlocal
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: "F:\Program Files\CMake\bin\cmake.exe" -E echo [SMTG] Delete previous link...
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: "F:\Program Files\CMake\bin\cmake.exe" -E rm -rf C:/Users/37631/AppData/Local/Programs/Common/VST3/first.vst3
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: "F:\Program Files\CMake\bin\cmake.exe" -E echo [SMTG] Creation of the new link...
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: "F:\Program Files\CMake\bin\cmake.exe" -E create_symlink C:/Users/37631/Downloads/first/first/build/VST3/Release/first.vst3 C:/Users/37631/AppData/Local/Programs/Common/VST3/first.vst3
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: "F:\Program Files\CMake\bin\cmake.exe" -E echo [SMTG] Finished.
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmErrorLevel
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: exit /b %1
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :cmDone
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>F:\VisualStudio\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(153,5): error MSB3073: :VCEnd" exited with code 1.
1>Done building project "first.vcxproj" -- FAILED.
I use admin mode to start visual studio. So how to continue this project?
Thanks for your help!