Hi kudos to Ed for carving out a full module from my proof of concept level code.
For those trying this WIP package, keep reading. This is not yet a release, no Ed? There appears to be an issue with the typemap. heiner:[PDL-OpenCV]$ make make[1]: Entering directory '/data/ingo/git/PDL-OpenCV/Tracker' "/usr/bin/perl" "-I/usr/local/lib/x86_64-linux-gnu/perl/5.34.0" "-MPDL::PP=PDL::OpenCV::Tracker,PDL::OpenCV::Tracker,Tracker,," tracker.pd The type =PDL__OpenCV__Tracker= does not have a typemap entry! make[1]: *** [Makefile:859: Tracker.pm] Error 255 make[1]: Leaving directory '/data/ingo/git/PDL-OpenCV/Tracker' make: *** [Makefile:542: subdirs] Error 2 heiner:[PDL-OpenCV]$ grep -Ri tracker typemap PDL__OpenCV__Tracker T_PTROBJ_SPECIAL On my box it doesn't look at the top level typemap file in the subfolders. I can get by this error when copying the typemap file into the Tracker folder. That is then followed by the same error for VideoCapture and VideoWriter. Fixing these, the t/opencv_basic.t is segfaulting. I guess this test file is obsolete since MatWrapper is a transient thingy now? In this case, it should be deleted. Conceptually, wouldn't it be better to have a typemap file for each module in its own folder instead of the kitchen sink top-level typemap? Ingo On 5/5/22 01:58, Ed . wrote:
Hi pdl-general folks, A quick update on this: Ingo and I are still working on it. The build process has been simplified so that the local C/C++ wrapper is part of the main project and the build is a normal PDL-ish one. The repo URL is now https://github.com/PDLPorters/PDL-OpenCV (the previous URL will redirect to that). There is now a skeletal wrapper-generation structure in place, both for the C-wrapper and the PDL PP functions. Once the rest of the Tracker-updating code has been unpicked so that it can be done from Perl via generated wrapper, and the wrapper-generators are generalised, the Python binding-generator’s data (see my script on https://github.com/PDLPorters/pdl/issues/362) will be able to be used to generate a PDL binding for a fairly large part of OpenCV (indeed, it looks like it will be straightforward to bind a larger part than “gocv”, the current Go binding, does). Best regards, Ed *From: *Ingo Schmid <mailto:ingo...@gmx.at> *Sent: *19 April 2022 10:50 *To: *perldl <mailto:pdl-general@lists.sourceforge.net> *Subject: *[Pdl-general] PDL::OpenCV update Hi I just pushed a new version to github. https://github.com/fantasma13/PDL-OpenCV.git It should be working at least on linux. Please read the INSTALL document. It is a two step process. It is basic but works. Ingo
_______________________________________________ pdl-general mailing list pdl-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-general