Build OpenCV 4.5.2 with freetype library

  • did you install freetype and harfbuzz dependancies ?
  • yes, you need WITH_FREETYPE=ON
  • please show the complete cmake console output (rather long, but it has hints)
  • make sure, you use exactly the same version for both opencv main and contrib repos (if you want to use 4.5.2, check out the 4.5.2 branch in contrib, too !)
  • please also see the related answer here
1 Like