I am supposing this was working previously for you?
The error you are getting is usually accompanied by a bunch more "Unknown CMake Command" -- those CMake functions are in the VST SDK folder named CMake that is in the VST3 folder. The Cmake script references them by this location, so usually this error happens when the /myprojects/folder is not in the correct location, or the VST SDK /CMake folder does not exist (which has happened with users who got the VST SDK from GitHub).
For your exported projects, you should have your /myprojects/ folder located in the proper place as you did before and you will need to update the VSTGUI4 library by removing the old one, and adding the new one that came with VST SDK3.6.14
I am working on some RackAFX/ASPiK stuff right now so I can look into it.
This error usually happens when you have the /myprojects/ folder in the wrong location. The "smtg..." functions are all Steinberg (Steinberg Media Technology Group = smtg) and are located in the /VST_SDK/VST3_SDK/CMake folder, which should be in parallel with your myprojects folder. Is that the case?
Also, did you update VSTGUI4 as well? It also runs cake scripts with VST3.
I am having the same problem on both of my computers running ASPIK from RackAFX7. I cannot use RackAFX7 to build a plugin. This has been a problem since RackAFX7 was released. I have all the latest updates for RackAFX, ASPIK, Visual Studio 2019. CMake will correctly create the plugins for the ASPIK demo projects but nothing exported from RackAFX7 will build. What am I doing wrong?
I am not sure what the question is, and would need to know more:
I cannot use RackAFX7 to build a plugin
CMake will correctly create the plugins for the ASPIK demo projects but nothing exported from RackAFX7 will build
Which one is the problem? If you make a test plugin in RackAFX, can you then build it in Visual Studio? How are you attempting the build?
Or, can you build the project with RackAFX7, but cant Export to ASPiK?
I can build a project in RackAFX7 and build and run it with no problems with Visual Studio 2017 or 2019. When I export to ASPIK, the files are created in the ALL_SDK/myprojects folder. I run the cmake program from inside the win_build folder. It fails with either Visual Studio 2017 or 2019 with the error Unknown CMake command "smtg_get_default_vst3_path". This happens on both of my computers with RackAFX and ASPIK installed.
No other errors are generated.
OK, the problem is the location of your myprojects relative to the rest of the APIs, and specifically the location of the VST SDK.
The first question is -- are you only targeting VST3 or both VST3 and AAX for Windows?
If you are only targeting VST3, then the easiest is to export to VST3 only. In this case, you want to export into the VST3 SDK's myprojects folder, and choose the Individual Export option in RackAFX. If you are targeting both VST3 and AAX, then you would use the Universal option and check VST3 and AAX. Note that you may still use the Universal Export, but only target one API such as VST3 if you wish.
If you are exporting to the ALL_SDK/myprojects folder, then your ALL_SDK folder hierarchy should look like this:
And, your VST_SDK folder inside of ALL_SDK should look like this:
This is documented in ASPiK here:
If you are exporting as "Individual" and "VST3" only, then you need to use the myprojects folder in the VST3 SDK (which you need to create, and populate with the vstgui4 subfolder, just like your RackAFX project folder, and just like the ALL_SDK/myprojects folder as well). If you are exporting as "Universal" and VST3" only, then you export to the ALL_SDK/myprojects folder instead.
RackAFX will modify the CMakeLists.txt file based on your export selection, and it will expect your project to be located in one of the myprojects folders above, based on your export type (Individual or Universal).
If you look in the VST3 SDK, you can see a "cmake" subfolder. That folder contains the CMake script that your project uses (the ASPiK exported VST3 projects use the Steinberg cmake scripts. AAX and AU use CMake script that I wrote).
Inside of the VST3_SDK/cmake folder is the cmake file that contains the function "smtg_get_default_vst3_path" and the ASPiK exported project is trying to call that function. All of that path information (location of cmake files and functions) is preset in the VST3 SDK. Anytime you see "smtg" that is "Steinberg Media Technolgy GmBH" and if you get one of these failures, you should get a ton more of them, all named with "smtg_" as well. If you are not getting the other errors, then check the SDK version you are using. It should be 3.6.14 for the latest version of ASPiK.
So, check your SDK paths and SDK version, and be mindful of how you export the project as Universal or Individual.
LMK if you are still having issues.
Most Users Ever Online: 152
Currently Browsing this Page:
Guest Posters: 1
Newest Members:oneday, Phelan Kane, audiocoder, agel, Makai, Abyz, Nonlinear, IgorVish, Arjuna, TomMilne
Moderators: W Pirkle: 470
Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 470