bugGNU Octave - Bugs: bug #44560, Cannnot load FLTK: 'library open...

 
 

bug #44560: Cannnot load FLTK: 'library open failed'

Submitter:  Martin Kunz <mkunz>
Submitted:  Tue 17 Mar 2015 01:11:07 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 02 Jun 2015 04:33:23 PM UTC, comment #8: 

Retagging release from 4.0.0-rc1 to 4.0.0.

John W. Eaton <jwe>
Group administrator
Fri 20 Mar 2015 03:29:05 PM UTC, comment #7: 

After deinstalling some older Octave versions and reinstalling 4.0.0-rc1 (again from ftp://alpha.gnu.org/gnu/octave), loading fltk works fine now, even if I invoke Octave through octave-4.0.0-rc1.exe.
This time I let the installer create shortcuts and used them for the very first run of the freshly installed Octave - I don't know if this makes a difference.

Thank you John and Mike for your help, I think this entry can be marked as solved.

Martin Kunz <mkunz>
Wed 18 Mar 2015 11:23:57 PM UTC, comment #6: 

There are 3 different executables, octave, octave-cli, and octave-gui. Octave is supposed to run either octave-cli or octave-gui depending on what options are given. The executables with versions in the names are identical to the ones without version numbers.

I have no problem running any of the above on Windows XP. But I seem to recall Windows 7 has a problem with the dispatch program, which is why octave-gui has to be called directly. So you would likely have the same problem with octave.exe, I don't think the versioned version of the program is the problem.

Mike Miller <mtmiller>
Group Member
Wed 18 Mar 2015 01:10:54 PM UTC, comment #5: 

Thank you for the explanation!

I had unchecked "Create shortcuts" during the installation because at that point I did not expect myself to switch to 4.0.0 in my daily work. However, it generally works so well that I did!

To prevent confusion, I would suggest to
a) not create the versioned files under Windows if they are not going to be used anyway
b) add some information about octave.vbs and the different executables to README.html, a special WINREADME and/or the manual.

Martin Kunz <mkunz>
Wed 18 Mar 2015 12:51:20 PM UTC, comment #4: 

The installer creates shortcuts and puts them in the start menu for octave-4.0.0.

These then run octave.vbs, which is a script that sets up the path, a few additional environmental variables and then runs either octave-gui.exe or octave-cli.exe.

In windows, the versioned files don't get used, however do for unix.


John Donoghue <lostbard>
Group Member
Wed 18 Mar 2015 10:09:43 AM UTC, comment #3: 

When running Octave-4.0.0-rc1\bin\octave-gui.exe FLTK is successfully loaded without any warning or error!

Looks I should use octave-gui.exe from now on. What is the difference to octave-4.0.0-rc1.exe? Are users adviced which executable to use at some point (if yes, I have missed that). Would it make sense not to install octave-4.0.0-rc1.exe at all to prevent this mistake?

Martin Kunz <mkunz>
Wed 18 Mar 2015 08:44:18 AM UTC, comment #2: 

1) I used the installer from ftp://alpha.gnu.org/gnu/octave.

2) I call Octave-4.0.0-rc1\bin\octave-4.0.0-rc1.exe via a self-created shortcut. "Start in" folder is Octave-4.0.0-rc1\bin.

Martin Kunz <mkunz>
Tue 17 Mar 2015 04:18:35 PM UTC, comment #1: 

A couple of questions.

1) Where did octave come from? The created rc1 installer from ftp://alpha.gnu.org/gnu/octave, or home built?

2) How are you running octave? From menu the shortcuts, from running the exe file?


John Donoghue <lostbard>
Group Member
Tue 17 Mar 2015 01:11:07 PM UTC, original submission:  

Using 4.0.0-rc1 under Windows 7 64bit, activating FLTK fails:


>> graphics_toolkit("fltk")
error: feval: library open failed: C:\Octave\Octave-4.0.0-rc1\lib\octave\4.0.0-rc1\oct\i686-w64-mingw32\__init_fltk__.oct
error: called from
    graphics_toolkit at line 85 column 5


The oct-file is there, but I don't have the knowledge to debug it.

Martin Kunz <mkunz>

 

(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 mtmiller (Updated the item)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by mkunz (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-02 jwe Release4.0.0-rc1 4.0.0
    2015-03-22 mtmiller StatusNeed Info Works For Me
        Open/ClosedOpen Closed
    2015-03-17 mtmiller CategoryPlotting Plotting with OpenGL
        Item GroupRegression Incorrect Result
        StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code