From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by sourceware.org (Postfix) with ESMTPS id B51A03857827 for ; Thu, 14 Jan 2021 10:07:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B51A03857827 Received: by mail-ed1-x532.google.com with SMTP id g21so5105898edy.0 for ; Thu, 14 Jan 2021 02:07:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cIeArrrrI02xqMPjR9eWvk/3govSDMjiLBXrni8yqSA=; b=d/+XHkmDNKkkKvAcGHX1D0vMKm4ApjDNIvRlUjXPWu1zPapRdS95lMxjxIv52r24yC od+e0EyI8/XOPyu+NG2UXUFi99+V7/dyMqTPRXWDHKnTPiI4y4py7qY4QYliqXginiOp SYZwBDfdzOPfqH+P3d3vM6/svwkPhRNfM2yrIF75T3Si7f5c/evH3FV293SbV43U4xV7 oSlUSthy9RGiPpKNlvTdqWX2YvGLAVGGU+05f0gUo3UxTQ8eOFy2fov7HQOoBtdB/Xe3 wpqW1N5LxHrHEFlpOXVv+81ybqh9iDPu2lGEqGtV4gmBSeYPjGx9E26ZLzhT5oMfLwB/ dHOA== X-Gm-Message-State: AOAM533seLhtqp3yIhKlvl6dlsxMWwarMk2uxDwXevcdrq/KwtBHYbLs TSO4TibfmmYr0TCkc4Wt2OHOraxn5O3KEQ== X-Google-Smtp-Source: ABdhPJxG3bPBmm75ovsNWdYsXEA4px8wtvC982oWDUk/9K9mQFcYE214O7MU+qlJx4uZdRhbKCr7Xw== X-Received: by 2002:a05:6402:31bb:: with SMTP id dj27mr5161878edb.285.1610618819826; Thu, 14 Jan 2021 02:06:59 -0800 (PST) Received: from ?IPv6:2003:cc:9f0c:c8b0:dcc7:69dd:1dda:bef8? (p200300cc9f0cc8b0dcc769dd1ddabef8.dip0.t-ipconnect.de. [2003:cc:9f0c:c8b0:dcc7:69dd:1dda:bef8]) by smtp.gmail.com with ESMTPSA id v25sm1813342ejw.21.2021.01.14.02.06.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Jan 2021 02:06:59 -0800 (PST) Subject: Re: Aw: Re: Recompilation problems opencv (python3-cv2 --> python3.8) To: cygwin@cygwin.com References: From: Marco Atzeri Message-ID: <1a53ec30-813c-8158-89ab-1381b2608f67@gmail.com> Date: Thu, 14 Jan 2021 11:06:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, URIBL_BLACK autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2021 10:07:02 -0000 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