PacktPublishing / Learn-OpenCV-4-By-Building-Projects-Second-Edition

Learn OpenCV 4 By Building Projects, Second Edition, published by Packt
MIT License
383 stars 191 forks source link

Chapter 10,11,12 Build Error #4

Closed yyl-20020115 closed 4 years ago

yyl-20020115 commented 4 years ago

in CMakefiles.txt files of chatper 10,11,12 should have include_directories( ${OpenCV_INCLUDE_DIRS} ) just like in CMakefiles.txt in Chapter02 otherwise, #include <opencv2/opencv.cpp> can not find on some Ubuntu platform

also, all $OPENCV need to be $OpenCV so that make can find the correct lib path

deepesh-packt commented 4 years ago

Hey @yyl-20020115, The issue is being resolved, Thanks for highlighting the issue.

Greetings!

yyl-20020115 commented 4 years ago

You’r welcome. BR, Yilin

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用

发件人: deepesh-packtmailto:notifications@github.com 发送时间: 2020年7月15日 18:50 收件人: PacktPublishing/Learn-OpenCV-4-By-Building-Projects-Second-Editionmailto:Learn-OpenCV-4-By-Building-Projects-Second-Edition@noreply.github.com 抄送: Yilin Yangmailto:yyl_20050115@hotmail.com; Mentionmailto:mention@noreply.github.com 主题: Re: [PacktPublishing/Learn-OpenCV-4-By-Building-Projects-Second-Edition] Chapter 10,11,12 Build Error (#4)

Hey @yyl-20020115https://github.com/yyl-20020115, The issue is being resolved, Thanks for highlighting the issue.

Greetings!

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/PacktPublishing/Learn-OpenCV-4-By-Building-Projects-Second-Edition/issues/4#issuecomment-658697833, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGE5LX5HEQSK54YCE2IJ253R3WCXHANCNFSM4MPXMISA.