Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I get the following compilation error under Linux when compiling with g++ v.4.1.2:
mathplot.cpp: In member function 'void mpFXYVector::SetData(const std::vector<double, std::allocator<double> >&, const std::vector<double, std::allocator<double> >&)':
mathplot.cpp:2385: error: 'wxLogError' was not declared in this scope
I am using mathplot.cpp rev.66. Compiles fine under Windows.
I guess I am missing an include file but there seem to be no other wxWidgets related compilation errors.
Any thoughts please?
Concluded that mathplot.cpp fails to compile when precompiled headers our used (compile option -DWX_PRECOMP).
This is probably because inclusion of wx/wxprec.h is commented out in mathplot.cpp rev.66:
// For compilers that support precompilation, includes "wx.h".
(Don't understand why this has been done).
So solution for me is to not use precompiled headers (delete -DWX_PRECOMP) from compile command.
I suggest this is a bug.