Extract the zip-file to "akso-community" or similar and "Reload Objects" to make them discoverable
Create a blank patch
Insert an "riserquencer" object
Run the patch by clicking on the "Live" button
Observe the Akso patcher log, there should be no errors and an "INIT RISERQUENCER CLASS" printout.
Now add another "riserquencer" object
Run the patch again by clicking on the "Live" button
Observe the patcher log and see many "error: redefinition of 'ivogrigull::Multitrack::Multitrack()" printouts
I added both, the .h and .cpp files to the include section of the object. One header file includes the other.
Any help is appreciated, maybe I did something wrong.
Edit:
I found that I can make it work by simple adding a "#pragma once" at the top of each .cpp file.
I guess that fixes it for me but is it a good solution or is there a better, canonical best practice?
objects.zip
I added both, the .h and .cpp files to the include section of the object. One header file includes the other. Any help is appreciated, maybe I did something wrong.
Edit:
I found that I can make it work by simple adding a "#pragma once" at the top of each .cpp file. I guess that fixes it for me but is it a good solution or is there a better, canonical best practice?