



Hi all, hi Will,
Quite a newbie here, I'm learning to use RackAFX (and ASPiK).
Actually running RackAFX v.7.3.0.5 with Visual Studio 2019, here is how I proceed :Â
when I create a new RAFX2 project, I build it straight away (sometimes having to change the Windows SDK for things to work) and make sure I can load the plugin right after.
then I add GUI controls, and check the build of the plugin
and finally go to Visual Studio to code the processing part, and build again.
And then for some (random ?) reason when I do one of those steps, the build seems to succeed in Visual Studio, but RackAFX will stay stuck with and everlasting "Status : building /"... and in that case there is no .rafx2 file generated anymore in the ~\RackAFX\PlugIns\pluginName.rafx2\Contents\winOS folder, so no plugin.
And after that, it's impossible to get the project to build anymore, so to get things working I have to create a new one with a different name, create the GUI controls again and copy/replace the plugingCore and FXObject files...
Am I missing something obvious ? Maybe in Visual Studio ? Sorry if it's so. I haven't yet been through all the RackAFX Video tutorials.
Â
Oh by the way, I'm having a really really great time going through the book Designign Audio FX Plugins in C++, 2nd ed. and learning about all the stuff !
Â
Thanks
Tom
If the visual studio build succeeds, you will get a message in the output window with the exact location of the file, that will look like this:
pluginname.vcxproj -> C:\Users\yourcomputer\AppData\Roaming\RackAFX 7.0\PlugIns\pluginname.rafx2\Contents\winOS\fuklk.rafx2
You will then see a message:
Generate Bundle
And then a note about the resource being copied:
C:\RackAFX Projects\pluginname\Resources\PluginGUI.uidesc -> C:\Users\yourcomputer\AppData\Roaming\RackAFX 7.0\PlugIns\pluginname.rafx2\Contents\Resources\PluginGUI.uidesc
1>1 File(s) copied
The mechanism that does this is very much like VST3 and AAX and is done with a Post-Build Event rule that you can find in the Visual Studio properties for the project.Â
If the file cannot be planted into the bundle for some reason, then that will fail but you should see a message about that.Â
Lastly, when RackAFX is watching your build, it is really spying on a file that is dynamically written by Visual Studio as the compile process occurs. This file is found in the project/RAFX2 WinBuild/build/projectname.log file. That file also remains after building, and has the same content in it that you see in the output window in Visual Studio.Â
WillÂ
Â


Hi Will,
Thank you, I got it, it works now.
When I installed RackAFX, I changed the default folders in the RackAFX prefs to custom ones.
Things work perfectly for a brand new project, but then, after having worked on it in RackAFX or reopened it later and rebuilt it, the output folder and/or output file paths in the Visual Studio project's prefs go back to the default so things don't work anymore, of course. So to correct those solves the problem.
Thanks for the enlightment.
Â
Tom
Most Users Ever Online: 152
Currently Online:
10 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Chaes: 56
Skyler: 48
StevieD: 46
Derek: 46
Frodson: 45
Peter: 43
TheSmile: 43
Nickolai: 43
clau_ste: 39
jeanlecode: 37
Member Stats:
Guest Posters: 1
Members: 768
Moderators: 1
Admins: 6
Forum Stats:
Groups: 13
Forums: 42
Topics: 842
Posts: 3347
Moderators: W Pirkle: 689