エラー内容
|
1 |
enum { NO, GAIN, GAIN_BLOCKS }; |
ヘッダーファイル(*.hpp)において "Expected Identifier" が発生する。
直前のソースコードで以下の警告(Warning)が発生している。
|
1 2 3 |
#if defined(NO) # warning Detected Apple 'NO' macro definition, it can cause build conflicts. Please, include this header before any Apple headers. #endif |
意訳
Apple (Xcode) が提供するヘッダーファイルにおいて "NO" が定義される前に、OpenCVのヘッダーファイルを先に読み込んで "NO;" を定義しなければならない。
続きを読む