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...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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>intmain(){mglGraph*gr=newmglGraphZB;//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// put sample code here//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~gr->ShowImage();deletegr;return0;}
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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...
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:
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.
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?
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.
Thanks for the tip, I made a symbolic link for "kuickshow" to point to QIV
(Quick Image Viewer) in gnome. It works now...
Boris
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="".
There is much simpler way -- specify yours viewer as first argument of
ShowImage(), i.e. like ShowImage("QIV");
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.