09-20-2016, 09:21 PM
The various comments on the forum have been helpful, but I'm still not understanding something. I need to access the SDK's AITag suite (CS6) and put the relative path in my User Header Search Paths (in quotes because Adobe uses spaces in their folder names). Here's my header file:
The header file generates no errors. And here's my .cpp file:
In the .cpp file, Xcode complains that in the "if" statement it expected an unqualified-id, and it thinks I'm trying to use "sSPBasic" as a type; that makes no sense to me. I also thought sSPBasic was automatically available. What am I overlooking?
Thanks -- Rick
Code:
#ifndef SDK_hpp
#define SDK_hpp
#include "AITag.h"
extern "C" AITagSuite* sTag;
#endif /* SDK_hpp */
The header file generates no errors. And here's my .cpp file:
Code:
#include "SDK.hpp"
AITagSuite* sTag(NULL);
if (sTag == NULL){
sSPBasic->AcquireSuite(kAITagSuite, kAITAGSuiteVersion, &sTag);
}
In the .cpp file, Xcode complains that in the "if" statement it expected an unqualified-id, and it thinks I'm trying to use "sSPBasic" as a type; that makes no sense to me. I also thought sSPBasic was automatically available. What am I overlooking?
Thanks -- Rick