Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Export to ASPiK from RACKAFX7
Avatar
frankthetank
Austria
Member
Members
August 12, 2019 - 5:49 am
Member Since: August 12, 2019
Forum Posts: 4
sp_UserOfflineSmall Offline

Hi everyone Cool

is anyone else having troubles with exporting a RACKAFX7 project to ASPiK/VST?
I tried to do so by downloading the IIRFilters RACKAFX project from the website's download folder.
Opening in RACKAFX7 and building in VS2017 succeeded (without changing anything). Afterwards I have clicked "Export ASPiK" in RACKAFX and I got the message, that the ASPiK project has been put to "/.../RackAFX 7.0\RackAFXProjects\IIRFilters\VST Files\iirfiltersVST"
(I have entered "iirfiltersVST" as plugin name). So far so good.
Then I opened a terminal window, changed directory to "/.../RackAFX 7.0\RackAFXProjects\IIRFilters\VST Files\iirfiltersVST\win_build", where I ran "cmake ../" (VS2017 is my default compiler). I received a lot of include errors from the terminal window, which I am going to paste at the end of the post.

I assume that I have to put up a ASPiK folder structure (as shown in the ASPiK tutorial videos) but especially for the IIRFilters project, am I right?
I already have the ASPiK SDK folders (including the VST-SDK), but at another location. And I can't just take the iirfiltersVST folder there and then cmake, because then I get a faulty path error. So far I have failed to set up the ASPiK-SDK inside the "VST Files" folder - is there a description how to do it correctly?

Thank you and kind regards,
Martin

CMake error log:

 

C:\Users\fin\AppData\Roaming\RackAFX 7.0\RackAFXProjects\IIRFilters\VST Files\iirfiltersVST\win_build>cmake ..\
-- --- Updated File: project_source/source/PluginKernel/plugindescription.h
--
-- ------> Starting VST Project Build:
-- VST SDK Location: C:/Users/fin/AppData/Roaming/RackAFX 7.0/RackAFXProjects/IIRFilters
--
CMake Error at cmake/vst_cmake/CMakeLists.txt:24 (include):
include could not find load file:

Global

CMake Error at cmake/vst_cmake/CMakeLists.txt:25 (include):
include could not find load file:

AddVST3Library

CMake Error at cmake/vst_cmake/CMakeLists.txt:26 (include):
include could not find load file:

Bundle

CMake Error at cmake/vst_cmake/CMakeLists.txt:27 (include):
include could not find load file:

ExportedSymbols

CMake Error at cmake/vst_cmake/CMakeLists.txt:28 (include):
include could not find load file:

PrefixHeader

CMake Error at cmake/vst_cmake/CMakeLists.txt:29 (include):
include could not find load file:

PlatformIOS

CMake Error at cmake/vst_cmake/CMakeLists.txt:30 (include):
include could not find load file:

PlatformToolset

CMake Error at cmake/vst_cmake/CMakeLists.txt:31 (include):
include could not find load file:

CoreAudioSupport

CMake Error at cmake/vst_cmake/CMakeLists.txt:32 (include):
include could not find load file:

AAXSupport

CMake Error at cmake/vst_cmake/CMakeLists.txt:33 (include):
include could not find load file:

VstGuiSupport

CMake Error at cmake/vst_cmake/CMakeLists.txt:34 (include):
include could not find load file:

UniversalBinary

CMake Error at cmake/vst_cmake/CMakeLists.txt:35 (include):
include could not find load file:

AddVST3Options

CMake Error at cmake/vst_cmake/CMakeLists.txt:59 (smtg_get_default_vst3_path):
Unknown CMake command "smtg_get_default_vst3_path".

-- Configuring incomplete, errors occurred!
See also "C:/Users/fin/AppData/Roaming/RackAFX 7.0/RackAFXProjects/IIRFilters/VST Files/iirfiltersVST/win_build/CMakeFiles/CMakeOutput.log".

Avatar
W Pirkle
Admin
August 13, 2019 - 1:01 pm
Member Since: January 29, 2017
Forum Posts: 352
sp_UserOfflineSmall Offline

The IIRFilters exported project needs to be located in the ../VST_SDK/VST3_SDK/myprojects folder; it uses the CMake modules from the VST3 SDK. All exported projects must ultimately reside in the proper SDK locations. This is documented in the ASPiK docs. 

http://aspikplugins.com/sdkdoc....._d_ks.html

- Will 

Avatar
frankthetank
Austria
Member
Members
August 14, 2019 - 1:55 am
Member Since: August 12, 2019
Forum Posts: 4
sp_UserOfflineSmall Offline

Hello Will,

