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
See the thread here
"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"
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.
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:
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>c1xx : fatal error C1083: Cannot open source file: '..\..\..\..\..\pluginterfaces\base\funknown.cpp': No such file or directory
and so on.
I noticed that the inclusion paths are all relative and with double quotes:
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 ?
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.
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 ?
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:
Windows <-- this is the MakeVST destination folder, 4 levels below VST3 SDK folder
MyVST3Plugin <-- folder/project that is created with Make VST
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 / ?
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.
Most Users Ever Online: 85
Currently Browsing this Page:
Guest Posters: 1
Newest Members:haslo, tomr, Noah, Dave, acv, Vasil992, Vasil92, dowsed, Simple, Chris_1
Moderators: W Pirkle: 361
Administrators: Tom: 73, JD Young: 80, Will Pirkle: 0, W Pirkle: 361