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
exported vst on win64
Avatar
abeodesee72
Member
Members
February 2, 2020 - 4:35 am
Member Since: March 13, 2017
Forum Posts: 18
sp_UserOfflineSmall Offline

just updated rackafx and vst3 sdk

now i am getting an error using cmake

 

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

 

cheers

Avatar
W Pirkle
Admin
February 5, 2020 - 11:44 am
Member Since: January 29, 2017
Forum Posts: 470
sp_UserOfflineSmall Offline

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. 

Will 

Avatar
W Pirkle
Admin
February 5, 2020 - 11:53 am
Member Since: January 29, 2017
Forum Posts: 470
sp_UserOfflineSmall Offline

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.

Will

Avatar
abeodesee72
Member
Members
February 6, 2020 - 4:06 pm
Member Since: March 13, 2017
Forum Posts: 18
sp_UserOfflineSmall Offline

i deleted the old vstgui folder and installed the new one using rackafx, created a new project does the same

 

my path is E:\SDKs\vst-sdk_3.6.14_build-24_2019-11-29\VST_SDK\VST3_SDK\myplugins

 

aspik projects work tho

 

cheers

Avatar
Alan Miller
Member
Members
March 10, 2020 - 9:31 am
Member Since: February 25, 2020
Forum Posts: 7
sp_UserOfflineSmall Offline

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?

Al

Avatar
W Pirkle
Admin
March 13, 2020 - 10:04 am
Member Since: January 29, 2017
Forum Posts: 470
sp_UserOfflineSmall Offline

HI 

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?

Will

Avatar
Alan Miller
Member
Members
March 14, 2020 - 11:46 am
Member Since: February 25, 2020
Forum Posts: 7
sp_UserOfflineSmall Offline

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.

Al

Avatar
W Pirkle
Admin
March 16, 2020 - 10:00 am
Member Since: January 29, 2017
Forum Posts: 470
sp_UserOfflineSmall Offline

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:

Image Enlarger

And, your VST_SDK folder inside of ALL_SDK should look like this:

Image Enlarger

This is documented in ASPiK here:

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

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. 

Will 

Avatar
abeodesee72
Member
Members
March 16, 2020 - 3:39 pm
Member Since: March 13, 2017
Forum Posts: 18
sp_UserOfflineSmall Offline

i just reverted back version 7.0.1.4 - it works as normal, but version 7.0.1.5 cmake seems not find to smtg functions

 

cheers

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

Chaes: 37

JimmyM: 33

Gwen: 32

jim: 27

Member Stats:

Guest Posters: 1

Members: 648

Moderators: 1

Admins: 4

Forum Stats:

Groups: 13

Forums: 40

Topics: 695

Posts: 2674

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