• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Undefined symbol: _sAICountedObject

Participant ,
May 23, 2023 May 23, 2023

Copy link to clipboard

Copied

hi all,

getting  "Undefined symbol: _sAICountedObject" error 

kindly please help out this

thank you

 

TOPICS
SDK

Views

229

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guide , May 23, 2023 May 23, 2023

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

...

Votes

Translate

Translate
Adobe
Guide ,
May 23, 2023 May 23, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 24, 2023 May 24, 2023

Copy link to clipboard

Copied

LATEST

thanks @A. Patterson  

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines