Note that I use MSYS2/Mingw-w64 for building gnuplot. (The original Mingw may or may not work. I haven't tried in a while because its Windows API support fell seriously behind at some point.) For (example) instructions using MSYS2, see [support-requests:#199].

I need libraries that I can link with a wxWidgets C++ project

I am not sure what you actually want to achieve. Please note that gnuplot is not a library. There are third-party libraries for many programming languages available which support using gnuplot, though.

 

Related

Support Requests: #199