thanks for your input and everything else so far Wink
I have managed to get a successful build by editing a few lines in the CMakeCache.txt after copying the exported plugin from the RACKAFX projects folder to my ASPiK-SDK directory.
I found it a little confusing, that the RACKAFX export and all the path variables are automatically set to ".../RackAFX 7.0/RackAFXProjects/IIRFilters/VST Files/"
but then different paths are needed for the CMake process.
After cmake I have built the new project in Visual Studio. In the compiler window the Test Suite succeeded (40 tests passed, 0 failed ... I guess that is the validator) and I have found the vst3-file in "...\iirfiltersVST\win_build\VST3\Debug\iirfiltersVST.vst3\Contents\x86-win\".
However if I move that file into my default Vstplugins folder, the plugin is not available in my DAW (Presonus Studio One).
Am I still missing anything?

Thank you,
Martin

Avatar
W Pirkle
Admin
August 14, 2019 - 8:11 am
Member Since: January 29, 2017
Forum Posts: 352
sp_UserOfflineSmall Offline

In RackAFX, you can set the Export path with View -> Preferences, and then you can export the project folder to wherever you wish, for example your VST3 SDK location. You should not need to alter any CMake files, but you do need to run CMake from the win_build or mac_build folder. 

And, yes VST3s are packaged as windows bundles (this is covered in my FX book) so the plugin is actually a folder. See the discussion here:

https://sdk.steinberg.net/viewtopic.php?f=4&t=630&p=1917&hilit=bundle#p1917

- Will

Avatar
frankthetank
Austria
Member
Members
August 14, 2019 - 9:19 am
Member Since: August 12, 2019
Forum Posts: 4
sp_UserOfflineSmall Offline

Hi Will,

thanks for the useful tip concerning the export path.
Unfortunately this doesn't solve my problem, that the IIRFilters plugin won't show up in my DAW - no matter if I put the bundle or the single vst3 file in my Vstplugins directory. I have already experienced the same problem in advance with the "VolumePluginI" from your Youtube tutorials.
Could this be related to a specific 32/64 bit setup? My DAW is x64.

Thank you & BR,
Martin

Avatar
W Pirkle
Admin
August 28, 2019 - 1:07 pm
Member Since: January 29, 2017
Forum Posts: 352
sp_UserOfflineSmall Offline

ASPiK only supports 64-bit plugins now (the APIs are all going there) and when you run CMake on the project for Windows, you include "Win64" in the command, which generates a 64-bit plugin. It will only work in 64-bit applications. 

I downloaded the IIRFilters project from the website, placed it in the /myprojects folder, and ran CMake on it with Visual Studio Community 2017 as the target. I built the VST3 and then moved the VST3 plugin (.vst3, which is actually a folder) into my C:/Program Files/Common Files/VST3 because this is the correct "default" folder for VST3 on Windows and my DAWs all point to this common folder. I used Reaper x64 and Presonus Studio One (x64). Both of them scanned my plugin folder and found the plugin, and both opened and ran the plugin. There was no need to extract it from the inner folder (which should be named x86_64-win). Here it is running in Studio One:

Image Enlarger

I noticed you referenced the inner file above as "x86-win" which is not correct for a 64-bit build. This happens if you leave out the Win64 component of the CMake command itself. And, looking at your CMake command in your first email, it looks like this is your problem. 

The proper CMake commands are here:

http://aspikplugins.com/sdkdoc.....nning.html

When I ran CMake without the proper Win64 component, it built the 32-bit plugin, which is not recognizable in any 64 bit daw.

Will 

Avatar
frankthetank
Austria
Member
Members
August 29, 2019 - 3:29 pm
Member Since: August 12, 2019
Forum Posts: 4
sp_UserOfflineSmall Offline

Hello Will,

and thanks for your comprehensive answer. Everything you said was correct. Smile
The default Cmake command causes a 32-bit build and has to be specified correctly for the 64-bit build.
Second, Studio One obviously does not allow "custom" plugin folders for VST3 plugins.
But it's working for me now.

Thank you and kind regards,
Martin

Avatar
W Pirkle
Admin
September 4, 2019 - 3:46 pm
Member Since: January 29, 2017
Forum Posts: 352
sp_UserOfflineSmall Offline

Hi Martin

Glad you are up and running!

For the VST3 "custom folder" I mean the folder for scanning all your plugins. I am able to change this in Studio One to customize my VST3 plugins folder, and I added the ../Common Files/

here.

Image Enlarger

All the best,

Will 

Forum Timezone: America/New_York

Most Users Ever Online: 55

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

TheSmile: 43

Peter: 41

clau_ste: 39

JimmyM: 33

Gwen: 32

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 571

Moderators: 1

Admins: 4

Forum Stats:

Groups: 12

Forums: 36

Topics: 586

Posts: 2347

Newest Members:

Simple, Chris_1, manyu, AdamR, Stuart, Al Calabrese, frankthetank, dhodgson, Wanderer, mister1234

Moderators: W Pirkle: 352

Administrators: Tom: 71, JD Young: 80, Will Pirkle: 0, W Pirkle: 352