You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(105) |
Jun
(3) |
Jul
(62) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(7) |
Feb
(6) |
Mar
(22) |
Apr
(6) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(21) |
Oct
(2) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Brice A. <bri...@am...> - 2011-08-27 11:22:48
|
Hello, I tried to use the executable of JSBSim Commander provided on the site, but it did not execute properly. I thus tried to compile it from sources. I succeeded after several patches applied to the code. During those modifications, I realised that last update is quite old and so, I have a question : is JSBSim Commander still supported ? A subsidiary question is : does a file generated from last version of JSBSim Commander will be properly handled by last version of JSBSIM ? What disturbs me is that I tried to open an existing aircraft file (distributed with JSBSim) with JSBSim Commander and it failed. If you are looking for support in order to maintain this project, I can offer my help. I have good knowledge of wxWidgets, but my knowledge in JSBSim stuff is really limitted. So, if there is a big work to ensure compatibility of this tool with the new version of wxWidgets, I will probably be of poor help. Regards, Brice André |
From: Thorsten S. <tho...@go...> - 2009-11-14 14:47:23
|
Hello JSBSim Team, I just compiled the commander on ubuntu 9.10 and I did need to make the following changes for it to succeed. Two times inclusion of <algorithm> for std::filter and a cast to double for std::abs. (The reason for the latter I do not fully understand though.) Would anybody care to consider adding these changes to the repository ? Here is the cvs diff output: Index: src/gui/Table_Diag.cpp =================================================================== RCS file: /cvsroot/jsbsimcommander/src/gui/Table_Diag.cpp,v retrieving revision 1.4 diff -r1.4 Table_Diag.cpp 13a14 > #include <algorithm> 32a34 > Index: src/math/MattMD.cpp =================================================================== RCS file: /cvsroot/jsbsimcommander/src/math/MattMD.cpp,v retrieving revision 1.1 diff -r1.1 MattMD.cpp 209c209 < if ( std::abs(( *i ).m_origin - ( *j ).m_origin ) > ZERO ) --- > if ( std::abs(double(( *i ).m_origin - ( *j ).m_origin )) > ZERO ) 211c211 < if ( std::abs(( *i ).m_max - ( *j ).m_max ) > ZERO ) --- > if ( std::abs(double(( *i ).m_max - ( *j ).m_max )) > ZERO ) 213c213 < if ( std::abs(( *i ).m_min < ( *j ).m_min ) > ZERO ) --- > if ( std::abs(double(( *i ).m_min < ( *j ).m_min )) > ZERO ) Index: src/mattplot/plot.cpp =================================================================== RCS file: /cvsroot/jsbsimcommander/src/mattplot/plot.cpp,v retrieving revision 1.6 diff -r1.6 plot.cpp 31a32 > #include <algorithm> Kind regards, Thorsten |
From: Jon S. B. <js...@ha...> - 2008-07-01 23:59:17
|
> I just did a CVS checkout and build of JSBSimCommander. > I am running on a Mac (10.5.3) and I have wxWidgets 2.8.8 installed. > I did a CVS checkout then autogen.sh, configure, make and all seemed > to go fine. > The result was two different executables: Commander and > JSBSimCommander. If I run either of them I get a window with some > widgets, but it is completely frozen. I can't click in the window or > get it to respond in any way. It doesn't take much CPU, and I can > just kill it from a terminal. > > Any suggestions about what is happening, or what I can do to get it to > work? > > Thanks, > > --Adam Adam, I haven't ever built Commander on a Mac, so I'm not sure what could be happening. Also, Commander has not been updated for some time, now, so likely JSBSim has grown some new features that are not supported, anyway. Jon |
From: Adam D. <de...@al...> - 2008-07-01 20:24:49
|
I just did a CVS checkout and build of JSBSimCommander. I am running on a Mac (10.5.3) and I have wxWidgets 2.8.8 installed. I did a CVS checkout then autogen.sh, configure, make and all seemed to go fine. The result was two different executables: Commander and JSBSimCommander. If I run either of them I get a window with some widgets, but it is completely frozen. I can't click in the window or get it to respond in any way. It doesn't take much CPU, and I can just kill it from a terminal. Any suggestions about what is happening, or what I can do to get it to work? Thanks, --Adam |
From: Jon S. B. <js...@ha...> - 2007-10-09 11:34:52
|
> I've been trying to use jsbsimcommander with a model I recently > developed. That model contains an autopilot, but nothing from the > autopilot shows up in jsbsimcomander. I think that JSBSimCommander does not currently read files that are referenced, nor does it read any control system definitions outside of the flight_control element (that is, it won't yet read items in the autopilot element). Jon |
From: Lee D. <du...@ra...> - 2007-10-09 11:19:30
|
I've been trying to use jsbsimcommander with a model I recently developed. That model contains an autopilot, but nothing from the autopilot shows up in jsbsimcomander. |
From: Yurik V. N. <yu...@me...> - 2007-09-28 05:36:01
|
Hi Matthew! =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 27 =D3=C5=CE=D4=D1=C2=D2=D1 2007 Mat= thew Gong =CE=C1=D0=C9=D3=C1=CC(a): > Yes, it just works like this! Check the manuals for wxWidgets: > > wxString::ToDouble > > bool ToDouble(double *val) const > > Attempts to convert the string to a floating point number. Returns true > on success (the number is stored in the location pointed to by val) or > false if the string does not represent such number I look into src. ToDouble() return true if all ok, and zero if some wrong. = But=20 conversion from string to double done right... Imho, problem is null-terminated string on my system - there is extended ch= eck=20 for it in ToDouble(). May be, wxStrtod( start, &end) ?=20 =2D-=20 Wbr, Yurik |
From: Matthew G. <mat...@gm...> - 2007-09-27 14:35:25
|
Lee, I feel very sorry that I just test it under wxGTK-2.8, and it seems that 2.8 has more features than 2.6 :) I need time to fix it. But now I need sleep to fix myself... Matt 在 2007-09-27四的 10:02 -0400,Lee Duke写道: > 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 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Jsbsimcommander-devel mailing list Jsb...@li... https://lists.sourceforge.net/lists/listinfo/jsbsimcommander-devel |
From: Matthew G. <mat...@gm...> - 2007-09-27 14:25:31
|
Hi Lee, Just be patient. It seems that the anonymous CVS system has not been synced with the main CVS tree. (I guess) If I'm right, just wait and type 'cvs update' one or more times until actuator_dlg.cpp is updated. Matt 在 2007-09-27四的 09:45 -0400,Lee Duke写道: > actuator_dlg.cpp:279: error: conversion from ‘const char [1]’ > to ‘const wxString’ is ambiguous > /usr/include/wx-2.6/wx/string.h:643: note: candidates are: > wxString::wxString(wxChar, size_t) <near match> > /usr/include/wx-2.6/wx/string.h:633: note: > wxString::wxString(int) <near match> > actuator_dlg.cpp:280: error: conversion from ‘const char [1]’ > to ‘const wxString’ is ambiguous > /usr/include/wx-2.6/wx/string.h:643: note: candidates are: > wxString::wxString(wxChar, size_t) <near match> > /usr/include/wx-2.6/wx/string.h:633: note: > wxString::wxString(int) <near match> > actuator_dlg.cpp:281: error: conversion from ‘const char [1]’ > to ‘const wxString’ is ambiguous > /usr/include/wx-2.6/wx/string.h:643: note: candidates are: > wxString::wxString(wxChar, size_t) <near match> > /usr/include/wx-2.6/wx/string.h:633: note: > wxString::wxString(int) <near match> > actuator_dlg.cpp:282: error: conversion from ‘const char [1]’ > to ‘const wxString’ is ambiguous |
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 |
From: Lee D. <le...@ea...> - 2007-09-27 14:02:00
|
Matthew Gong wrote: > Hi Lee, > Oh, I check the cvs version, and sensor.h/.cpp is not ready for > unicode mode... > I've fix it. > > Matt > > 在 2007-09-26三的 18:39 -0400,Lee Duke写道: > >>> >>> >> Okay. I updated my files from the cvs repository. >> >> Now, besides about two billion warnings, I get: >> [snip] >> sensor.cpp:199: error: ambiguous overload for ‘operator<<’ in >> ‘((wxTextOutputStream*)((wxTextOutputStream*)((wxTextOutputStream*)stream)->wxTextOutputStream::operator<<(((const wxString&)((const wxString*)(& Pre)))))->wxTextOutputStream::operator<<(((const wchar_t*)" \000\000\000 \000\000\000<\000\000\000m\000\000\000a\000\000\000x\000\000\000>\000\000\000\000\000\000")))->wxTextOutputStream::operator<<(((Sensor*)this)->Sensor::min) << "</max>"’ >> [snip] >> sensor.cpp:247: error: no match for ‘operator=’ in >> ‘((Sensor*)this)->Sensor::quant_property = >> JSBSim::Element::GetAttributeValue(std::string)(std::basic_string<char, std::char_traits<char>, std::allocator<char> >(((const char*)"name"), ((const std::allocator<char>&)((const std::allocator<char>*)(& std::allocator<char>())))))’ >> >> I wouldn't normally complain about the warning, but in this case they >> make it very difficult to spot the errors. >> >> Lee >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ Jsbsimcommander-devel mailing list Jsb...@li... https://lists.sourceforge.net/lists/listinfo/jsbsimcommander-devel >> > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Jsbsimcommander-devel mailing list > Jsb...@li... > https://lists.sourceforge.net/lists/listinfo/jsbsimcommander-devel > Now I have different errors. Maybe I missed them last time. Here's the entire record--- make Making all in src make[1]: Entering directory `/home/duke/Simulation/jsbsim_commander/src' Making all in simgear make[2]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/simgear' Making all in props make[3]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/simgear/props' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/simgear/props' Making all in xml make[3]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/simgear/xml' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/simgear/xml' make[3]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/simgear' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/simgear' make[2]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/simgear' Making all in input_output make[2]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/input_output' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/input_output' Making all in math make[2]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/math' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/math' Making all in wx make[2]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/wx' Making all in deprecated make[3]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/wx/deprecated' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/wx/deprecated' Making all in ogl make[3]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/wx/ogl' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/wx/ogl' Making all in plot make[3]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/wx/plot' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/wx/plot' make[3]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/wx' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/wx' make[2]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/wx' Making all in gui make[2]: Entering directory `/home/duke/Simulation/jsbsim_commander/src/gui' if g++ -DPACKAGE_NAME=\"JSBSimCommander\" -DPACKAGE_TARNAME=\"jsbsimcommander\" -DPACKAGE_VERSION=\"0.1.2\" -DPACKAGE_STRING=\"JSBSimCommander\ 0.1.2\" -DPACKAGE_BUGREPORT=\"mat...@gm...\" -DPACKAGE=\"jsbsimcommander\" -DVERSION=\"0.1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -I../../src -I../../src/math -I../../src/input_output -I../../src/simgear/xml -I../../src/gui -I../../src/bitmaps -DwxUSE_DEPRECATED=1 -DwxUSE_PROLOGIO=1 -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g -O2 -MT sensor_dlg.o -MD -MP -MF ".deps/sensor_dlg.Tpo" -c -o sensor_dlg.o sensor_dlg.cpp; \ then mv -f ".deps/sensor_dlg.Tpo" ".deps/sensor_dlg.Po"; else rm -f ".deps/sensor_dlg.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"JSBSimCommander\" -DPACKAGE_TARNAME=\"jsbsimcommander\" -DPACKAGE_VERSION=\"0.1.2\" -DPACKAGE_STRING=\"JSBSimCommander\ 0.1.2\" -DPACKAGE_BUGREPORT=\"mat...@gm...\" -DPACKAGE=\"jsbsimcommander\" -DVERSION=\"0.1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -I../../src -I../../src/math -I../../src/input_output -I../../src/simgear/xml -I../../src/gui -I../../src/bitmaps -DwxUSE_DEPRECATED=1 -DwxUSE_PROLOGIO=1 -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g -O2 -MT actuator.o -MD -MP -MF ".deps/actuator.Tpo" -c -o actuator.o actuator.cpp; \ then mv -f ".deps/actuator.Tpo" ".deps/actuator.Po"; else rm -f ".deps/actuator.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"JSBSimCommander\" -DPACKAGE_TARNAME=\"jsbsimcommander\" -DPACKAGE_VERSION=\"0.1.2\" -DPACKAGE_STRING=\"JSBSimCommander\ 0.1.2\" -DPACKAGE_BUGREPORT=\"mat...@gm...\" -DPACKAGE=\"jsbsimcommander\" -DVERSION=\"0.1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -I../../src -I../../src/math -I../../src/input_output -I../../src/simgear/xml -I../../src/gui -I../../src/bitmaps -DwxUSE_DEPRECATED=1 -DwxUSE_PROLOGIO=1 -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -g -O2 -MT actuator_dlg.o -MD -MP -MF ".deps/actuator_dlg.Tpo" -c -o actuator_dlg.o actuator_dlg.cpp; \ then mv -f ".deps/actuator_dlg.Tpo" ".deps/actuator_dlg.Po"; else rm -f ".deps/actuator_dlg.Tpo"; exit 1; fi actuator_dlg.cpp: In member function ‘void ActuatorComponentEditor::GetDataIn(Actuator*)’: actuator_dlg.cpp:279: error: conversion from ‘const char [1]’ to ‘const wxString’ is ambiguous /usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int) <near match> actuator_dlg.cpp:280: error: conversion from ‘const char [1]’ to ‘const wxString’ is ambiguous /usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int) <near match> actuator_dlg.cpp:281: error: conversion from ‘const char [1]’ to ‘const wxString’ is ambiguous /usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int) <near match> actuator_dlg.cpp:282: error: conversion from ‘const char [1]’ to ‘const wxString’ is ambiguous /usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int) <near match> make[2]: *** [actuator_dlg.o] Error 1 make[2]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src/gui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/duke/Simulation/jsbsim_commander/src' make: *** [all-recursive] Error 1 |
From: Jon S. B. <js...@ha...> - 2007-09-27 12:27:15
|
> > All of your emails are coming to me blank. Which mailer are you > using? > > > > Hi Jon, > I just use GMail : mat...@gm... > > Matt I see this one! Jon |
From: Matthew G. <mat...@gm...> - 2007-09-27 11:58:23
|
> > All of your emails are coming to me blank. Which mailer are you using? > Hi Jon, I just use GMail : mat...@gm... Matt |
From: Jon S. B. <js...@ha...> - 2007-09-27 11:23:46
|
Matthew: All of your emails are coming to me blank. Which mailer are you using? Jon |
From: Matthew G. <mat...@gm...> - 2007-09-27 10:53:58
|
在 2007-09-27四的 17:44 +0700,Yurik V. Nikiforoff写道: > > If I write: > cout<<text_ctrl_info_cfgver->GetValue().ToDouble(&d)<<endl; > > I get zero, but "d" have proper value (2). > > > Yes, it just works like this! Check the manuals for wxWidgets: wxString::ToDouble bool ToDouble(double *val) const Attempts to convert the string to a floating point number. Returns true on success (the number is stored in the location pointed to by val) or false if the string does not represent such number Matt |
From: Matthew G. <mat...@gm...> - 2007-09-27 10:48:10
|
Hi Lee, Oh, I check the cvs version, and sensor.h/.cpp is not ready for unicode mode... I've fix it. Matt 在 2007-09-26三的 18:39 -0400,Lee Duke写道: > > > Okay. I updated my files from the cvs repository. > > Now, besides about two billion warnings, I get: > [snip] > sensor.cpp:199: error: ambiguous overload for ‘operator<<’ in > ‘((wxTextOutputStream*)((wxTextOutputStream*)((wxTextOutputStream*)stream)->wxTextOutputStream::operator<<(((const wxString&)((const wxString*)(& Pre)))))->wxTextOutputStream::operator<<(((const wchar_t*)" \000\000\000 \000\000\000<\000\000\000m\000\000\000a\000\000\000x\000\000\000>\000\000\000\000\000\000")))->wxTextOutputStream::operator<<(((Sensor*)this)->Sensor::min) << "</max>"’ > [snip] > sensor.cpp:247: error: no match for ‘operator=’ in > ‘((Sensor*)this)->Sensor::quant_property = > JSBSim::Element::GetAttributeValue(std::string)(std::basic_string<char, std::char_traits<char>, std::allocator<char> >(((const char*)"name"), ((const std::allocator<char>&)((const std::allocator<char>*)(& std::allocator<char>())))))’ > > I wouldn't normally complain about the warning, but in this case they > make it very difficult to spot the errors. > > Lee > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Jsbsimcommander-devel mailing list Jsb...@li... https://lists.sourceforge.net/lists/listinfo/jsbsimcommander-devel |
From: Yurik V. N. <yu...@me...> - 2007-09-27 10:45:37
|
Hi Matthew! =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 27 =D3=C5=CE=D4=D1=C2=D2=D1 2007 Mat= thew Gong =CE=C1=D0=C9=D3=C1=CC(a): > Hi Yurik, > It's strange! what does the version number is in your xml file? It's version 2.0. This is part of xml file (it's an-2): =3D=3D=3D <?xml version=3D"1.0"?> <?xml-stylesheet type=3D"text/xsl"=20 href=3D"http://jsbsim.sourceforge.net/JSBSim.xsl"?> <fdm_config name=3D"AN-2" version=3D"2.0" release=3D"ALPHA" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=3D"http://jsbsim.sourceforge.net/JSBSim.xs= d"> <fileheader> <author> Yurik V. Nikiforoff and Aeromatic v 0.9 </author> <filecreationdate> apr 2007 </filecreationdate> <version> 0.2 </version> <description>Legendary Russian AN-2</description> </fileheader> =2E.. =3D=3D=3D I check text_ctrl_info_cfgver->GetValue() : cout<<text_ctrl_info_cfgver->GetValue()<<endl; I get 2.0 After convert to double: double d;=20 text_ctrl_info_cfgver->GetValue().ToDouble(&d); cout << d << endl; I get 2 If I write: cout<<text_ctrl_info_cfgver->GetValue().ToDouble(&d)<<endl; I get zero, but "d" have proper value (2). =2D-=20 Wbr, Yurik |
From: Matthew G. <mat...@gm...> - 2007-09-27 10:31:09
|
Hi Yurik, It's strange! what does the version number is in your xml file? I have stop the process of checking the version number for the development status in the CVS. Matt 在 2007-09-27四的 13:05 +0700,Yurik V. Nikiforoff写道: > I find what text_ctrl_info_cfgver->GetValue().ToDouble( double * ) always > return zero (but write proper version of FDM into double variable). > > > > |
From: Yurik V. N. <yu...@me...> - 2007-09-27 06:05:22
|
I find what text_ctrl_info_cfgver->GetValue().ToDouble( double * ) always return zero (but write proper version of FDM into double variable). -- Wbr, Yurik |
From: Yurik V. N. <yu...@me...> - 2007-09-27 05:33:20
|
=F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 25 =D3=C5=CE=D4=D1=C2=D2=D1 2007 Mat= thew Gong =CE=C1=D0=C9=D3=C1=CC(a): > Hi, Yurik > Do you mean that you can not open the xml file created by > jsbsim_commander itself? Yes, it's true. I resolve this bug. See file AircraftDialog.cpp, line 2064 - 2073: =3D=3D=3D { double d; if ( text_ctrl_info_cfgver->GetValue().ToDouble(&d) ) { if (d < 2.0) return false; } // If comment it, it's allow for commander to read file. // commented by Yurik // else // return false; // <--- What is a strange code? this is always retur= n=20 false! } =3D=3D=3D =2D-=20 Wbr, Yurik |
From: Lee D. <le...@ea...> - 2007-09-26 22:56:09
|
Matthew Gong wrote: > Hi, Lee > It seems that you may need update the cvs files. > > it should have been changed from > alpha_max = wxString::Format("%g", data->alphaclmax); > to > alpha_max = wxString::Format(wxT("%g"), data->alphaclmax); > > In wxWidgets, > wxT("abc") micro means "abc" in ansi build, but L"abc" in unicode build; > and wxChar means char in ansi build, but w_char in unicode build. > > > Matt > > 在 2007-09-25二的 12:11 -0400,Lee Duke写道: > >> I tried jsbsimcommander on Fedora Core 6. I did >> ./configure >> make >> I got the following errors: >> [snip] >> AeroDynamics_Diag.cpp:145: error: no matching function for >> call to ‘wxString::Format(const char [3], const double&)’ >> /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: >> static wxString wxString::Format(const wxChar*, ...) >> AeroDynamics_Diag.cpp:146: error: no matching function for >> call to ‘wxString::Format(const char [3], const double&)’ >> /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: >> static wxString wxString::Format(const wxChar*, ...) >> AeroDynamics_Diag.cpp:151: error: no matching function for >> call to ‘wxString::Format(const char [3], const double&)’ >> /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: >> static wxString wxString::Format(const wxChar*, ...) >> AeroDynamics_Diag.cpp:152: error: no matching function for >> call to ‘wxString::Format(const char [3], const double&)’ >> /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: >> static wxString wxString::Format(const wxChar*, ...) >> make[2]: *** [AeroDynamics_Diag.o] Error 1 >> make[2]: Leaving directory >> `/home/duke/Simulation/JSBSimCommander-0.1.1/src/gui' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> `/home/duke/Simulation/JSBSimCommander-0.1.1/src' >> make: *** [all-recursive] Error 1 >> [duke@localhost JSBSimCommander-0.1.1]$ >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ Jsbsimcommander-devel mailing list Jsb...@li... https://lists.sourceforge.net/lists/listinfo/jsbsimcommander-devel >> > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Jsbsimcommander-devel mailing list > Jsb...@li... > https://lists.sourceforge.net/lists/listinfo/jsbsimcommander-devel > Okay. I updated my files from the cvs repository. Now, besides about two billion warnings, I get: [snip] sensor.cpp:199: error: ambiguous overload for ‘operator<<’ in ‘((wxTextOutputStream*)((wxTextOutputStream*)((wxTextOutputStream*)stream)->wxTextOutputStream::operator<<(((const wxString&)((const wxString*)(& Pre)))))->wxTextOutputStream::operator<<(((const wchar_t*)" \000\000\000 \000\000\000<\000\000\000m\000\000\000a\000\000\000x\000\000\000>\000\000\000\000\000\000")))->wxTextOutputStream::operator<<(((Sensor*)this)->Sensor::min) << "</max>"’ [snip] sensor.cpp:247: error: no match for ‘operator=’ in ‘((Sensor*)this)->Sensor::quant_property = JSBSim::Element::GetAttributeValue(std::string)(std::basic_string<char, std::char_traits<char>, std::allocator<char> >(((const char*)"name"), ((const std::allocator<char>&)((const std::allocator<char>*)(& std::allocator<char>())))))’ I wouldn't normally complain about the warning, but in this case they make it very difficult to spot the errors. Lee |
From: Matthew G. <mat...@gm...> - 2007-09-26 14:00:30
|
Hi, Lee It seems that you may need update the cvs files. it should have been changed from alpha_max = wxString::Format("%g", data->alphaclmax); to alpha_max = wxString::Format(wxT("%g"), data->alphaclmax); In wxWidgets, wxT("abc") micro means "abc" in ansi build, but L"abc" in unicode build; and wxChar means char in ansi build, but w_char in unicode build. Matt 在 2007-09-25二的 12:11 -0400,Lee Duke写道: > I tried jsbsimcommander on Fedora Core 6. I did > ./configure > make > I got the following errors: > [snip] > AeroDynamics_Diag.cpp:145: error: no matching function for > call to ‘wxString::Format(const char [3], const double&)’ > /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: > static wxString wxString::Format(const wxChar*, ...) > AeroDynamics_Diag.cpp:146: error: no matching function for > call to ‘wxString::Format(const char [3], const double&)’ > /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: > static wxString wxString::Format(const wxChar*, ...) > AeroDynamics_Diag.cpp:151: error: no matching function for > call to ‘wxString::Format(const char [3], const double&)’ > /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: > static wxString wxString::Format(const wxChar*, ...) > AeroDynamics_Diag.cpp:152: error: no matching function for > call to ‘wxString::Format(const char [3], const double&)’ > /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: > static wxString wxString::Format(const wxChar*, ...) > make[2]: *** [AeroDynamics_Diag.o] Error 1 > make[2]: Leaving directory > `/home/duke/Simulation/JSBSimCommander-0.1.1/src/gui' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/duke/Simulation/JSBSimCommander-0.1.1/src' > make: *** [all-recursive] Error 1 > [duke@localhost JSBSimCommander-0.1.1]$ > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Jsbsimcommander-devel mailing list Jsb...@li... https://lists.sourceforge.net/lists/listinfo/jsbsimcommander-devel |
From: Lee D. <le...@ea...> - 2007-09-25 16:27:50
|
I tried jsbsimcommander on Fedora Core 6. I did ./configure make I got the following errors: [snip] AeroDynamics_Diag.cpp:145: error: no matching function for call to ‘wxString::Format(const char [3], const double&)’ /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: static wxString wxString::Format(const wxChar*, ...) AeroDynamics_Diag.cpp:146: error: no matching function for call to ‘wxString::Format(const char [3], const double&)’ /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: static wxString wxString::Format(const wxChar*, ...) AeroDynamics_Diag.cpp:151: error: no matching function for call to ‘wxString::Format(const char [3], const double&)’ /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: static wxString wxString::Format(const wxChar*, ...) AeroDynamics_Diag.cpp:152: error: no matching function for call to ‘wxString::Format(const char [3], const double&)’ /usr/include/wx-2.6/wx/string.h:1085: note: candidates are: static wxString wxString::Format(const wxChar*, ...) make[2]: *** [AeroDynamics_Diag.o] Error 1 make[2]: Leaving directory `/home/duke/Simulation/JSBSimCommander-0.1.1/src/gui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/duke/Simulation/JSBSimCommander-0.1.1/src' make: *** [all-recursive] Error 1 [duke@localhost JSBSimCommander-0.1.1]$ |
From: Matthew G. <mat...@gm...> - 2007-09-25 13:50:07
|
Hi, Yurik Do you mean that you can not open the xml file created by jsbsim_commander itself? Although jsbsim_commander is far from completion, it should work. I compile it under ubuntu 7.04, with wxGTK-2.8: matt@matt-e680a:~/source/jsbsim_commander$ cd .. matt@matt-e680a:~/source$ mkdir bld-jsbsim_commander matt@matt-e680a:~/source$ cd bld-jsbsim_commander/ matt@matt-e680a:~/source/bld-jsbsim_commander $ ../jsbsim_commander/configure #create a file 'abc.xml' use 'save as' command' matt@matt-e680a:~/source/bld-jsbsim_commander$ ./src/Commander -r ../jsbsim_commander/src/rc #open the file 'abc.xml': matt@matt-e680a:~/source/bld-jsbsim_commander$ ./src/Commander -r ../jsbsim_commander/src/rc abc.xml can you give me more details or show me the xml file you created by commander? Matt 在 2007-09-25二的 16:55 +0700,Yurik V. Nikiforoff写道: > Hi all! > > I'm new user of jsbsimcommander and I have big trouble. I compile CVS version > under FreeBSD 7.0 gcc 4.2.1, commander is started, I see some widgets & > tools, I can create FDM output file. I can save my data into xml, and when I > open this file by text editor, I can see my data. > > But I can't read nothing from FDM xml files:( When I open file (real JSBSIM > FDM ver.2.0 or file, created by commander), I can't see any data into > commander. Only first string of xml file (fdm-config , name, version, > release) has parsed ok, but all data total disappear :( > > I try wxgtk2.6 & 2.8 from BSD ports - both work wrong:( > > I think, it's a problem of my workaround - may be, Commander not work for > FreeBSD. Can you help me to find bug? I can trace sources, but I know nothing > about wx and gnome widgets:( |
From: Jon S. B. <js...@ha...> - 2007-09-25 11:11:17
|
> Yurik, > > I was surprised to see your email. I'd given up on and forgotten about > JSBSimCommander because of all the problems I had compiling it. I'd > even > forgotten I was subscribed to the mailing list. I think the program is > pretty much unsupported for Linux. > > ??????? ???????, > > Lee Yurik: Yes, support has been slow, lately, for JSBSim Commander. I do not have a Linux machine, so I cannot try to debug it. I was hoping that we could get more help in developing JSBSim Commander, because it's a good idea, but I spend so much time developing JSBSim itself that I have no time left for Commander. Jon Berndt |