Aw: Re: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-19 Thread wilhelm-eger--- via Cygwin
Gesendet: Freitag, 15. Januar 2021 um 20:34 Uhr > it seems the only issue. > > adding -CCMAKE_CXX_FLAGS=-fpermissive > > to the cygport should be enough. > I will look also at the 4.5.1 and upload > one of them In my case adding -DCMAKE_CXX_FLAGS=-fpermissive did not help to solve the problem.

Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread Marco Atzeri via Cygwin
On 15.01.2021 12:08, Marco Atzeri wrote: On 15.01.2021 11:49, ASSI wrote: Marco Atzeri via Cygwin writes: 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 succe

Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread Brian Inglis
On 2021-01-15 01:13, wilhelm-eger--- via Cygwin wrote: Gesendet: Donnerstag, 14. Januar 2021 um 23:52 Uhr Please try by downloading the complete Cygwin source package, and try a vanilla rebuild first with zero changes, then change only the .cygport VERSION= to the latest, rebuild, and fix any p

Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread Marco Atzeri via Cygwin
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

Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread ASSI
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

Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread Marco Atzeri via Cygwin
On 15.01.2021 09:13, wilhelm-eger--- via Cygwin wrote: Gesendet: Donnerstag, 14. Januar 2021 um 23:52 Uhr Please try by downloading the complete Cygwin source package, and try a vanilla rebuild first with zero changes, then change only the .cygport VERSION= to the latest, rebuild, and fix any

Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-15 Thread wilhelm-eger--- via Cygwin
Gesendet: Donnerstag, 14. Januar 2021 um 23:52 Uhr > Please try by downloading the complete Cygwin source package, and try a > vanilla > rebuild first with zero changes, then change only the .cygport VERSION= to the > latest, rebuild, and fix any problems with that as you go. I have done the fol

Re: Aw: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-14 Thread Brian Inglis
On 2021-01-14 03:24, wilhelm-eger--- via Cygwin wrote: Gesendet: Donnerstag, 14. Januar 2021 um 11:06 Uhr Indeed, these are the files I am using: https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/opencv.git;a=tree;h=3563a2df47de0720d96ab0ad4a6ee8184f8fa249;hb=3563a2df47de0720d96ab

Aw: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-14 Thread wilhelm-eger--- via Cygwin
> Gesendet: Donnerstag, 14. Januar 2021 um 11:06 Uhr > > bottom reply here please Hi Marco, Sorry, I will keep it in mind. Indeed, these are the files I am using: https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/opencv.git;a=tree;h=3563a2df47de0720d96ab0ad4a6ee8184f8fa249;hb=3563a2

Re: Aw: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-14 Thread Marco Atzeri via Cygwin
bottom reply here please On 14.01.2021 10:59, wilhelm-eger--- via Cygwin wrote: Dear Csaba, Thank you for you reply. However, it does not seem to work. I have tried several things. Based on this post: https://stackoverflow.com/questions/38296756/what-is-the-idiomatic-way-in-cmake-to-add-the-

Aw: Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-14 Thread wilhelm-eger--- via Cygwin
Csaba Raduly" An: wilhelm-e...@web.de Cc: "cygwin list" Betreff: Re: Recompilation problems opencv (python3-cv2 --> python3.8) Hi Wilhelm, On Thu, 14 Jan 2021 at 08:10, wilhelm-eger--- via Cygwin wrote: (snip) > 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in func

Re: Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-14 Thread Csaba Raduly via Cygwin
Hi Wilhelm, On Thu, 14 Jan 2021 at 08:10, wilhelm-eger--- via Cygwin wrote: (snip) > 3rdparty/lib/libittnotify.a(ittnotify_static.c.o): in function > `__itt_fini_ittlib': > /usr/src/debug/opencv-3.4.1-2/3rdparty/ittnotify/src/ittnotify/ittnotify_static.c:1076:(.text$__itt_fini_ittlib+0x104): >

Recompilation problems opencv (python3-cv2 --> python3.8)

2021-01-13 Thread wilhelm-eger--- via Cygwin
Hello, due to the recent changes and transition to python38 I would like to have cv2 also working for python38. So I have downloaded the respective cygport and patches and tried to rebuild using the cygport command (with which I am familiar). However, I get the following linking error: [45