

Hi Will,Â
I am trying to build the latest DemoCustomViews using VS 2017 and ASPiK 1.6.5
I'm encountering an issue because the empty PluginObjects folder is not being created within the project_source sub folder.
As a result I'm not sure how to include fxobjects.h and fxobjects.cpp into the project.
When I create a new project using ASPiKreator the PluginObjects folder is created fine.
When I take the code from the DemoCustomViews.h and .cpp files + it's GUI resources into the ASPiKreated project then the debug will build and run successfully however when going to release mode it produces a sea of red errors.
Help with either issue would be great.Â
Thanks
Well, not sure of the red error sea - a printout would help. But there are some issues to understand:
1) you use DemoCustomViews project directly; you don't need to create a new project and then copy the files into it. You just need to edit the CMakeLists.txt file as per the readme.txt file in the WithFFT or WithoutFFT subfolders (guessing you already knew that, just being complete)
2) None of the Demo projects use the fxobjects files, so none of them have a PluginObjects folder (this is actually because of GitHub's dealing with empty folders and the fact that these demos are supposed to be the simplest, most stripped down projects available for the least confusion for plugin newbies)
3) the fxobjects.h and .cpp files are not technically part of ASPiK, which is just the framework. They are actually part of the 2nd Ed FX book and part of my teaching software called RackAFX. They are free to use and there is no license. However, due to input from many engineers, I decided to keep them separated from ASPiK because they have their own design pattern and I don't want anyone thinking that pattern is part of ASPiK or must be used in ASPiK -- this is a common, but incorrect assumption among my students.
You do not get them automatically installed with ASPiKreator, but the PluginObjects folder is created for you if you want to populate it with these files, or any other 3rd party object files.
The link for you to download the fxobjects.zip package is at the top of the ASPiK documentation for the various FX objects and classes.Â
http://aspikplugins.com/sdkdoc.....jects.html
and is here:
https://www.willpirkle.com/Downloads/fxobjects.zipÂ
There are 3 files inside, just dump them into your PluginObjects folder and then add them to your Visual Studio or Xcode project in the usual fashion.
That should get you up and running.
WillÂ
Hi Will thanks for explaining that, it's all definitely good to know. But I am still unsure how to proceed with my objective here.
Can you explain how to add an object to the DemoCustomViews project? Is there an alternative folder for resources or can one be created?
Currently even for new objects made in the project via Class Wizard I cannot successfully add them to plugincore.h. On the #include statement I'm receiving the error "Cannot open source file" no matter what I try.
Cheers
Hi Jim
There is nothing in ASPiK that dictates where your objects reside but I do add the PluginObjects to the include file path list in both Visual Studio and Xcode, so if you manually add this folder, VS and Xcode should automatically find it and when you #include, you won't need extra folders or a full path.
I think you are having a folder issue. If you place your C++ objects in the PluginKernel folder, then you can add it to VS (Right-click and Add -> Existing Item, then find the files). If you want to make your own custom folder, you can do that too but will need to either add a path to the VS properties, or #include the full path.
LMK if you still have problems.Â
WillÂ
Please note that I just released a new and updated fxobjects.zip package today (5/20/2020). See the post here for more information:
https://www.willpirkle.com/forum/recent-uploads-activity/fxobjects-zip-5-20-20-new-version/#p2658
WillÂ
Most Users Ever Online: 152
Currently Online: jkarstedt
3 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: 2
Members: 784
Moderators: 1
Admins: 6
Forum Stats:
Groups: 13
Forums: 42
Topics: 850
Posts: 3372
Moderators: W Pirkle: 693