Not naming a type - C++

I am trying to convert an Adobe CS4 based plugin to CS5. This project has never been mine, this is the first time that i am seeing it.

When I compile the source with what i was given, I get errors like: Does not name a type

Example:

SPAPI SPErr SPBasicAcquireSuite( const char *name, int64 version, const void **suite );

I get that:

SPErr does not name a type

I dont see any classes with SPErr being defined, but I doubt that Adobe has left this out of the SDK.

I am using the PS_CS5_SDK_3 SDK

Answers


I do not have the possibility to be specific because, of course, I do not have the code. Typically this problem occurs when a type, a class, is not correctly compiled by compiler... meaning that it cannot find it and asks: "what is this?". See macros, or better inspect your code in your hpp files... Probably when porting to CS5 some types have been removed or some...


Need Your Help

Anyone doing mainframe or AS/400 Batch processing with Java?

java batch-file ibm-midrange mainframe

I'm going to propose to a client that I build some batch jobs in Java that will run on their mainframe and/or AS/400s (sorry System z and System i). Both platforms are up to date system software wi...

UIImagePickerControllerSourceTypePhotoLibrary in iOS 7 is not Working

iphone objective-c ios7

When I upgraded to iOS7, my app is showing an empty view controller when I access the photo Library from the application. It was working with older frameworks.