Hi Adam,

Thanks for the report! Can you check and see whether Alien::OpenCV found the 
MacPorts one or built its own? And can you say what this shows?

perl -MAlien::OpenCV -E 'say Alien::OpenCV->cflags'

(Also, are you able to try out the Homebrew OpenCV? I’ve only experimented with 
the Homebrew myself)

Best regards,
Ed

From: Adam Russell<mailto:[email protected]>
Sent: 04 April 2023 19:10
To: [email protected]<mailto:[email protected]>
Subject: Re: [Pdl-general] PDL::OpenCV 0.001 released

I get this build error. But I definitely have this, it is located in a usual 
location for MacPorts: /opt/local/include/opencv4/opencv2/opencv.hpp

Is there some trick to get this to be found properly? I am installing via cpan, 
just a simple 'cpan> install PDL::OpenCV` which otherwise seems to proceed well 
in terms of installing needed dependencies and so forth.

opencv_wrapper.cpp:1:10: fatal error: 'opencv2/opencv.hpp' file not found
#include <opencv2/opencv.hpp>
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [opencv_wrapper.o] Error 1
  ETJ/PDL-OpenCV-0.001.tar.gz
  /usr/bin/make -- NOT OK
Failed during this command:
 ETJ/PDL-OpenCV-0.001.tar.gz                  : make NO



Date: Sun, 26 Mar 2023 06:50:19 +0000
From: "Ed ." <[email protected]>
To: "[email protected]"
        <[email protected]>, perldl
        <[email protected]>
Subject: [Pdl-general] PDL::OpenCV 0.001 released
Message-ID:
        
<db9p194mb13853e894ff738605439bc0e82...@db9p194mb1385.eurp194.prod.outlook.com>

Content-Type: text/plain; charset="windows-1252"

Dear PDL folks,

PDL::OpenCV 0.001 has just been released. Notable changes since never:


  *   It supports modules highgui, imgcodecs, imgproc, objdetect, tracking, 
videoio
  *   Where possible, all inputs and outputs are ndarrays which get wrapped 
into Mat, Rect, std::vector<int>, etc internally
  *   In particular, it supports just about every class and function within 
those modules that are supported by the Python binding
  *   There is a simplistic translation of the Doxygen docs into POD, see on 
MetaCPAN: https://metacpan.org/dist/PDL-OpenCV
  *   It includes a perldl demo which shows off basic image-processing stuff 
(?demo opencv?)

Future plans, in something like intended order:

  *   Support the ?Params? classes (possibly from Perl-land as a hash-ref)
  *   Support more of the modules, both in the main OpenCV distribution and the 
?contrib? ones

The IRC channel (#pdl on irc.perl.org) is a great virtual place to come and ask 
questions, or just watch the GitHub messages flow by.

As usual, please give the new release a try and report problems.

Best regards,
Ed
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general


------------------------------

End of pdl-general Digest, Vol 85, Issue 3
******************************************

_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to