Menu

'kuickshow' not recognized...

Help
2010-08-09
2012-10-16
  • Nobody/Anonymous

    Hi, i'm using the latest version of MathGL, installed by a DevPack (1.10.2) on
    Dev-C++ 4.9.9.2 on Windows 7 64bit.
    I got several missing .dll erros, and then downloaded them separetely from the
    web, but now, the program compiles and as it runs is shows a "kuickshow is not
    a recognized command".
    I can´t even make the simplest example work...

     
  • Boris Duran

    Boris Duran - 2010-09-22

    Hi,

    I'm also new to MathGL, but I'm working under Linux; however, I'm having the
    same error when running that basic example from the documentation:

    #include <mgl/mgl_zb.h>
    int main()
    {
        mglGraph *gr = new mglGraphZB;
        //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        // put sample code here
        //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        gr->ShowImage();    delete gr;
        return 0;
    }
    

    From what I goggled, kuickshow is a fast image viewer for KDE environment. I
    haven't been able to use it under Gnome either. So I wonder if the MathGL
    developers could help us changing this feature so it's possible to use a more
    generic image viewer.

     
  • Nobody/Anonymous

    Im the debian packager for this -- we could try a few image viewers (eog,
    kuickshow, geeqie) etc. I will patch this in the next version, but would
    appreciate some comments from the developer on the best approach to use here.
    Maybe if there was a gr->SetExternalViewer() function?

     
  • Nobody/Anonymous

    By the way, if you simply install the "kuickshow" package for your linux
    distribution, this should work. Alternately, you could create a symlink in
    your /usr/local/bin/ folder entitled "kuickshow", and point it to your
    favourite image viewer.

     
  • Boris Duran

    Boris Duran - 2010-09-23

    Thanks for the tip, I made a symbolic link for "kuickshow" to point to QIV
    (Quick Image Viewer) in gnome. It works now...

    Boris

     
  • Alexey Balakin

    Alexey Balakin - 2010-09-27

    Right now it is default argument for ShowImage(). Today evening I'll introduce

    define MGL_DEF_VIEWER for that (which can be defined at configure stage). In

    fact it is already used right now if argument of ShowImage() is viewer=NULL or
    viewer="".

     
  • Alexey Balakin

    Alexey Balakin - 2010-09-27

    There is much simpler way -- specify yours viewer as first argument of
    ShowImage(), i.e. like ShowImage("QIV");

     
  • Nobody/Anonymous

    Yes, the configure option would be good for packaging. Then we can set this
    during the build and add a recommends: to the package, such that the default
    will be there unless specifically overridden at package install time.

     

Log in to post a comment.