开发者

Not naming a type - C++

开发者 https://www.devze.com 2022-12-26 04:55 出处:网络
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.

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


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...

0

精彩评论

暂无评论...
验证码 换一张
取 消