0
0

More than 5 years have passed since last update.

GlogとWindos.hの対立解消

Posted at

ceres solverのサンプルは動いたけど、opencvの自分のプログラムに組み込んだら、ビルド時に下記のエラーが発生しました。
"error ERROR macro is defined. Define GLOG_NO_ABBREVIATED_SEVERITIES before including logging.h. See the document for detail."
調べてみるとglogとWindows.hは対立するそうなので、Windows.hをインクルードしているファイルに"#define NOGDI"を追加すれば直りました。
参考:https://code.google.com/archive/p/google-glog/issues/33

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0