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

Undefined symbol: _sAICountedObject

Participant ,
May 23, 2023 May 23, 2023

hi all,

getting  "Undefined symbol: _sAICountedObject" error 

kindly please help out this

thank you

 

TOPICS
SDK
529
Translate
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

...
Translate
Adobe
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 to actually define the actual suite pointer like above.

Translate
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
LATEST

thanks @A. Patterson  

Translate
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