Open mukul-B opened 3 years ago
Error:C:/Users/dell/AppData/Local/Programs/Python/Python39/include/matplotlibcpp.h:340:20: error: redefinition of 'struct matplotlibcpp::detail::select_npy_type' template <> struct select_npy_type { const static NPY_TYPES type = NPY_INT64; }; ^~~~~~
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).
Error:C:/Users/dell/AppData/Local/Programs/Python/Python39/include/matplotlibcpp.h:340:20: error: redefinition of 'struct matplotlibcpp::detail::select_npy_type'
template <> struct select_npy_type { const static NPY_TYPES type = NPY_INT64; };
^
~~~~~in Clion.