I followed your installation.md guide and used the makefile approach, but upon trying out the sample code in the readme I get a big error.
I am trying to use the library on windows with wsl, is this impossible perhaps?
In file included from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Utils.hpp:121:32: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
121 | constexpr auto isString = std::is_same_v<std::decay_t<T>, std::string>;
| ^~~~~~~~~
| is_same
/usr/local/include/sciplot/Utils.hpp:121:57: error: expected primary-expression before ‘,’ token
121 | constexpr auto isString = std::is_same_v<std::decay_t<T>, std::string>;
| ^
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:39:21: error: ‘variant’ in namespace ‘std’ does not name a template type
39 | using PlotXD = std::variant<Plot, Plot3D>;
| ^~~~~~~
/usr/local/include/sciplot/Figure.hpp:39:16: note: ‘std::variant’ is only available from C++17 onwards
39 | using PlotXD = std::variant<Plot, Plot3D>;
| ^~~
/usr/local/include/sciplot/Figure.hpp:46:62: error: ‘PlotXD’ was not declared in this scope; did you mean ‘Plot3D’?
46 | Figure(const std::initializer_list<std::initializer_list<PlotXD>>& plots);
| ^~~~~~
| Plot3D
/usr/local/include/sciplot/Figure.hpp:46:62: error: template argument 1 is invalid
/usr/local/include/sciplot/Figure.hpp:46:68: error: template argument 1 is invalid
46 | Figure(const std::initializer_list<std::initializer_list<PlotXD>>& plots);
| ^~
/usr/local/include/sciplot/Figure.hpp:49:42: error: ‘PlotXD’ was not declared in this scope; did you mean ‘Plot3D’?
49 | Figure(const std::vector<std::vector<PlotXD>>& plots);
| ^~~~~~
| Plot3D
/usr/local/include/sciplot/Figure.hpp:49:42: error: template argument 1 is invalid
/usr/local/include/sciplot/Figure.hpp:49:42: error: template argument 2 is invalid
/usr/local/include/sciplot/Figure.hpp:49:48: error: template argument 1 is invalid
49 | Figure(const std::vector<std::vector<PlotXD>>& plots);
| ^~
/usr/local/include/sciplot/Figure.hpp:49:48: error: template argument 2 is invalid
/usr/local/include/sciplot/Figure.hpp:49:5: error: ‘sciplot::Figure::Figure(const int&)’ cannot be overloaded with ‘sciplot::Figure::Figure(const int&)’
49 | Figure(const std::vector<std::vector<PlotXD>>& plots);
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp:46:5: note: previous declaration ‘sciplot::Figure::Figure(const int&)’
46 | Figure(const std::initializer_list<std::initializer_list<PlotXD>>& plots);
| ^~~~~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:124:29: error: ‘PlotXD’ was not declared in this scope; did you mean ‘Plot3D’?
124 | std::vector<std::vector<PlotXD>> m_plots;
| ^~~~~~
| Plot3D
/usr/local/include/sciplot/Figure.hpp:124:29: error: template argument 1 is invalid
/usr/local/include/sciplot/Figure.hpp:124:29: error: template argument 2 is invalid
/usr/local/include/sciplot/Figure.hpp:124:35: error: template argument 1 is invalid
124 | std::vector<std::vector<PlotXD>> m_plots;
| ^~
/usr/local/include/sciplot/Figure.hpp:124:35: error: template argument 2 is invalid
/usr/local/include/sciplot/Figure.hpp:130:73: error: ‘PlotXD’ was not declared in this scope; did you mean ‘Plot3D’?
130 | inline Figure::Figure(const std::initializer_list<std::initializer_list<PlotXD>>& plots)
| ^~~~~~
| Plot3D
/usr/local/include/sciplot/Figure.hpp:130:73: error: template argument 1 is invalid
/usr/local/include/sciplot/Figure.hpp:130:79: error: template argument 1 is invalid
130 | inline Figure::Figure(const std::initializer_list<std::initializer_list<PlotXD>>& plots)
| ^~
/usr/local/include/sciplot/Figure.hpp: In constructor ‘sciplot::Figure::Figure(const int&)’:
/usr/local/include/sciplot/Figure.hpp:134:26: error: request for member ‘size’ in ‘plots’, which is of non-class type ‘const int’
134 | m_layoutrows = plots.size();
| ^~~~
/usr/local/include/sciplot/Figure.hpp:136:27: error: ‘begin’ was not declared in this scope; did you mean ‘std::begin’?
136 | for(const auto& row : plots)
| ^~~~~
| std::begin
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1224:5: note: ‘std::begin’ declared here
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:136:27: error: ‘end’ was not declared in this scope; did you mean ‘std::end’?
136 | for(const auto& row : plots)
| ^~~~~
| std::end
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1244:5: note: ‘std::end’ declared here
1244 | end(const valarray<_Tp>& __va)
| ^~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:139:27: error: ‘begin’ was not declared in this scope; did you mean ‘std::begin’?
139 | for(const auto& row : plots)
| ^~~~~
| std::begin
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1224:5: note: ‘std::begin’ declared here
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:139:27: error: ‘end’ was not declared in this scope; did you mean ‘std::end’?
139 | for(const auto& row : plots)
| ^~~~~
| std::end
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1244:5: note: ‘std::end’ declared here
1244 | end(const valarray<_Tp>& __va)
| ^~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:140:17: error: request for member ‘emplace_back’ in ‘((sciplot::Figure*)this)->sciplot::Figure::m_plots’, which is of non-class type ‘int’
140 | m_plots.emplace_back(row.begin(), row.end());
| ^~~~~~~~~~~~
/usr/local/include/sciplot/Figure.hpp: At global scope:
/usr/local/include/sciplot/Figure.hpp:143:53: error: ‘PlotXD’ was not declared in this scope; did you mean ‘Plot3D’?
143 | inline Figure::Figure(const std::vector<std::vector<PlotXD>>& plots)
| ^~~~~~
| Plot3D
/usr/local/include/sciplot/Figure.hpp:143:53: error: template argument 1 is invalid
/usr/local/include/sciplot/Figure.hpp:143:53: error: template argument 2 is invalid
/usr/local/include/sciplot/Figure.hpp:143:59: error: template argument 1 is invalid
143 | inline Figure::Figure(const std::vector<std::vector<PlotXD>>& plots)
| ^~
/usr/local/include/sciplot/Figure.hpp:143:59: error: template argument 2 is invalid
/usr/local/include/sciplot/Figure.hpp:143:8: error: redefinition of ‘sciplot::Figure::Figure(const int&)’
143 | inline Figure::Figure(const std::vector<std::vector<PlotXD>>& plots)
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp:130:8: note: ‘sciplot::Figure::Figure(const int&)’ previously defined here
130 | inline Figure::Figure(const std::initializer_list<std::initializer_list<PlotXD>>& plots)
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp: In member function ‘void sciplot::Figure::saveplotdata() const’:
/usr/local/include/sciplot/Figure.hpp:190:27: error: ‘begin’ was not declared in this scope; did you mean ‘std::begin’?
190 | for(const auto& row : m_plots) {
| ^~~~~~~
| std::begin
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1224:5: note: ‘std::begin’ declared here
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:190:27: error: ‘end’ was not declared in this scope; did you mean ‘std::end’?
190 | for(const auto& row : m_plots) {
| ^~~~~~~
| std::end
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1244:5: note: ‘std::end’ declared here
1244 | end(const valarray<_Tp>& __va)
| ^~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:192:36: error: ‘get_if’ is not a member of ‘std’
192 | if(auto *plot_p = std::get_if<Plot>(&plot)) {
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp:192:47: error: expected primary-expression before ‘>’ token
192 | if(auto *plot_p = std::get_if<Plot>(&plot)) {
| ^
/usr/local/include/sciplot/Figure.hpp:194:43: error: ‘get_if’ is not a member of ‘std’
194 | } else if(auto *plot_p = std::get_if<Plot3D>(&plot)) {
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp:194:56: error: expected primary-expression before ‘>’ token
194 | } else if(auto *plot_p = std::get_if<Plot3D>(&plot)) {
| ^
/usr/local/include/sciplot/Figure.hpp: In member function ‘void sciplot::Figure::show() const’:
/usr/local/include/sciplot/Figure.hpp:219:27: error: ‘begin’ was not declared in this scope; did you mean ‘std::begin’?
219 | for(const auto& row : m_plots) {
| ^~~~~~~
| std::begin
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1224:5: note: ‘std::begin’ declared here
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:219:27: error: ‘end’ was not declared in this scope; did you mean ‘std::end’?
219 | for(const auto& row : m_plots) {
| ^~~~~~~
| std::end
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1244:5: note: ‘std::end’ declared here
1244 | end(const valarray<_Tp>& __va)
| ^~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:221:36: error: ‘get_if’ is not a member of ‘std’
221 | if(auto *plot_p = std::get_if<Plot>(&plot)) {
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp:221:47: error: expected primary-expression before ‘>’ token
221 | if(auto *plot_p = std::get_if<Plot>(&plot)) {
| ^
/usr/local/include/sciplot/Figure.hpp:223:43: error: ‘get_if’ is not a member of ‘std’
223 | } else if(auto *plot_p = std::get_if<Plot3D>(&plot)) {
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp:223:56: error: expected primary-expression before ‘>’ token
223 | } else if(auto *plot_p = std::get_if<Plot3D>(&plot)) {
| ^
/usr/local/include/sciplot/Figure.hpp: In member function ‘void sciplot::Figure::save(const string&) const’:
/usr/local/include/sciplot/Figure.hpp:274:27: error: ‘begin’ was not declared in this scope; did you mean ‘std::begin’?
274 | for(const auto& row : m_plots) {
| ^~~~~~~
| std::begin
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1224:5: note: ‘std::begin’ declared here
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:274:27: error: ‘end’ was not declared in this scope; did you mean ‘std::end’?
274 | for(const auto& row : m_plots) {
| ^~~~~~~
| std::end
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1244:5: note: ‘std::end’ declared here
1244 | end(const valarray<_Tp>& __va)
| ^~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:276:36: error: ‘get_if’ is not a member of ‘std’
276 | if(auto *plot_p = std::get_if<Plot>(&plot)) {
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp:276:47: error: expected primary-expression before ‘>’ token
276 | if(auto *plot_p = std::get_if<Plot>(&plot)) {
| ^
/usr/local/include/sciplot/Figure.hpp:278:43: error: ‘get_if’ is not a member of ‘std’
278 | } else if(auto *plot_p = std::get_if<Plot3D>(&plot)) {
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp:278:56: error: expected primary-expression before ‘>’ token
278 | } else if(auto *plot_p = std::get_if<Plot3D>(&plot)) {
| ^
/usr/local/include/sciplot/Figure.hpp: In member function ‘void sciplot::Figure::cleanup() const’:
/usr/local/include/sciplot/Figure.hpp:311:27: error: ‘begin’ was not declared in this scope; did you mean ‘std::begin’?
311 | for(const auto& row : m_plots) {
| ^~~~~~~
| std::begin
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1224:5: note: ‘std::begin’ declared here
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:311:27: error: ‘end’ was not declared in this scope; did you mean ‘std::end’?
311 | for(const auto& row : m_plots) {
| ^~~~~~~
| std::end
In file included from /usr/local/include/sciplot/Utils.hpp:37,
from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/include/c++/9/valarray:1244:5: note: ‘std::end’ declared here
1244 | end(const valarray<_Tp>& __va)
| ^~~
In file included from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Figure.hpp:313:36: error: ‘get_if’ is not a member of ‘std’
313 | if(auto *plot_p = std::get_if<Plot>(&plot)) {
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp:313:47: error: expected primary-expression before ‘>’ token
313 | if(auto *plot_p = std::get_if<Plot>(&plot)) {
| ^
/usr/local/include/sciplot/Figure.hpp:315:43: error: ‘get_if’ is not a member of ‘std’
315 | } else if(auto *plot_p = std::get_if<Plot3D>(&plot)) {
| ^~~~~~
/usr/local/include/sciplot/Figure.hpp:315:56: error: expected primary-expression before ‘>’ token
315 | } else if(auto *plot_p = std::get_if<Plot3D>(&plot)) {
| ^
In file included from /usr/local/include/sciplot/specs/FontSpecsOf.hpp:29,
from /usr/local/include/sciplot/specs/TextSpecsOf.hpp:30,
from /usr/local/include/sciplot/specs/AxisLabelSpecs.hpp:30,
from /usr/local/include/sciplot/PlotBase.hpp:37,
from /usr/local/include/sciplot/Plot.hpp:37,
from /usr/local/include/sciplot/Figure.hpp:33,
from /usr/local/include/sciplot/sciplot.hpp:32,
from project.cpp:2:
/usr/local/include/sciplot/Utils.hpp: In instantiation of ‘auto sciplot::internal::escapeIfNeeded(const T&) [with T = double]’:
/usr/local/include/sciplot/Utils.hpp:148:26: required from ‘std::ostream& sciplot::internal::writeline(std::ostream&, std::size_t, const VectorType&, const Args& ...) [with VectorType = std::valarray<double>; Args = {std::_Expr<std::__detail::_UnClos<std::_Sin, std::_ValArray, double>, double>}; std::ostream = std::basic_ostream<char>; std::size_t = long unsigned int]’
/usr/local/include/sciplot/Utils.hpp:159:18: required from ‘std::ostream& sciplot::internal::write(std::ostream&, const Args& ...) [with Args = {std::valarray<double>, std::_Expr<std::__detail::_UnClos<std::_Sin, std::_ValArray, double>, double>}; std::ostream = std::basic_ostream<char>]’
/usr/local/include/sciplot/Utils.hpp:230:20: required from ‘std::ostream& sciplot::gnuplot::writedataset(std::ostream&, std::size_t, const Args& ...) [with Args = {std::valarray<double>, std::_Expr<std::__detail::_UnClos<std::_Sin, std::_ValArray, double>, double>}; std::ostream = std::basic_ostream<char>; std::size_t = long unsigned int]’
/usr/local/include/sciplot/Plot.hpp:480:26: required from ‘sciplot::DrawSpecs& sciplot::Plot::drawWithVecs(const string&, const X&, const Vecs& ...) [with X = std::valarray<double>; Vecs = {std::_Expr<std::__detail::_UnClos<std::_Sin, std::_ValArray, double>, double>}; std::string = std::__cxx11::basic_string<char>]’
/usr/local/include/sciplot/Plot.hpp:525:38: required from ‘sciplot::DrawSpecs& sciplot::Plot::drawCurve(const X&, const Y&) [with X = std::valarray<double>; Y = std::_Expr<std::__detail::_UnClos<std::_Sin, std::_ValArray, double>, double>]’
project.cpp:23:34: required from here
/usr/local/include/sciplot/Utils.hpp:132:21: error: invalid operands of types ‘const char [2]’ and ‘const double’ to binary ‘operator+’
132 | return "\"" + val + "\"";
| ~~~~~^~~~~