Copy link to clipboard
Copied
hi all,
getting "Undefined symbol: _sAICountedObject" error
kindly please help out this
thank you
If you're basing your code of the sample code, you can see that in samplecode\common\Suites.cpp it defines the actual suite pointers like so:
extern "C" {
SPAccessSuite *sSPAccess;
SPPluginsSuite *sSPPlugins;
AINotifierSuite *sAINotifier;
AIAppContextSuite *sAIAppContext;
AIUserSuite *sAIUser;
AIFilePathSuite *sAIFilePath;
AIFoldersSuite *sAIFolders;
}
If you're following the pattern from the sample code, the suite in the header is just a forward declaration of the suite pointer, you need
...Copy link to clipboard
Copied
If you're basing your code of the sample code, you can see that in samplecode\common\Suites.cpp it defines the actual suite pointers like so:
extern "C" {
SPAccessSuite *sSPAccess;
SPPluginsSuite *sSPPlugins;
AINotifierSuite *sAINotifier;
AIAppContextSuite *sAIAppContext;
AIUserSuite *sAIUser;
AIFilePathSuite *sAIFilePath;
AIFoldersSuite *sAIFolders;
}
If you're following the pattern from the sample code, the suite in the header is just a forward declaration of the suite pointer, you need to actually define the actual suite pointer like above.
Copy link to clipboard
Copied
thanks @A. Patterson