matplotlib-cpp
matplotlib-cpp copied to clipboard
compilation error in clion in matplotlibcpp.h
Error:C:/Users/dell/AppData/Local/Programs/Python/Python39/include/matplotlibcpp.h:340:20: error: redefinition of 'struct matplotlibcpp::detail::select_npy_type
in Clion.
I have exactly the same issue under Windows. Pull request #271 fixes this for me (wrapping the offending lines in an #ifndef/#endif).