Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std::runtime_error #408

Open
LorraineWen opened this issue Jun 20, 2024 · 5 comments
Open

std::runtime_error #408

LorraineWen opened this issue Jun 20, 2024 · 5 comments

Comments

@LorraineWen
Copy link

The exception at 0x00007FFDADE1F39C (located in vcpkgtest.exe) is an unhandled exception: Microsoft C++ exception: std::runtime_error, at memory location 0x0000009D7A9AE9F8.
image
I used matplotplusplus in VS2022 with Debug and Release mode,but all failed

@LorraineWen
Copy link
Author

//this is my procedure
#include <matplot/matplot.h>
int main() {
using namespace matplot;

std::vector<double> x = { 1, 2, 3, 4, 5 };
std::vector<double> y = { 1, 4, 2, 5, 3 };

plot(x, y);
show();

return 0;

}

@leha-bot
Copy link
Contributor

It seems that your OS couldn't open the pipe for gnuplot subprocess.. 🤔

@alandefreitas
Copy link
Owner

It just can't open and run the command gnuplot -e "set terminal" wxt for some reason. Usually, because Gnuplot is not installed. You can check that in the command line.

@LorraineWen
Copy link
Author

It just can't open and run the command gnuplot -e "set terminal" wxt for some reason. Usually, because Gnuplot is not installed. You can check that in the command line.

thanks,solved

@LorraineWen
Copy link
Author

It seems that your OS couldn't open the pipe for gnuplot subprocess.. 🤔

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants