Hi Alan,
this is a report of my progress toward interfacing gtk-fortran and
PLplot 5.14:
1) I finally installed in a virtual machine a Debian Sid (unstable)
because if offers the PLplot 5.14 packages.
2) I have installed the following packages for gtk-fortran and PLplot:
# apt install git gitk cmake gfortran libgtk2.0-dev libgtk-3-dev
libplplot-dev plplot-doc
I have successfully built the PLplot examples:
# cd /usr/share/doc/plplot-doc/examples/
# make
# ./x00c
I have tried some examples and successfully created output files using:
< 3> ps PostScript File (monochrome)
<11> svg Scalable Vector Graphics (SVG 1.1)
But for an unknown reason failed to plot anything directly on screen
(xwin, tk, qt drivers...) although plplot-driver-qt,
plplot-driver-wxwidgets and plplot-driver-xwin are installed. With that
kind of message (x33c):
Enter device number or keyword: 1
*** PLPLOT ERROR, IMMEDIATE EXIT ***
Can't open display
Program aborted
3) On the gtk-fortran side,**when trying to build the project, CMake
found PLplot but stopped me with errors like:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/plplot/export_plplot.cmake:175
(message):
The imported target "PLPLOT::tclmatrix" references the file
"/usr/lib/x86_64-linux-gnu/libtclmatrix.so.10.3.0"
but this file does not exist. Possible reasons include:
...
Using apt-file, I saw that it was in the plplot-tcl package so I
installed plplot-tcl-dev. Then I was similarly obliged to install
octave-plplot.
But I am now stopped by this error:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/plplot/export_plplot.cmake:175
(message):
The imported target "PLPLOT::plplot_pyqt5" references the file
"/usr/lib/python3/dist-packages/plplot_pyqt5.so"
but this file does not exist. Possible reasons include:
...
I have installed the python3-plplot-qt package:
root@osboxes:~# apt-file search plplot_pyqt5
python3-plplot-qt:
/usr/lib/python3/dist-packages/plplot_pyqt5.cpython-37m-x86_64-linux-gnu.so
root@osboxes:~# apt install python3-plplot-qt
But CMake still gives me the same error because in that package the file
is named plplot_pyqt5.cpython-37m-x86_64-linux-gnu.so instead of
plplot_pyqt5.so.
Note that in my previous email, I reported similar things under Kubuntu
18.10 with PLplot 5.13, except that I was stopped by another file:
PLplot needed the file _Pltk_init.so (python-plplot package) which is
named _Pltk_init.x86_64-linux-gnu.so in Kubuntu 18.10.
Can you tell me what you think about that problem ? (is it a PLplot
problem, a CMake problem, a Debian problem, a gtk-fortran problem ?)
Cheers
Vincent
--
*Vincent MAGNIN*
Maître de conférences
IEMN Laboratoire Central, UMR CNRS 8520
Département Micro-Nano-Opto
Equipe optoélectronique
vincent.mag...@univ-lille.fr <mailto:prenom....@univ-lille.fr> *|*
www.univ-lille.fr <http://www.univ-lille.fr>
Avenue Poincaré, bureau 349
BP 60069
59652 Villeneuve d'Ascq Cedex
T.+33 (0)3 20 19 79 67
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general