X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1B2AE3858D32
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=message-id:date:mime-version:user-agent:subject:content-language:to
 :references:from:in-reply-to:content-transfer-encoding;
 bh=Khe8RcEbG7BH9D2sVS90cwPFsVhR4HBU/bTUfJALZ5Q=;
 b=o54vaHK+3UgaUDa6OKFmZtEtYdFc2wxED2lGSv0E7A9fpCirfWguqBgBR3wziK51SO
 JSpI2NhH24/B+KXXMUeK4aaqlhW42ezHfiLK10NEPOq+BUYxlvcf2XwlRe6PHP7z4Z9B
 8GIiUVk7Eyj4UKFF+uvzKrYKriqXHRTEUIpSyyULWWFaOHn61mFWts9YSx10RzKpwsQ2
 u4EFZ6/WYC1vBm8b3YBhpUognHHNAjI2tBwPUj1pEq73iv4x1h4GXz2ExU1B11tvp2yo
 IZFp/qIfMct7qoLWhdvSrRDoPAIcQjLiOrv49yVrq4IpaZWl/niLG1415spgjhIjWBOU
 YrOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
 :content-language:to:references:from:in-reply-to
 :content-transfer-encoding;
 bh=Khe8RcEbG7BH9D2sVS90cwPFsVhR4HBU/bTUfJALZ5Q=;
 b=nIHLTEg1HRRjX9x8NJO+BtBNvw/lCMySwNrwAS0+XAam0rJZLr3QwMk/KiVEVL92jM
 UM5Sx1M0mbE0Ou691BZFR2clPIpYpE14T6BHJ9qkyLn3Tqbar9jiwv5m5v5fGJffd9oA
 3pHPQOHndrx4k6VsmUOsoAFwEWvDjHBF9f6FDzae5XDImZknt476r5x70Gtn9tnZ4sfT
 uW1wOi/cZlMY+uR33IdP64O7XsbbXECUT2GdYpe+MY6Kq9RuuLxgCidjEKci3PHOvSo6
 rt5Ogs1c5T0MY8xL5LjNi+XbFDqRs8QzZkrBBhDNw/s1/Gu/0PLus+IXVG78BZQnxdkn
 lYnw==
X-Gm-Message-State: AJIora+A+qdMsw1qfl9rGmzTQMhGG3Gfqcp9UM4fGPcs4V1IiyURFPai
 rf2xwZH718vP30yZoVTvWgI=
X-Google-Smtp-Source: AGRyM1uLOpIlHwDaAWrwGG4F9ieuQZALvq0hZNWRT6J+r+aDc5Gny/1AA2Wnxj0N8W5GmpTTeiKlXg==
X-Received: by 2002:a05:6402:34ce:b0:435:afb0:1d5a with SMTP id
 w14-20020a05640234ce00b00435afb01d5amr4978228edc.361.1655926398791; 
 Wed, 22 Jun 2022 12:33:18 -0700 (PDT)
Message-ID: <e68a3b5b-ea76-1448-9c23-7e7eadbcb6c9@gmail.com>
Date: Wed, 22 Jun 2022 21:33:17 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
 Thunderbird/91.10.0
Subject: Re: fltk does not work on cygwin version octave-6.4.0
Content-Language: it
To: Tatsuro MATSUOKA <matsuoka@nuce.nagoya-u.ac.jp>,
        "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <1014671988.1220984.1655788512175.JavaMail.yahoo.ref@mail.yahoo.co.jp>
 <1014671988.1220984.1655788512175.JavaMail.yahoo@mail.yahoo.co.jp>
 <ff083728-3032-939d-fb5d-80c008e93e22@gmail.com>
 <81651211.1249414.1655862584330.JavaMail.yahoo@mail.yahoo.co.jp>
 <2116433689.1269468.1655870000849.JavaMail.yahoo@mail.yahoo.co.jp>
 <1829041618.1259316.1655894266818.JavaMail.yahoo@mail.yahoo.co.jp>
From: Marco Atzeri <marco.atzeri@gmail.com>
In-Reply-To: <1829041618.1259316.1655894266818.JavaMail.yahoo@mail.yahoo.co.jp>
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
 NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 25MJXc9a005600

On 22.06.2022 12:37, Tatsuro MATSUOKA wrote:
>> ----- Original Message -----
>> From: "Tatsuro MATSUOKA"
>> To: "Marco Atzeri"; "cygwin
>> Date: 2022/06/22 水 12:53
>> Subject: Re: fltk does not work on cygwin version octave-6.4.0
>>>> ----- Original Message -----
>>>> From: "Marco Atzeri"
>>>> To: "cygwin
>>>> Date: 2022/06/22 水 02:06
>>>> Subject: Re: fltk does not work on cygwin version octave-6.4.0
>>>> On 21.06.2022 07:15, Tatsuro MATSUOKA wrote:
>>>>> fltk does not work on cygwin version octave-6.4.0
>>>>>
>>>>> octave:1> graphics_toolkit fltk
>>>>> octave:2> plot(1:10);
>>>>> Insufficient GL support
>>>>> error: unable to plot due to insufficient OpenGL support
>>>>>
>>>>> plot windows flashes and disappear immediately
>>>>>
>>>>> fltk graphics_toolkit works octave on native windows.

> Is the below related to the issue?
> 
>>> __opengl_info__
> warning: __opengl_info__: can not obtain OpenGL information
> warning: called from
>      __opengl_info__ at line 69 column 5
> 
> Similar behaviors happen qt graphics on octave-7.1.0 on native Windows.
> 
> Tatsuro
> 

Maybe.

On my PC

$ octave

octave:1> __opengl_info__
    version: 4.5.0 - Build 22.20.16.4815
     vendor: Intel
   renderer: Intel(R) UHD Graphics 620
extensions:
   GL_3DFX_texture_compression_FXT1
  .....

Similar to the X log

glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
(II) AIGLX: Testing pixelFormatIndex 1
GL_VERSION:     4.5.0 - Build 22.20.16.4815
GL_VENDOR:      Intel
GL_RENDERER:    Intel(R) UHD Graphics 620
(II) GLX: enabled GLX_SGI_make_current_read
...

You can test the GL behaviour with

$ cygcheck -l mesa-demos | grep bin
/usr/bin/eglinfo
/usr/bin/es2_info
/usr/bin/glinfo
/usr/bin/glxgears
/usr/bin/glxinfo
/usr/bin/wglgears
/usr/bin/wglinfo
/usr/bin/xeglgears
..

Regards
Marco



-- 
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

