|
From: Lee D. <le...@ea...> - 2007-09-27 14:19:30
|
I updated actuator_dlg.cpp and actuator_dlg.h. Then i did
make clean
make
I got the errors below. I'm a little tired of chasing errors through
this code.
************************************************************************************
plot.cpp: In function ‘void LoadColour(JSBSim::Element*, wxColour&)’:
plot.cpp:141: error: invalid conversion from ‘const wxChar*’ to ‘long
unsigned int’
plot.cpp:141: error: initializing argument 1 of ‘void
wxColour::Set(long unsigned int)’
plot.cpp: In function ‘void LoadFont(JSBSim::Element*, wxFont&)’:
plot.cpp:240: error: void value not ignored as it ought to be
plot.cpp:247: error: void value not ignored as it ought to be
plot.cpp: In function ‘void ExportColour(wxTextOutputStream&, const
wxString&, const wxColour&, const wxString&)’:
plot.cpp:357: error: ‘const class wxColour’ has no member named
‘GetAsString’
plot.cpp:357: error: ‘wxC2S_HTML_SYNTAX’ was not declared in this scope
plot.cpp: In function ‘void ExportFunction(wxTextOutputStream&, const
wxString&, const JSBSim::FGFunction*)’:
plot.cpp:730: error: ‘const class JSBSim::FGFunction’ has no member
named ‘GetDescription’
plot.cpp:737: error: passing ‘const JSBSim::FGFunction’ as ‘this’
argument of ‘JSBSim::FGParameter*
JSBSim::FGFunction::GetParameter(size_t)’ discards qualifiers
plot.cpp:744: error: passing ‘const JSBSim::FGFunction’ as ‘this’
argument of ‘JSBSim::FGParameter*
JSBSim::FGFunction::GetParameter(size_t)’ discards qualifiers
plot.cpp:747: error: ‘const class JSBSim::FGPropertyValue’ has no member
named ‘GetName’
plot.cpp:751: error: passing ‘const JSBSim::FGFunction’ as ‘this’
argument of ‘JSBSim::FGParameter*
JSBSim::FGFunction::GetParameter(size_t)’ discards qualifiers
plot.cpp:758: error: passing ‘const JSBSim::FGFunction’ as ‘this’
argument of ‘JSBSim::FGParameter*
JSBSim::FGFunction::GetParameter(size_t)’ discards qualifiers
plot.cpp: In member function ‘void PlotCanvas::mkMenu(wxMenu&)’:
plot.cpp:7285: error: ‘class wxMenu’ has no member named ‘AppendSubMenu’
/usr/include/wx-2.6/wx/fontdlg.h: In member function ‘void
PlotCanvas::OnFont(wxCommandEvent&)’:
/usr/include/wx-2.6/wx/fontdlg.h:105: error: too many arguments to
function ‘wxFont wxGetFontFromUser(wxWindow*, const wxFont&)’
plot.cpp:7334: error: at this point in file
plot.cpp:7335: error: ‘class wxFont’ has no member named ‘IsOk’
/usr/include/wx-2.6/wx/fontdlg.h:105: error: too many arguments to
function ‘wxFont wxGetFontFromUser(wxWindow*, const wxFont&)’
plot.cpp:7345: error: at this point in file
plot.cpp:7346: error: ‘class wxFont’ has no member named ‘IsOk’
/usr/include/wx-2.6/wx/fontdlg.h:105: error: too many arguments to
function ‘wxFont wxGetFontFromUser(wxWindow*, const wxFont&)’
plot.cpp:7360: error: at this point in file
plot.cpp:7361: error: ‘class wxFont’ has no member named ‘IsOk’
/usr/include/wx-2.6/wx/colordlg.h: In member function ‘void
PlotCanvas::OnPen(wxCommandEvent&)’:
/usr/include/wx-2.6/wx/colordlg.h:36: error: too many arguments to
function ‘wxColour wxGetColourFromUser(wxWindow*, const wxColour&)’
plot.cpp:7426: error: at this point in file
plot.cpp:7427: error: ‘class wxColour’ has no member named ‘IsOk’
/usr/include/wx-2.6/wx/colordlg.h: In member function ‘void
PenSettingDialog::OnColour(wxCommandEvent&)’:
/usr/include/wx-2.6/wx/colordlg.h:36: error: too many arguments to
function ‘wxColour wxGetColourFromUser(wxWindow*, const wxColour&)’
plot.cpp:7862: error: at this point in file
plot.cpp:7863: error: ‘class wxColour’ has no member named ‘IsOk’
make[2]: *** [plot.o] Error 1
make[2]: Leaving directory
`/home/duke/Simulation/jsbsim_commander/src/mattplot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src'
make: *** [all-recursive] Error 1
|