How to bind to OpenCV for GNAT?

前端 未结 2 1418
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-21 11:05

Can anybody tell me how to find or create a binding to OpenCV for GNAT? I want to use Ada2005 to implement some program with OpenCV (1.0 or 2.X), but I don\'t know how. Can

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-21 11:21

    Teaching you how to create a binding to a complex library is beyond the scope of StackOverflow, but you might start with this tutorial. Then study the relevant GNAT library sources, e.g. Ada.Numerics, and other existing Ada bindings. Among others, Ada 2005 Math Extensions and An Ada binding to the GNU GMP and MPFR Multiple Precision libraries are exemplary as well as accessible.

提交回复
热议问题