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
No .rafx2 file generated ?
Avatar
New Member
Members
October 10, 2021 - 3:15 pm
Member Since: September 10, 2021
Forum Posts: 2
sp_UserOfflineSmall Offline

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 !LaughLaughLaugh

 

Thanks

Tom

Avatar
Admin
October 11, 2021 - 1:49 pm
Member Since: January 28, 2017
Forum Posts: 659
sp_UserOfflineSmall Offline

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 

 

Avatar
New Member
Members
October 15, 2021 - 7:16 am
Member Since: September 10, 2021
Forum Posts: 2
sp_UserOfflineSmall Offline

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

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

Nickolai: 39

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 742

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 820

Posts: 3172

Moderators: W Pirkle: 659