c++ - mac下Photoshop SDK预编译出错
PHPz
PHPz 2017-04-17 11:09:55
0
0
647

我用的是Photoshop CS2 SDK http://download.macromedia.com/pub/developer/photoshop/sdk/PhotoshopCS2SDKMac.zip 在SPConfig.h中预编译出错,相关代码如下

#ifdef __MWERKS__
#if !defined(__INTEL__)     /* mjf was- #if defined(__MC68K__) || defined(__POWERPC__) */
#ifndef MAC_ENV
#define MAC_ENV 1
#endif
#endif
#endif

#if !defined(WIN_ENV) && !defined(MAC_ENV)
#error /* 这儿预编译出错,也就是说两个系统都不是 */
#endif

应该是MWERKS这个宏没有定义导致的,我觉得应该是我没有包含相关的头文件导致的。我感觉这是与系统的相关宏,请问是在mac下的哪个文件呢?(当然可以在自己的文件里面定义这个宏,不过感觉不好)。

PHPz
PHPz

学习是最好的投资!

répondre à tous(0)
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!