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 sp_TopicIcon
VST SDK Folder hierarchy
No permission to create posts
March 23, 2016
2:01 pm
Avatar
mrdanga
Member
Members
Forum Posts: 4
Member Since:
March 23, 2016
sp_UserOfflineSmall Offline

Hi,

I exported my Plugin via Make VST. Everything works fine. But I cannot figure out what is the proper Folder Hierarchy for the inculde files.
I copied all VST3 SDK folders in the RackAFX Folder and manually changed the C++ inculde settings in VS to them, but still alsways there are fatal errors when debugging. All the include Files and Directories of the VST SDK cannot be found or opened. The problem is there also when VS is started as administrator. I use the newest Version of VST SDK.

What is the solution for this?

Thanks in Advance

March 23, 2016
5:08 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

See the thread here

http://www.willpirkle.com/foru.....the-error/

"You then need to move this entire Project folder to within your VST3 SDK folder in the proper hierarchy (the same depth as the sample code, 4-layers"

March 25, 2016
9:47 pm
Avatar
mrdanga
Member
Members
Forum Posts: 4
Member Since:
March 23, 2016
sp_UserOfflineSmall Offline

Hi Will,

thanks. Now all files and orders are found but still only errors there: "unresolved external symbol 'symbol' referenced in function 'function'"

March 26, 2016
1:46 am
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

You may want to try to do a Clean and then Rebuild.

We've been using [Make VST] with the VST3 SDK for quite some time now with no issues like this. One other thing to check (and I don't think this will make a difference) is that you have selected the proper VST3 SDK version in View -> Preferences.

- Will

March 26, 2016
12:26 pm
Avatar
mrdanga
Member
Members
Forum Posts: 4
Member Since:
March 23, 2016
sp_UserOfflineSmall Offline

mmhh yes i rebuild it again. Now everything works perfect. Thanks

May 13, 2016
3:30 am
Avatar
disketto
Member
Members
Forum Posts: 10
Member Since:
January 29, 2015
sp_UserOfflineSmall Offline

Hi,
I haven't coded for a while, I decided to start over again.
I wanted to export a simple empty project to a VST3 project. And so I click on "Make VST".
But I found a problem with Visual Studio 15: even if I copy the entire project folder (from RackAFXProjects\myproj\VST Files\VST3\myproj) here:
C:\VST3 SDK\public.sdk\samples\vst\myproject

Still, it cannot find any include/source dependency.

1>c1xx : fatal error C1083: Cannot open source file: '..\..\..\..\..\pluginterfaces\base\conststringtable.cpp': No such file or directory
1> funknown.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\..\..\..\..\pluginterfaces\base\funknown.cpp': No such file or directory
1> ustring.cpp
...
and so on.
I noticed that the inclusion paths are all relative and with double quotes:
#include "public.sdk/source/main/pluginfactoryvst3.h"
I even tried to change in the project properties the inclusion paths.

Also, when I open the exported project, it tries to port it to the newer version of Visual Studio (15), but something goes wrong:
among the many deprecation warnings, I get this:
..\..\..\..\..\base\win\base_vc9.vcproj: File 'C:\base\win\base_vc9.vcproj' was not found.
..\..\..\..\..\base\win\base_vc9.vcproj: Project upgrade failed.

Can someone help me with this ? I might have forgotten to do something.. Will ?

Thanks,
Vito

May 13, 2016
1:55 pm
Avatar
disketto
Member
Members
Forum Posts: 10
Member Since:
January 29, 2015
sp_UserOfflineSmall Offline

Update:
I found that the paths for the includes are set with one extra "../", pointing to the wrong location. It looks that they are exported like this directly from rackAfx.
Still, i tried to change them in the project properties.
No change.
I had to manually open the .vcproj files and fix there.
Now it compiles but does not link, i have a lot of undefined symbols.
Googling around, i found that this might be a dependency with the "base" project.
The base project is also compiling and linking but the plugin project won't link.
I am starting to think this might be due to the "upgrade" of the project files performed by visual studio.
When i compile a project from the vst3 sdk samples, everything go straight.
Anybody know how to solve this ?

Dsk

May 13, 2016
6:46 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

You should have no problem with Make VST -- the paths are correct and you should not need to alter anything in your VS project files. First, make sure you have the correct SDK selected in View -> Preferences in RackAFX.

The folder hierarchy is the same (4 levels deep) as the sample code and is also documented in my Synth Book. For example, this is what my hierarchy looks like:

VST3 SDK
public.sdk
MyProjects
FXProjects
Windows <-- this is the MakeVST destination folder, 4 levels below VST3 SDK folder
MyVST3Plugin <-- folder/project that is created with Make VST

May 13, 2016
10:42 pm
Avatar
disketto
Member
Members
Forum Posts: 10
Member Since:
January 29, 2015
sp_UserOfflineSmall Offline

Thank you Will!
Indeed, I was missing a level.....now everything works fine (I should stop doing this things at 2 a.m. in the morning).
Just one question, why RackAFX exports the VST projects with such a hierarchy ?
It goes 5 levels back: "../../../../.."
Would be possible to achieve a 1 level deep path like "../", so that you can place your project folder directly in the root of VST3 SDK / ?

Thanks again,
Vito

May 13, 2016
11:56 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

The way I did it matches the same relative paths found in the sample projects.

If you look at the VS "Additional Include Directories" property you will see the relative path settings (one for the SDK and the other for VSTGUI4). You could try to manipulate those if you liked, but I just left things to match the sample projects.

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143