Menu

I cannot get a plot on the screen

Help
2003-04-28
2013-03-15
  • Raffaele Lamanna

    I am using KDevelop on a Mandrake Linux system and with a simple program I get a run time error.

    The program

    #ifdef HAVE_CONFIG_H
    #include <config.h>
    #endif

    #include <stdio.h>
    #include <stdlib.h>
    #include "plplot.h"

    int main(int argc, char *argv[])
    {
      plsdev("xterm");
      plinit();
      plend();

      return EXIT_SUCCESS;
    }

    the error:

    PLPLOT Error
    Unable to open or allocate memory for font file
    I tried also with other drivers but without any result.
    Any suggestion?

    R.Lamanna

     
    • Judah De Paula

      Judah De Paula - 2003-06-18

      I did a quick install of plplot-5.2.0, and encounter the same uninformative error.  Did you get it working?

       
    • Andrea Tagliasacchi

      Have you tried with some other output devices?
      I am using the gnome device and everything works just fine.

       

Log in to post a comment.