01-21-2022, 05:28 PM
(This post was last modified: 01-21-2022, 08:20 PM by Rick Johnson.)
Ah, that works! Do I understand correctly that these vectors no longer need to be sent to cleanupVector?
If a variable tempArt is defined an ArtSP and I use it as a prep_ object in Art.duplicate, is it OK to pass tempArt.get() as an Art*? I see that I need to be mindful that Art.duplicate returns a unique pointer, not a shared pointer.
I'm getting close to a successful Mac build, but am stumped by a few surprises. I started with the Panel sample project, and replaced the sources and headers with my 0.7.8 project files. The plugin I'm updating uses the SDK, so I've added those paths and defined HDI_CORE_DONT_DECLARE_AI_TYPES. That might affect these errors, but removing this flag and/or including headers with AI or HDI_CORE types doesn't seem to help.
hdicorePlugin.h:93:13: Unknown type name 'SPPluginRef'
hdicoreArt.h:327:15: Unknown type name 'AIArtHandle'
hdicoreArt.h:336:15: Unknown type name 'AISafeArtHandle'
Any suggestions on things to check would be much appreciated!
If a variable tempArt is defined an ArtSP and I use it as a prep_ object in Art.duplicate, is it OK to pass tempArt.get() as an Art*? I see that I need to be mindful that Art.duplicate returns a unique pointer, not a shared pointer.
I'm getting close to a successful Mac build, but am stumped by a few surprises. I started with the Panel sample project, and replaced the sources and headers with my 0.7.8 project files. The plugin I'm updating uses the SDK, so I've added those paths and defined HDI_CORE_DONT_DECLARE_AI_TYPES. That might affect these errors, but removing this flag and/or including headers with AI or HDI_CORE types doesn't seem to help.
hdicorePlugin.h:93:13: Unknown type name 'SPPluginRef'
hdicoreArt.h:327:15: Unknown type name 'AIArtHandle'
hdicoreArt.h:336:15: Unknown type name 'AISafeArtHandle'
Any suggestions on things to check would be much appreciated!