Skip to content

Commit

Permalink
[Mod] The VST SDK is no longer required to build OpenMPT with VST sup…
Browse files Browse the repository at this point in the history
…port. A new header based on an independent clean-room implementation is used instead.

[Mod] OpenMPT: Version is now 1.28.00.26

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@10540 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Jul 6, 2018
1 parent 1997027 commit 32e61ea
Show file tree
Hide file tree
Showing 91 changed files with 1,692 additions and 908 deletions.
37 changes: 9 additions & 28 deletions README.md
Expand Up @@ -36,46 +36,27 @@ How to compile
selected explicitly during setup). In order to build OpenMPT for Windows XP,
the XP targetting toolset also needs to be installed.

- The VST and ASIO SDKs are needed for compiling with VST and ASIO support.
- The ASIO SDK is needed for compiling with ASIO support.

If you don't want this, uncomment `#define NO_VST` and comment out
`#define MPT_WITH_ASIO` in the file `common/BuildSettings.h`.
If you don't want this, comment out `#define MPT_WITH_ASIO` in the file
`common/BuildSettings.h`.

The ASIO and VST SDKs can be downloaded automatically on Windows 7 or later
The ASIO SDK can be downloaded automatically on Windows 7 or later
with 7-Zip installed by just running the `build/download_externals.cmd`
script.

If you do not want to or cannot use this script, you may follow these manual
steps instead:

- ASIO:

If you use `#define MPT_WITH_ASIO`, you will need to put the ASIO SDK in
the `include/ASIOSDK2` folder. The top level directory of the SDK is
already named `ASIOSDK2`, so simply move that directory in the include
folder.

Please visit
- Visit
[steinberg.net](https://www.steinberg.net/en/company/developers.html) to
download the SDK.

- VST:

If you don't use `#define NO_VST`, you will need to put the VST SDK in
the `include/vstsdk2.4` folder.

Simply copy all files from the `VST3 SDK` folder in the SDK .zip file to
`include/vstsdk2.4/`.

Note: OpenMPT makes use of the VST 2.4 specification only. The VST3 SDK
still contains all necessary files in the right locations. If you still
have the old VST 2.4 SDK laying around, this should also work fine.

Please visit
[steinberg.net](https://www.steinberg.net/en/company/developers.html) to
download the SDK.
- Put the ASIO SDK in the `include/ASIOSDK2` folder. The top level
directory of the SDK is already named `ASIOSDK2`, so simply move that
directory in the include folder.

If you need further help with the VST and ASIO SDKs, get in touch with the
If you need further help with the ASIO SDK, get in touch with the
main OpenMPT developers.

- 7-Zip is required to be installed in the default path in order to build the
Expand Down
3 changes: 0 additions & 3 deletions build/download_externals.cmd
Expand Up @@ -75,9 +75,6 @@ call :download_and_unpack "xmplay" "https://www.un4seen.com/files/xmp-sdk.zip

call :download_and_unpack "ASIOSDK2" "https://www.steinberg.net/sdk_downloads/asiosdk2.3.zip" "asiosdk2.3.zip" "ASIOSDK2.3" "-" || goto error

call :download_and_unpack "vstsdk2.4" "https://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip" "vstsdk367_03_03_2017_build_352.zip" "VST_SDK\VST2_SDK" "-" || goto error
rmdir /s /q include\VST_SDK || goto error

call :download_and_unpack "htmlhelp" "https://download.microsoft.com/download/0/A/9/0A939EF6-E31C-430F-A3DF-DFAE7960D564/htmlhelp.exe" "htmlhelp.exe" "." "-" || goto error

goto ok
Expand Down
1 change: 0 additions & 1 deletion build/vcpkg/libopenmpt.vcxproj
Expand Up @@ -492,7 +492,6 @@
<ClInclude Include="..\..\soundlib\plugins\LFOPlugin.h" />
<ClInclude Include="..\..\soundlib\plugins\OpCodes.h" />
<ClInclude Include="..\..\soundlib\plugins\PlugInterface.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginEventQueue.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginManager.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginMixBuffer.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginStructs.h" />
Expand Down
3 changes: 0 additions & 3 deletions build/vcpkg/libopenmpt.vcxproj.filters
Expand Up @@ -342,9 +342,6 @@
<ClInclude Include="..\..\soundlib\plugins\PlugInterface.h">
<Filter>soundlib\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\soundlib\plugins\PluginEventQueue.h">
<Filter>soundlib\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\soundlib\plugins\PluginManager.h">
<Filter>soundlib\plugins</Filter>
</ClInclude>
Expand Down
3 changes: 2 additions & 1 deletion build/vs2015/OpenMPT-ANSI.vcxproj
Expand Up @@ -957,6 +957,8 @@
<ClInclude Include="..\..\mptrack\plugins\LFOPluginEditor.h" />
<ClInclude Include="..\..\mptrack\plugins\MidiInOut.h" />
<ClInclude Include="..\..\mptrack\plugins\MidiInOutEditor.h" />
<ClInclude Include="..\..\mptrack\plugins\VstDefinitions.h" />
<ClInclude Include="..\..\mptrack\plugins\VstEventQueue.h" />
<ClInclude Include="..\..\mptrack\resource.h" />
<ClInclude Include="..\..\mptrack\tuningRatioMapWnd.h" />
<ClInclude Include="..\..\mptrack\view_com.h" />
Expand Down Expand Up @@ -1033,7 +1035,6 @@
<ClInclude Include="..\..\soundlib\plugins\LFOPlugin.h" />
<ClInclude Include="..\..\soundlib\plugins\OpCodes.h" />
<ClInclude Include="..\..\soundlib\plugins\PlugInterface.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginEventQueue.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginManager.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginMixBuffer.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginStructs.h" />
Expand Down
9 changes: 6 additions & 3 deletions build/vs2015/OpenMPT-ANSI.vcxproj.filters
Expand Up @@ -465,6 +465,12 @@
<ClInclude Include="..\..\mptrack\plugins\MidiInOutEditor.h">
<Filter>mptrack\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\mptrack\plugins\VstDefinitions.h">
<Filter>mptrack\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\mptrack\plugins\VstEventQueue.h">
<Filter>mptrack\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\mptrack\resource.h">
<Filter>mptrack</Filter>
</ClInclude>
Expand Down Expand Up @@ -693,9 +699,6 @@
<ClInclude Include="..\..\soundlib\plugins\PlugInterface.h">
<Filter>soundlib\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\soundlib\plugins\PluginEventQueue.h">
<Filter>soundlib\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\soundlib\plugins\PluginManager.h">
<Filter>soundlib\plugins</Filter>
</ClInclude>
Expand Down
3 changes: 2 additions & 1 deletion build/vs2015/OpenMPT-UTF8.vcxproj
Expand Up @@ -957,6 +957,8 @@
<ClInclude Include="..\..\mptrack\plugins\LFOPluginEditor.h" />
<ClInclude Include="..\..\mptrack\plugins\MidiInOut.h" />
<ClInclude Include="..\..\mptrack\plugins\MidiInOutEditor.h" />
<ClInclude Include="..\..\mptrack\plugins\VstDefinitions.h" />
<ClInclude Include="..\..\mptrack\plugins\VstEventQueue.h" />
<ClInclude Include="..\..\mptrack\resource.h" />
<ClInclude Include="..\..\mptrack\tuningRatioMapWnd.h" />
<ClInclude Include="..\..\mptrack\view_com.h" />
Expand Down Expand Up @@ -1033,7 +1035,6 @@
<ClInclude Include="..\..\soundlib\plugins\LFOPlugin.h" />
<ClInclude Include="..\..\soundlib\plugins\OpCodes.h" />
<ClInclude Include="..\..\soundlib\plugins\PlugInterface.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginEventQueue.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginManager.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginMixBuffer.h" />
<ClInclude Include="..\..\soundlib\plugins\PluginStructs.h" />
Expand Down
9 changes: 6 additions & 3 deletions build/vs2015/OpenMPT-UTF8.vcxproj.filters
Expand Up @@ -465,6 +465,12 @@
<ClInclude Include="..\..\mptrack\plugins\MidiInOutEditor.h">
<Filter>mptrack\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\mptrack\plugins\VstDefinitions.h">
<Filter>mptrack\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\mptrack\plugins\VstEventQueue.h">
<Filter>mptrack\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\mptrack\resource.h">
<Filter>mptrack</Filter>
</ClInclude>
Expand Down Expand Up @@ -693,9 +699,6 @@
<ClInclude Include="..\..\soundlib\plugins\PlugInterface.h">
<Filter>soundlib\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\soundlib\plugins\PluginEventQueue.h">
<Filter>soundlib\plugins</Filter>
</ClInclude>
<ClInclude Include="..\..\soundlib\plugins\PluginManager.h">
<Filter>soundlib\plugins</Filter>
</ClInclude>
Expand Down

0 comments on commit 32e61ea

Please sign in to comment.