alandefreitas / matplotplusplus

Matplot++: A C++ Graphics Library for Data Visualization 📊🗾
https://alandefreitas.github.io/matplotplusplus/
MIT License
4.11k stars 313 forks source link

Runtime dependency on gnuplot is not clear #304

Open saxbophone opened 1 year ago

saxbophone commented 1 year ago

Feature category

The problem When following the instructions for using the library by embedding it with CMake and CPM, it was not clear to me that the library uses gnuplot at runtime (I thought all functionality was provided in-library). I was very confused when I got an error message saying that gnuplot could not be found when I tried to run the successfully compiled sample program.

The solution I'd like I'd like there to be a clear list of prerequisites required by the library to be listed in one place so I know that if the thing compiles successfully and I've installed all additional prerequisites in the list, my programs using the library will work no problem.

Alternatives I've considered I realise that the need for gnuplot is documented elsewhere in the docs (I think for the instructions for building from source or installing from package managers?). But this was found in an area unrelated to the task I was trying to achieve (building and using the library in-tree, using CMake+CPM).