「VST サンプルファイルのビルド方法」の版間の差分

提供:yonewiki
編集の要約なし
編集の要約なし
25行目: 25行目:




<syntaxhigilight lang="bash">
<syntaxhigilight lang="text">
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.36.32532.0
-- The C compiler identification is MSVC 19.36.32532.0

2023年6月9日 (金) 15:29時点における版

VSTeプログラミング初歩に戻る。

(プラグイン開発)概要

 VSTSDKについてくるサンプルプロジェクトのビルド方法を以下に示します。


1. C:\(任意のフォルダ)\VST_SDK\vst3sdk\に build というフォルダを作ります。名前は好きな名前でいいです。以降で登場するbuildという文字列を自身が決めた名称に置き換えて考えて下さい。


2. コマンドプロンプトをVisual Studioのメニューから起動します。[ツール]-[コマンドライン]-[開発者コマンドプロンプト]を選択します。


3. 起動したコマンドプロンプトでカレントディレクトリをbuildフォルダに合わせます。 <syntaxhigilight lang="bash"> cd "C:\(任意のフォルダ)\VST_SDK\vst3sdk\build" </syntaxhighlight>


4.以下のコマンドを実行します。Visual Studioのバージョンによっては-Gオプションの内容に変更が必要です。 <syntaxhigilight lang="bash"> cmake -G"Visual Studio 17 2022" ..\ </syntaxhighlight>


 この操作によって以下のような結果を得ることができます。


<syntaxhigilight lang="text"> -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045. -- The C compiler identification is MSVC 19.36.32532.0 -- The CXX compiler identification is MSVC 19.36.32532.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/(任意 *規定値はProgram Files)/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: (任意 *規定値はProgram Files)/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- [SMTG] SMTG_VSTGUI_SOURCE_DIR is set to: C:/(任意)/VST_SDK/vst3sdk/vstgui4 -- Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR) -- VSTGUI will use the embedded Expat package! -- [SMTG] SMTG_AAX_SDK_PATH is not set. If you need it, please download the AAX SDK! -- [SMTG] SMTG_JACK_SDK_PATH is not set. If you need it, please download the JACK SDK! -- Could NOT find LIBJACK (missing: LIBJACK_LIBRARY LIBJACK_INCLUDE_DIR) -- [SMTG] LIBJACK_FOUND is not set. If you need it, please install Jack Audio from http://www.jackaudio.org! -- Performing Test SMTG_USE_STDATOMIC_H -- Performing Test SMTG_USE_STDATOMIC_H - Failed -- [SMTG] Setup running moduleinfotool for adelay -- [SMTG] Setup running validator for adelay -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for again -- [SMTG] Setup running validator for again -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for againsimple -- [SMTG] Setup running validator for againsimple -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for again-sampleaccurate -- [SMTG] Setup running validator for again-sampleaccurate -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for channelcontext -- [SMTG] Setup running validator for channelcontext -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for hostchecker -- [SMTG] Setup running validator for hostchecker -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for legacymidiccout -- [SMTG] Setup running validator for legacymidiccout -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for mda-vst3 -- [SMTG] Setup running validator for mda-vst3 -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for multiple-program-changes -- [SMTG] Setup running validator for multiple-program-changes -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for noteexpressionsynth -- [SMTG] Setup running validator for noteexpressionsynth -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for noteexpressiontext -- [SMTG] Setup running validator for noteexpressiontext -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for panner -- [SMTG] Setup running validator for panner -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for pitchnames -- [SMTG] Setup running validator for pitchnames -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for prefetchable -- [SMTG] Setup running validator for prefetchable -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for programchange -- [SMTG] Setup running validator for programchange -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- [SMTG] Setup running moduleinfotool for syncdelay -- [SMTG] Setup running validator for syncdelay -- [SMTG] SMTG_PLUGIN_TARGET_PATH is set to: C:\Users\(ユーザID)\AppData\Local\Programs\Common\VST3 -- Configuring done (76.2s) -- Generating done (5.1s) -- Build files have been written to: C:/(任意)/VST_SDK/vst3sdk/build </syntaxhighlight>

 

VSTeプログラミング初歩に戻る。