matplotlib-cpp icon indicating copy to clipboard operation
matplotlib-cpp copied to clipboard

Error 0xC000007B

Open cooky922 opened this issue 4 years ago • 1 comments

I got this runtime error code 0xC000007B.

Source Code:

#define _USE_MATH_DEFINES
#include <iostream>
#include <matplotlib/matplotlibcpp.h>
namespace plt = matplotlibcpp;

int main() {

    plt::plot({1,3,2,4});
    plt::show();

    return 0;
}
  • I already linked the -lpython39 or libpython39.a.
  • I have already included the header directory of numpy core, matplotlib, and python correctly. (i changed the include path of matplotlib)
  • I have also placed python39.dll on system32 folder (windows OS)
  • I don't have any compilation and linking errors at all.

cooky922 avatar Apr 21 '21 11:04 cooky922

can you post the actual error output?

worthless443 avatar Jan 02 '22 18:01 worthless443