OpenCV : undefined reference to imread()

后端 未结 3 1866
鱼传尺愫
鱼传尺愫 2021-02-12 23:52

I have configured OpenCV 3.1.0 in Eclipse Mars. These are my configuration,

G++ includes: D:/opencv/build/install/include; GCC includes

3条回答
  •  感情败类
    2021-02-13 00:12

    Since OpenCV3, the imread function resides in the imgcodecs module. Imread should work once you add the opencv_imgcodecs library to your project (note: imgcodecs, not imcodecs).

提交回复
热议问题