Use of undeclared identifier 'pluginInstance'

Hi everyone!
I started to work on the changes to update my plugins to V1 and found the first issue, as most of my components use custom graphics I get this error in pretty much every component:

error: use of undeclared identifier ‘pluginInstance’
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, “res/as-hexscrew.svg”)));

What could it be? thanks!

Btw. I’m testing against rack V1, downloaded a week or so.
(stuck at migrating 1.9 at this point).

namspace yourcomponent{

and in the .cpp

 #include "yourcomponent.hpp"

using namespace yourcomponent.hpp;

Are you defining pluginInstance in your plugin.hpp/cpp files?

I guess I skipped that change… and that was it, thanks Andrew :+1:

And thanks Phil, the namespace thing gave me an idea about other issue :wink: