X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9222E3973048 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1610708896; bh=zerdGyNyJYRmzACPhhYgJ5bz0093AAcJdgcCvh6B98M=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=UE8YjXKhNz2bHQETDMXLPMtSurVpVhDOdgfK50BAMUk0s5R61w9WTpfxc8k+Yya8X k4sSdg5YZFVPhE4C4hHvUZPUhF+4vZyH87teswwEle5HhnZkpnMEU3YbKbwznUb+FU vLT7h3Vi2WoKyJO9OcQ3DaH4EVvAFWXeqDmykkS4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BE5F2397301B 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=cVkclIA8oXj+2KmY/N3uqN5KuUXQcLe36hBbIbUHYMk=; b=RiHV+ps8RQaS8sCgomBNOUhf2CM2gbIRtoolOQuP4Qiv+4nodkxSPxSQB0AulUm3CC dc9hEZMC5y+vvBoCuwNatsB9BrLGMpZGvWnW/kIgVZ9H0Tozvl0O3cz6MoJoXS90T4S2 DwIB6W7qLAOQ0CNTRJREBDipco4JSWhQSwW8EOmOzcJi0p2+WaWK9yHq3DNwIH+dz5U0 Sff/zozUVhG/Ly06Cb3m0G8SvC1wH64ub4uT6309OeIoZNBLTyg/OeYCKQm7YLgrf5u7 SUQT2vRH2fzv5rYKexW4rTawpKN7mRfT+UviTNwtJY1yDI9dHMm3dEv48vff5K1OZVP2 SMGw== X-Gm-Message-State: AOAM533lvOwjfdFsEjTk3O1Q2aywYy2x0Y5VfcAZfjDmjbf46nYvWULZ zZlv129dDlyn9D/fDERPvZHR1XdkHK3ZAg== X-Google-Smtp-Source: ABdhPJygEG8GmxpQ2p8ZBmaNIS7AZTuF6iBLjuxPRqI2j/NEBHWY8FKEGUZMgwVPV3wXx3z/e3rJ5Q== X-Received: by 2002:a05:6402:50a:: with SMTP id m10mr8980837edv.324.1610708892846; Fri, 15 Jan 2021 03:08:12 -0800 (PST) Subject: Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8) To: cygwin AT cygwin DOT com References: <1a53ec30-813c-8158-89ab-1381b2608f67 AT gmail DOT com> <7ae0ca7a-4efd-e0ed-8aeb-94441d11040b AT gmail DOT com> <87ft32bhlp DOT fsf AT Otto DOT invalid> Message-ID: <37aa8145-3c4a-4192-9ece-14178690d343@gmail.com> Date: Fri, 15 Jan 2021 12:08:10 +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: <87ft32bhlp.fsf@Otto.invalid> Content-Language: it X-Spam-Status: No, score=-1.5 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 autolearn=ham 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 AT cygwin DOT 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: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10FB8iwk026030 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