bugGNU Octave - Bugs: bug #60771, ginput returns an error:...

 
 

bug #60771: ginput returns an error: '__fltk_check__' undefined

Submitter:  None
Submitted:  Fri 11 Jun 2021 08:22:17 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Adam Aitkenhead Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 6.2.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 11 Jun 2021 08:52:56 PM UTC, comment #6: 

Great, thank you!
Adam

Anonymous
Fri 11 Jun 2021 08:22:15 PM UTC, comment #5: 

Works for me now. The change has been pushed to stable to I guess it will be part of Octave 6.3?

Closing report as fixed.

@anonymous: I don't think you'll have anything to do to migrate to "qt". Just start Octave using "octave" as suggested, this now launches the command line interface by default with "qt" as the default toolkit, remove any "graphics_toolkit fltk" and run your scripts.

Pantxo Diribarne <pantxo>
Group Member
Fri 11 Jun 2021 05:22:26 PM UTC, comment #4: 


>> For the OP, why are you using FLTK?


I've been using Octave for several years, and at the time FLTK worked better than Gnuplot for the plotting functions I use.  Up until now everything has worked in new versions, so there had never been any need to migrate away from FLTK.  Properly testing/updating the plotting tools I use for QT would take some time, but there had never been a need so it wasn't a priority.

Yes, I use octave-cli to start Octave, but that's just out of habit really.

Anonymous
Fri 11 Jun 2021 01:34:47 PM UTC, comment #3: 

I'm not sure why I missed that use of _fltk_check_ when I made the previous change.  I backed out the change on stable and merged with default.

http://hg.savannah.gnu.org/hgweb/octave/rev/3a84bd37c6eb

For the OP, why are you using FLTK?  Is it because you are using "octave-cli" to start Octave or because you built Octave without support for Qt?  If it is because you are using "octave-cli", please try using "octave" instead.  You will still get a command-line by default but you will get the more actively developed and supported graphics widgets built with Qt instead of FLTK.  If it is because you prefer FLTK, can you say why you prefer that instead of Qt?

John W. Eaton <jwe>
Group administrator
Fri 11 Jun 2021 11:21:39 AM UTC, comment #2: 

CCing jwe who hid this function in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/52b2680e091c


Pantxo Diribarne <pantxo>
Group Member
Fri 11 Jun 2021 11:14:58 AM UTC, comment #1: 

Confirmed. This builtin function is no more available in Octave 6 and it prevents `ginput` from working when using the FLTK toolkit.

Pantxo Diribarne <pantxo>
Group Member
Fri 11 Jun 2021 08:22:17 AM UTC, original submission:  

Calling ginput in Octave 6.2.0 results in the following error:

octave:1> [x,y,b] = ginput(1);
error: '__fltk_check__' undefined near line 93, column 93
error: called from
    ginput at line 93 column 9

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by pantxo
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-11 pantxo StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2021-06-11 jwe StatusConfirmed Ready For Test
    2021-06-11 pantxo Carbon-Copy- Added jwe
    2021-06-11 pantxo CategoryOctave Function Plotting with OpenGL
        Item GroupUnexpected Error or Warning Regression
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code