On 15.01.2021 11:49, ASSI wrote:
Marco Atzeri via Cygwin writes:
I see this as first error

/pub/devel/opencv/opencv-3.4.1-3.x86_64/src/opencv-3.4.1/modules/python/src2/cv2.cpp:889:34:
error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
it seems the compilers is less tolerant than before.
It does not seem a specific python issue.

I will see to patch it and continue when I found a bit of time

What the error message is trying to tell you is that you need the
"-fpermissive" option to CXXFLAGS if you expect the code to compile
despite the mismatched types.  Whether it will succeed or just stop
someplace else remains to be seen.

of course


The upstream package is at version 4 already, which probably needs other
patches as a quick look at Fedora seems to indicate:

https://src.fedoraproject.org/rpms/opencv/tree/master

one step at time

Regards,
Achim.

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to