Aw: Re: Recompilation problems opencv (python3-cv2 --> python3.8)
Marco Atzeri
marco.atzeri@gmail.com
Thu Jan 14 10:06:58 GMT 2021
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-fpic-compiler-option
>
> I have added -DENABLE_PIC=ON to the cmake command of the cygport file from the git repository. Further, I have tried -DCMAKE_POSITION_INDEPENDENT_CODE=ON without success. Finally, I have tried to add -fPIC to the respective compilation commands in the build.ninja file for ittnotify and the linker command without any success.
>
> This seems to be odd, as neither the cygport file nor the source code could have changed since this package has been compiled the last time for python36.
>
> (And yes, I have searched the web for the respective phrase)
>
> Any other hint? Thanks in advance.
>
> Wilhelm
I will look on current source
https://cygwin.com/packages/summary/python3-cv2.html
to see if there is a need of adjustment for Python 3.8
Do not expect immediate feedback.
Marco
More information about the Cygwin
mailing list