X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EB3AB3971C1A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko AT nexgo DOT de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1610707764; bh=Tc1eZGHHpLoIZ2PTcVKqL5R7HakiNlkqbkz2qPhFShE=; h=From:To:Subject:References:Date:In-Reply-To; b=Cmmng6zZd7jD9MSEcDGwNw9fLeFzSKL/Ke5y4NtesMw0eyRyZP3Nrx/3x1swR3++w zAblz/Vo015T/YRJIMtflDm1aJHlffvQb67T2rXcf+4IsLhKO+7FA1rTZ90YUh1n84 FVoMeEihtN/DizYycCFxxNisxca/5G5rOYGtzgVw= From: ASSI To: cygwin AT cygwin DOT com Subject: Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8) References: <1a53ec30-813c-8158-89ab-1381b2608f67 AT gmail DOT com> <7ae0ca7a-4efd-e0ed-8aeb-94441d11040b AT gmail DOT com> Date: Fri, 15 Jan 2021 11:49:06 +0100 In-Reply-To: <7ae0ca7a-4efd-e0ed-8aeb-94441d11040b@gmail.com> (Marco Atzeri via Cygwin's message of "Fri, 15 Jan 2021 10:34:25 +0100") Message-ID: <87ft32bhlp.fsf@Otto.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 1081 X-purgate-ID: 155817::1610707762-0000239E-B385B912/0/0 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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: , Content-Type: text/plain; charset="utf-8" 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 10FAnw44023482 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. 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 Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada -- 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