The full error is:
8>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code -1073740791.
I am trying to use QCustomPlot in my main.cpp file. I already added the qcustomplot.cpp and qcustomplot.h files to my project. I also have the necessary QtPrintSupport .dlls, libs, and folders.
The code that causes the error:
QCustomPlot *customPlot = new QCustomPlot();
If I use QCustomPlot at all, it fails. I have no idea why it is behaving this way, and I have found that the Microsoft.CppCommon.targets error points to a <CustomBuild> tag. However, I did not touch this tag at all.
I must be missing something. First time using QCustomPlot.