'gnuplot' is not recognized as an internal or external command, operable program or batch file
SupreetKurdekar opened this issue · 3 comments
SupreetKurdekar commented
Bug category
- bug - compilation error
- bug - compilation warning
- [ x] bug - runtime error
- bug - runtime warning
- bug - logic error
Describe the bug
Running simple line plot code from Visual Studio. I get the error "GNUPlot is not an internal command"
Steps to Reproduce
Installed Matplot++ from VCPKG. Can see and use matplot++ code in main function. But cant generate plots due to above error
Output
'gnuplot' is not recognized as an internal or external command,
operable program or batch file.
Press ENTER to continue...
Platform
- cross-platform issue - linux
- [ x] cross-platform issue - windows
- cross-platform issue - macos
Environment Details:
- OS: Windows 10
- OS Version:
- Compiler: MSBuild
- Compiler version:
alandefreitas commented
Is gnuplot installed and in PATH? I'm not sure vcpkg can do that for you. I don't know much about what vcpkg can do.
LucasMSpereira commented
In windows 11, I ran into the same issue. Downloading and installing gnuplot, then reopening VS code solved it.