Menu

Octplot fails to compile on Debian

Help
2005-09-11
2013-04-25
  • Nobody/Anonymous

    I tried to install octplot but it quits with an error
    that it cannot find Fl/Fl.h. I have every package which provides fltk
    installed :

    # apt-get install fltk1.1-doc fluid libfltk1.1-dev libfltk1.1c102
    Reading Package Lists... Done
    Building Dependency Tree... Done
    fltk1.1-doc is already the newest version.
    fluid is already the newest version.
    libfltk1.1-dev is already the newest version.
    libfltk1.1c102 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 511 not upgraded.

    locate Fl.h yields nothing of use in this situation :

    # locate Fl.h
    /usr/share/doc/fltk1.1-doc/HTML/Fl.html

     
    • Shai Ayal

      Shai Ayal - 2005-09-12

      To fix this, please find the line in src/figure.cpp, near the top which says:

      #include "Fl/Fl.h"
      and change to

      #include <Fl/Fl.H>

      Please tell me if it works for you. Strangely enough my compiler does not complain ...

      Shai

       
    • Nobody/Anonymous

      It works.

      Thanks. Though the UI looks rather like matlab's UI, does it really support nearly everything ? For instance, I do not see the tabs for text labels, arrows, etc.

       
      • Shai Ayal

        Shai Ayal - 2005-09-13

        Well, currently it supports a rather small subset of matlab's UI, but one which is enough to do some work.
        Arrows are not yet implemented, but text is working (using the text command). You can also zoom using the mouse.

        for the documentation, please try

        help line_props
        help text_props
        help axes_props
        help figure_props

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.