undefined reference to 'mpWindow::mpWindow(wxWindow*, int, wxPoint const&, wxSize const&, long)'
I suspect that the definition of the constructor requires type wxWindowID instead of type int, but the documentation says that -1 is the default and I also can't find a way of generating a wxWindowID. What am I misunderstanding here?
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am new to wxMathPlot, but I think I installed it correctly on Ubuntu 10.10 (used the PPA that cdron77 provided).
I'm just trying to create a very simple "hello world" sort of program, but in my code, I have
but when I compile, I get the error:
I suspect that the definition of the constructor requires type wxWindowID instead of type int, but the documentation says that -1 is the default and I also can't find a way of generating a wxWindowID. What am I misunderstanding here?
Thank you!
Did you #include "mathplot.h" ? If you get this at compile time that is usually the problem.
Yeah, I did include mathplot.h. When I don't, it complains that mpWindow* itself is an unresolved reference, before complaining about the function.