Discussion:
[Gmat-developers] notes on compiling GMAT on an Kubuntu Hardy 8.04 installation
Pablo Pita
2008-08-03 17:55:57 UTC
Permalink
Hello list,

I like to give some notes on compiling GMAT on an Kubuntu Hardy 8.04
installation. The overall compilation process is not that simple, and
problems arise. I was using gcc 4.2.


1.- I downloaded wxGTK v. 2.8.8 and I compiled it without Unicode
support (the default, as distros usually do it with Unicode).

I followed the documentation on the pdf and compiled statically.
./configure --with-opengl --disable-shared --enable-optimise

I got an error later when linking, seeing that the configuration
should be shared, so I did recompile it making it shared:
./configure --with-opengl --enable-shared --enable-optimise

This was the GMAT makefile output that gave me a clue in using a
shared version:

g++ app/AboutDialog.o app/GmatApp.o app/GmatAppData.o
app/CompareFilesDialog.o app/CompareTextDialog.o app/GmatConnection.o
app/GmatMainFrame.o app/GmatMenuBar.o app/GuiMessageReceiver.o
app/GmatNotebook.o app/GmatServer.o app/GmatTreeItemData.o
app/InteractiveMatlabDialog.o app/MissionTreeItemData.o
app/RunScriptFolderDialog.o app/ResourceTree.o app/ScriptPanel.o
app/SetPathDialog.o app/TextEphemFileDialog.o
burn/FiniteBurnSetupPanel.o burn/ImpulsiveBurnSetupPanel.o
command/AchievePanel.o command/AssignmentPanel.o
command/BeginFiniteBurnPanel.o command/CallFunctionPanel.o
command/EndFiniteBurnPanel.o command/ManeuverPanel.o
command/MinimizePanel.o command/NonlinearConstraintPanel.o
command/OptimizePanel.o command/PropagatePanel.o command/ReportPanel.o
command/SavePanel.o command/ScriptEventPanel.o command/TargetPanel.o
command/TogglePanel.o command/VaryPanel.o controllogic/ForDialog.o
controllogic/ForPanel.o controllogic/IfPanel.o
controllogic/WhilePanel.o coordsystem/CoordPanel.o
coordsystem/CoordSysCreateDialog.o
coordsystem/CoordSystemConfigPanel.o forcemodel/DragInputsDialog.o
foundation/ArraySetupPanel.o foundation/GmatDialog.o
foundation/GmatMdiChildFrame.o foundation/GmatPanel.o
foundation/GmatSavePanel.o foundation/GmatStaticBoxSizer.o
foundation/GuiItemManager.o foundation/MultiPathSetupPanel.o
foundation/ParameterCreateDialog.o foundation/ParameterSelectDialog.o
foundation/ParameterSetupPanel.o foundation/ShowScriptDialog.o
foundation/ShowSummaryDialog.o foundation/SinglePathSetupPanel.o
function/FunctionSetupPanel.o function/MatlabFunctionSetupPanel.o
hardware/TankConfigPanel.o hardware/ThrusterCoefficientDialog.o
hardware/ThrusterConfigPanel.o mission/DecoratedTree.o
mission/MissionTree.o output/CompareReportPanel.o output/OutputTree.o
output/ReportFilePanel.o plot/MdiChildTrajFrame.o
plot/MdiChildTsFrame.o plot/MdiGlPlotData.o plot/MdiTsPlotData.o
plot/OpenGlOptionDialog.o plot/OpenGlPlotSetupPanel.o
plot/ReportFileSetupPanel.o plot/TrajPlotCanvas.o plot/TsPlotCanvas.o
plot/TsPlotXYCanvas.o plot/TsPlotCurve.o plot/TsPlotOptionsDialog.o
plot/XyPlotSetupPanel.o propagator/PropagationConfigPanel.o
propagator/PropagatorSelectDialog.o solarsys/BarycenterPanel.o
solarsys/CelesBodySelectDialog.o solarsys/CelestialBodyPanel.o
solarsys/LibrationPointPanel.o solarsys/SolarSystemWindow.o
solarsys/UniversePanel.o solver/DCSetupPanel.o solver/SQPSetupPanel.o
solver/SolverCreatePanel.o solver/SolverGoalsPanel.o
solver/SolverVariablesPanel.o spacecraft/AttitudePanel.o
spacecraft/BallisticsMassPanel.o spacecraft/FormationSetupPanel.o
spacecraft/OrbitPanel.o spacecraft/SpacecraftPanel.o
spacecraft/SpaceObjectSelectDialog.o spacecraft/TankPanel.o
spacecraft/ThrusterPanel.o view/ViewTextDialog.o view/ViewTextFrame.o
../base/lib/libGmatGui.a -o gmatNoMatlab `/usr/local/bin/wx-config
--libs --gl-libs --static=no` -lIL -lILU -lILUT -lgfortran -lm



2.- I downladed DevIL-1.6.8 rc2 and compiled it. When trying the link
phase of GMAT with it, errors appeared due to undefined references for
several DevIL functions. Those errors were related to functions whose
argument type were of the form "(ILvoid)", with ILvoid being defined
as "typedef void ILvoid". That type of code in the functions seems not
legal in C++ (more information on
http://osdir.com/ml/linux.debian.devel.games.devel/2007-02/msg00006.html)
and I substituted in the DevIL headers that expression for plain
"(void)". After recompiling DevIL, this time there were no undefined
references from GMAT.


OK, after those issues, following the instructions in the different
files, I have got gmatNoMatab to run. I wonder about notifying DevIL
about the headers, although the project seems not active.


One last question: are there sample missions somewhere ?

Thanks,
--
Pablo Pita Leira
Darrel J. Conway
2008-08-05 20:21:45 UTC
Permalink
Thank you for the feedback, Pablo. This is very helpful!

We are in the process of getting ready for a new release at SourceForge,
once we complete some new functionality (you might notice some message
traffic about "GmatFunctions" at SourceForge). The compile instructions
are definitely out of date, and will be updated to capture items like
those you noted. I also hope to fix some issues that will let us build
for Linux without the DevIL libraries.

I regularly build and test on Mandriva (using KDE) and Ubuntu (using
Gnome); hopefully I'll be able to catch more of the compile procedure
and get everything updated while preparing the release.

Just out of curiosity -- I didn't see anything in your message about the
code base you used. Were you building from the Subversion source, or
the archived code on GMAT's download page? (The development team works
from a branch of the Subversion trunk named "development"; the code in
the Subversion trunk is intended to be a stable version of the
development code.)

I'm attaching a tarball with some sample missions in it. You'll need an
"output/SampleMissions" directory in the directory containing your
executable file; without it, you'll see an exception because GMAT won't
be able to initialize the objects that write output data. The script
files in the attachment are the sample missions that shipped with the
December release. Let me know if you are using the Subversion source
code for your build; if that is the case, there are some changes that
are needed to make these files work with the current code base.

You might also want to try some of the tutorials on GMAT's Wiki, which
can be found at http://gmat.ed-pages.com/wiki/tiki-index.php. These
tutorials are a work in progress, and so far are written by Windows
users, so the screen captures will be different from the Linux versions.
We are also in the process of getting some help testing on Linux.
Part of the reason we only advertise the Linux build as an "alpha"
release is because the GUI has not been tested very thoroughly on Linux.
You may find that some of the GUI panels are unstable on Linux -- if
that is the case, send me a note describing the issue (if you get a
chance), so that I can help the team debug it.

Thanks for the interest and the useful feedback on the build process!

- Darrel
Post by Pablo Pita
Hello list,
I like to give some notes on compiling GMAT on an Kubuntu Hardy 8.04
installation. The overall compilation process is not that simple, and
problems arise. I was using gcc 4.2.
1.- I downloaded wxGTK v. 2.8.8 and I compiled it without Unicode
support (the default, as distros usually do it with Unicode).
I followed the documentation on the pdf and compiled statically.
./configure --with-opengl --disable-shared --enable-optimise
I got an error later when linking, seeing that the configuration
./configure --with-opengl --enable-shared --enable-optimise
This was the GMAT makefile output that gave me a clue in using a
g++ app/AboutDialog.o app/GmatApp.o app/GmatAppData.o
app/CompareFilesDialog.o app/CompareTextDialog.o app/GmatConnection.o
app/GmatMainFrame.o app/GmatMenuBar.o app/GuiMessageReceiver.o
app/GmatNotebook.o app/GmatServer.o app/GmatTreeItemData.o
app/InteractiveMatlabDialog.o app/MissionTreeItemData.o
app/RunScriptFolderDialog.o app/ResourceTree.o app/ScriptPanel.o
app/SetPathDialog.o app/TextEphemFileDialog.o
burn/FiniteBurnSetupPanel.o burn/ImpulsiveBurnSetupPanel.o
command/AchievePanel.o command/AssignmentPanel.o
command/BeginFiniteBurnPanel.o command/CallFunctionPanel.o
command/EndFiniteBurnPanel.o command/ManeuverPanel.o
command/MinimizePanel.o command/NonlinearConstraintPanel.o
command/OptimizePanel.o command/PropagatePanel.o command/ReportPanel.o
command/SavePanel.o command/ScriptEventPanel.o command/TargetPanel.o
command/TogglePanel.o command/VaryPanel.o controllogic/ForDialog.o
controllogic/ForPanel.o controllogic/IfPanel.o
controllogic/WhilePanel.o coordsystem/CoordPanel.o
coordsystem/CoordSysCreateDialog.o
coordsystem/CoordSystemConfigPanel.o forcemodel/DragInputsDialog.o
foundation/ArraySetupPanel.o foundation/GmatDialog.o
foundation/GmatMdiChildFrame.o foundation/GmatPanel.o
foundation/GmatSavePanel.o foundation/GmatStaticBoxSizer.o
foundation/GuiItemManager.o foundation/MultiPathSetupPanel.o
foundation/ParameterCreateDialog.o foundation/ParameterSelectDialog.o
foundation/ParameterSetupPanel.o foundation/ShowScriptDialog.o
foundation/ShowSummaryDialog.o foundation/SinglePathSetupPanel.o
function/FunctionSetupPanel.o function/MatlabFunctionSetupPanel.o
hardware/TankConfigPanel.o hardware/ThrusterCoefficientDialog.o
hardware/ThrusterConfigPanel.o mission/DecoratedTree.o
mission/MissionTree.o output/CompareReportPanel.o output/OutputTree.o
output/ReportFilePanel.o plot/MdiChildTrajFrame.o
plot/MdiChildTsFrame.o plot/MdiGlPlotData.o plot/MdiTsPlotData.o
plot/OpenGlOptionDialog.o plot/OpenGlPlotSetupPanel.o
plot/ReportFileSetupPanel.o plot/TrajPlotCanvas.o plot/TsPlotCanvas.o
plot/TsPlotXYCanvas.o plot/TsPlotCurve.o plot/TsPlotOptionsDialog.o
plot/XyPlotSetupPanel.o propagator/PropagationConfigPanel.o
propagator/PropagatorSelectDialog.o solarsys/BarycenterPanel.o
solarsys/CelesBodySelectDialog.o solarsys/CelestialBodyPanel.o
solarsys/LibrationPointPanel.o solarsys/SolarSystemWindow.o
solarsys/UniversePanel.o solver/DCSetupPanel.o solver/SQPSetupPanel.o
solver/SolverCreatePanel.o solver/SolverGoalsPanel.o
solver/SolverVariablesPanel.o spacecraft/AttitudePanel.o
spacecraft/BallisticsMassPanel.o spacecraft/FormationSetupPanel.o
spacecraft/OrbitPanel.o spacecraft/SpacecraftPanel.o
spacecraft/SpaceObjectSelectDialog.o spacecraft/TankPanel.o
spacecraft/ThrusterPanel.o view/ViewTextDialog.o view/ViewTextFrame.o
../base/lib/libGmatGui.a -o gmatNoMatlab `/usr/local/bin/wx-config
--libs --gl-libs --static=no` -lIL -lILU -lILUT -lgfortran -lm
2.- I downladed DevIL-1.6.8 rc2 and compiled it. When trying the link
phase of GMAT with it, errors appeared due to undefined references for
several DevIL functions. Those errors were related to functions whose
argument type were of the form "(ILvoid)", with ILvoid being defined
as "typedef void ILvoid". That type of code in the functions seems not
legal in C++ (more information on
http://osdir.com/ml/linux.debian.devel.games.devel/2007-02/msg00006.html)
and I substituted in the DevIL headers that expression for plain
"(void)". After recompiling DevIL, this time there were no undefined
references from GMAT.
OK, after those issues, following the instructions in the different
files, I have got gmatNoMatab to run. I wonder about notifying DevIL
about the headers, although the project seems not active.
One last question: are there sample missions somewhere ?
Thanks,
--
-----------------------------------------------------------------------------------------------------
GMAT Architectural Design, Linux Development and Test Team

Darrel J. Conway, Ph.D. Thinking Systems, Inc.
Senior Scientist and CEO 6441 N Camino Libby
Phone: (623) 298-4530 Tucson, AZ 85718
FAX: (520) 232-2533 www.thinksysinc.com
djc_at_thinksysinc_dot_com
-----------------------------------------------------------------------------------------------------
Pablo Pita
2008-08-06 17:29:42 UTC
Permalink
Hello,
Post by Darrel J. Conway
Just out of curiosity -- I didn't see anything in your message about the
code base you used. Were you building from the Subversion source, or the
archived code on GMAT's download page? (The development team works from a
branch of the Subversion trunk named "development"; the code in the
Subversion trunk is intended to be a stable version of the development
code.)
I took subversion trunk.
Post by Darrel J. Conway
I'm attaching a tarball with some sample missions in it. You'll need an
"output/SampleMissions" directory in the directory containing your
executable file; without it, you'll see an exception because GMAT won't be
able to initialize the objects that write output data. The script files in
the attachment are the sample missions that shipped with the December
release. Let me know if you are using the Subversion source code for your
build; if that is the case, there are some changes that are needed to make
these files work with the current code base.
Fine ... I can do changes, no problem. I can also compile the
development branch if it is approaching a ready state.
Post by Darrel J. Conway
You might also want to try some of the tutorials on GMAT's Wiki, which can
be found at http://gmat.ed-pages.com/wiki/tiki-index.php. These tutorials
are a work in progress, and so far are written by Windows users, so the
screen captures will be different from the Linux versions. We are also in
the process of getting some help testing on Linux. Part of the reason we
only advertise the Linux build as an "alpha" release is because the GUI has
not been tested very thoroughly on Linux. You may find that some of the GUI
panels are unstable on Linux -- if that is the case, send me a note
describing the issue (if you get a chance), so that I can help the team
debug it.
Good to have this notice. So I hope to give it a try and I will
comment what my impressions are.

Pablo
Post by Darrel J. Conway
Thanks for the interest and the useful feedback on the build process!
- Darrel
Post by Pablo Pita
Hello list,
I like to give some notes on compiling GMAT on an Kubuntu Hardy 8.04
installation. The overall compilation process is not that simple, and
problems arise. I was using gcc 4.2.
1.- I downloaded wxGTK v. 2.8.8 and I compiled it without Unicode
support (the default, as distros usually do it with Unicode).
I followed the documentation on the pdf and compiled statically.
./configure --with-opengl --disable-shared --enable-optimise
I got an error later when linking, seeing that the configuration
./configure --with-opengl --enable-shared --enable-optimise
This was the GMAT makefile output that gave me a clue in using a
g++ app/AboutDialog.o app/GmatApp.o app/GmatAppData.o
app/CompareFilesDialog.o app/CompareTextDialog.o app/GmatConnection.o
app/GmatMainFrame.o app/GmatMenuBar.o app/GuiMessageReceiver.o
app/GmatNotebook.o app/GmatServer.o app/GmatTreeItemData.o
app/InteractiveMatlabDialog.o app/MissionTreeItemData.o
app/RunScriptFolderDialog.o app/ResourceTree.o app/ScriptPanel.o
app/SetPathDialog.o app/TextEphemFileDialog.o
burn/FiniteBurnSetupPanel.o burn/ImpulsiveBurnSetupPanel.o
command/AchievePanel.o command/AssignmentPanel.o
command/BeginFiniteBurnPanel.o command/CallFunctionPanel.o
command/EndFiniteBurnPanel.o command/ManeuverPanel.o
command/MinimizePanel.o command/NonlinearConstraintPanel.o
command/OptimizePanel.o command/PropagatePanel.o command/ReportPanel.o
command/SavePanel.o command/ScriptEventPanel.o command/TargetPanel.o
command/TogglePanel.o command/VaryPanel.o controllogic/ForDialog.o
controllogic/ForPanel.o controllogic/IfPanel.o
controllogic/WhilePanel.o coordsystem/CoordPanel.o
coordsystem/CoordSysCreateDialog.o
coordsystem/CoordSystemConfigPanel.o forcemodel/DragInputsDialog.o
foundation/ArraySetupPanel.o foundation/GmatDialog.o
foundation/GmatMdiChildFrame.o foundation/GmatPanel.o
foundation/GmatSavePanel.o foundation/GmatStaticBoxSizer.o
foundation/GuiItemManager.o foundation/MultiPathSetupPanel.o
foundation/ParameterCreateDialog.o foundation/ParameterSelectDialog.o
foundation/ParameterSetupPanel.o foundation/ShowScriptDialog.o
foundation/ShowSummaryDialog.o foundation/SinglePathSetupPanel.o
function/FunctionSetupPanel.o function/MatlabFunctionSetupPanel.o
hardware/TankConfigPanel.o hardware/ThrusterCoefficientDialog.o
hardware/ThrusterConfigPanel.o mission/DecoratedTree.o
mission/MissionTree.o output/CompareReportPanel.o output/OutputTree.o
output/ReportFilePanel.o plot/MdiChildTrajFrame.o
plot/MdiChildTsFrame.o plot/MdiGlPlotData.o plot/MdiTsPlotData.o
plot/OpenGlOptionDialog.o plot/OpenGlPlotSetupPanel.o
plot/ReportFileSetupPanel.o plot/TrajPlotCanvas.o plot/TsPlotCanvas.o
plot/TsPlotXYCanvas.o plot/TsPlotCurve.o plot/TsPlotOptionsDialog.o
plot/XyPlotSetupPanel.o propagator/PropagationConfigPanel.o
propagator/PropagatorSelectDialog.o solarsys/BarycenterPanel.o
solarsys/CelesBodySelectDialog.o solarsys/CelestialBodyPanel.o
solarsys/LibrationPointPanel.o solarsys/SolarSystemWindow.o
solarsys/UniversePanel.o solver/DCSetupPanel.o solver/SQPSetupPanel.o
solver/SolverCreatePanel.o solver/SolverGoalsPanel.o
solver/SolverVariablesPanel.o spacecraft/AttitudePanel.o
spacecraft/BallisticsMassPanel.o spacecraft/FormationSetupPanel.o
spacecraft/OrbitPanel.o spacecraft/SpacecraftPanel.o
spacecraft/SpaceObjectSelectDialog.o spacecraft/TankPanel.o
spacecraft/ThrusterPanel.o view/ViewTextDialog.o view/ViewTextFrame.o
../base/lib/libGmatGui.a -o gmatNoMatlab `/usr/local/bin/wx-config
--libs --gl-libs --static=no` -lIL -lILU -lILUT -lgfortran -lm
2.- I downladed DevIL-1.6.8 rc2 and compiled it. When trying the link
phase of GMAT with it, errors appeared due to undefined references for
several DevIL functions. Those errors were related to functions whose
argument type were of the form "(ILvoid)", with ILvoid being defined
as "typedef void ILvoid". That type of code in the functions seems not
legal in C++ (more information on
http://osdir.com/ml/linux.debian.devel.games.devel/2007-02/msg00006.html)
and I substituted in the DevIL headers that expression for plain
"(void)". After recompiling DevIL, this time there were no undefined
references from GMAT.
OK, after those issues, following the instructions in the different
files, I have got gmatNoMatab to run. I wonder about notifying DevIL
about the headers, although the project seems not active.
One last question: are there sample missions somewhere ?
Thanks,
--
-----------------------------------------------------------------------------------------------------
GMAT Architectural Design, Linux Development and Test Team
Darrel J. Conway, Ph.D. Thinking Systems, Inc.
Senior Scientist and CEO 6441 N Camino Libby
Phone: (623) 298-4530 Tucson, AZ 85718
FAX: (520) 232-2533 www.thinksysinc.com
djc_at_thinksysinc_dot_com
-----------------------------------------------------------------------------------------------------
--
Pablo Pita Leira
Darrel J. Conway
2008-08-06 18:14:19 UTC
Permalink
Great!

Using the Subversion trunk is probably the safest approach. The
development branch will fluctuate between being stable and unstable for
a while longer -- the GmatFunction feature touches a lot of code. I am
planning to merge the development code into the trunk the next time we
reach a stable point. (By "stable point", I mean that we have passed a
set of regression tests that we run, usually at least once a week, but a
bit less frequently at the moment because of vacation schedules.) So if
you can be just a little patient, I think you'll find that the trunk
code is the way to go, once I can merge in the other code in a couple of
weeks or so.

I just ran through the scripts I sent to you, and the ones that fail
mostly need some tuning and fixes for objects that were removed from the
files. (I noticed a number of "Toggle" commands that reference objects
that don't exist, for instance.) Just guessing here, since I didn't
actually count, but it looked to me like about 2/3's of the scripts run
"as is."

I'll send you a note (and post a message to the development list) when
I've merged the development branch back into the trunk code. That piece
will necessitate some additional scripting changes, and potentially a
build procedure change as well. One of the new features in the code is
the ability to add plug-in libraries to GMAT for new solvers and forces.
To do that, GMAT's engine (that is, the code in the src/base
directories) needs to be built as a shared library so that the plug-in
can link against it. (If you don't care about plug-ins, building with
static linking for the base code still works correctly, of course.) I'm
sure there will be more details on that feature once I get the
documentation for it reviewed. That part of the code in the development
branch is complete.

I hope that helps you get a feel for our current timeline of events.
Feel free to send me any additional questions, comments, or suggestions.
Any feedback we can get is definitely appreciated!

- Darrel
Post by Pablo Pita
Hello,
Post by Darrel J. Conway
Just out of curiosity -- I didn't see anything in your message about the
code base you used. Were you building from the Subversion source, or the
archived code on GMAT's download page? (The development team works from a
branch of the Subversion trunk named "development"; the code in the
Subversion trunk is intended to be a stable version of the development
code.)
I took subversion trunk.
Post by Darrel J. Conway
I'm attaching a tarball with some sample missions in it. You'll need an
"output/SampleMissions" directory in the directory containing your
executable file; without it, you'll see an exception because GMAT won't be
able to initialize the objects that write output data. The script files in
the attachment are the sample missions that shipped with the December
release. Let me know if you are using the Subversion source code for your
build; if that is the case, there are some changes that are needed to make
these files work with the current code base.
Fine ... I can do changes, no problem. I can also compile the
development branch if it is approaching a ready state.
Post by Darrel J. Conway
You might also want to try some of the tutorials on GMAT's Wiki, which can
be found at http://gmat.ed-pages.com/wiki/tiki-index.php. These tutorials
are a work in progress, and so far are written by Windows users, so the
screen captures will be different from the Linux versions. We are also in
the process of getting some help testing on Linux. Part of the reason we
only advertise the Linux build as an "alpha" release is because the GUI has
not been tested very thoroughly on Linux. You may find that some of the GUI
panels are unstable on Linux -- if that is the case, send me a note
describing the issue (if you get a chance), so that I can help the team
debug it.
Good to have this notice. So I hope to give it a try and I will
comment what my impressions are.
Pablo
Post by Darrel J. Conway
Thanks for the interest and the useful feedback on the build process!
- Darrel
Post by Pablo Pita
Hello list,
I like to give some notes on compiling GMAT on an Kubuntu Hardy 8.04
installation. The overall compilation process is not that simple, and
problems arise. I was using gcc 4.2.
1.- I downloaded wxGTK v. 2.8.8 and I compiled it without Unicode
support (the default, as distros usually do it with Unicode).
I followed the documentation on the pdf and compiled statically.
./configure --with-opengl --disable-shared --enable-optimise
I got an error later when linking, seeing that the configuration
./configure --with-opengl --enable-shared --enable-optimise
This was the GMAT makefile output that gave me a clue in using a
g++ app/AboutDialog.o app/GmatApp.o app/GmatAppData.o
app/CompareFilesDialog.o app/CompareTextDialog.o app/GmatConnection.o
app/GmatMainFrame.o app/GmatMenuBar.o app/GuiMessageReceiver.o
app/GmatNotebook.o app/GmatServer.o app/GmatTreeItemData.o
app/InteractiveMatlabDialog.o app/MissionTreeItemData.o
app/RunScriptFolderDialog.o app/ResourceTree.o app/ScriptPanel.o
app/SetPathDialog.o app/TextEphemFileDialog.o
burn/FiniteBurnSetupPanel.o burn/ImpulsiveBurnSetupPanel.o
command/AchievePanel.o command/AssignmentPanel.o
command/BeginFiniteBurnPanel.o command/CallFunctionPanel.o
command/EndFiniteBurnPanel.o command/ManeuverPanel.o
command/MinimizePanel.o command/NonlinearConstraintPanel.o
command/OptimizePanel.o command/PropagatePanel.o command/ReportPanel.o
command/SavePanel.o command/ScriptEventPanel.o command/TargetPanel.o
command/TogglePanel.o command/VaryPanel.o controllogic/ForDialog.o
controllogic/ForPanel.o controllogic/IfPanel.o
controllogic/WhilePanel.o coordsystem/CoordPanel.o
coordsystem/CoordSysCreateDialog.o
coordsystem/CoordSystemConfigPanel.o forcemodel/DragInputsDialog.o
foundation/ArraySetupPanel.o foundation/GmatDialog.o
foundation/GmatMdiChildFrame.o foundation/GmatPanel.o
foundation/GmatSavePanel.o foundation/GmatStaticBoxSizer.o
foundation/GuiItemManager.o foundation/MultiPathSetupPanel.o
foundation/ParameterCreateDialog.o foundation/ParameterSelectDialog.o
foundation/ParameterSetupPanel.o foundation/ShowScriptDialog.o
foundation/ShowSummaryDialog.o foundation/SinglePathSetupPanel.o
function/FunctionSetupPanel.o function/MatlabFunctionSetupPanel.o
hardware/TankConfigPanel.o hardware/ThrusterCoefficientDialog.o
hardware/ThrusterConfigPanel.o mission/DecoratedTree.o
mission/MissionTree.o output/CompareReportPanel.o output/OutputTree.o
output/ReportFilePanel.o plot/MdiChildTrajFrame.o
plot/MdiChildTsFrame.o plot/MdiGlPlotData.o plot/MdiTsPlotData.o
plot/OpenGlOptionDialog.o plot/OpenGlPlotSetupPanel.o
plot/ReportFileSetupPanel.o plot/TrajPlotCanvas.o plot/TsPlotCanvas.o
plot/TsPlotXYCanvas.o plot/TsPlotCurve.o plot/TsPlotOptionsDialog.o
plot/XyPlotSetupPanel.o propagator/PropagationConfigPanel.o
propagator/PropagatorSelectDialog.o solarsys/BarycenterPanel.o
solarsys/CelesBodySelectDialog.o solarsys/CelestialBodyPanel.o
solarsys/LibrationPointPanel.o solarsys/SolarSystemWindow.o
solarsys/UniversePanel.o solver/DCSetupPanel.o solver/SQPSetupPanel.o
solver/SolverCreatePanel.o solver/SolverGoalsPanel.o
solver/SolverVariablesPanel.o spacecraft/AttitudePanel.o
spacecraft/BallisticsMassPanel.o spacecraft/FormationSetupPanel.o
spacecraft/OrbitPanel.o spacecraft/SpacecraftPanel.o
spacecraft/SpaceObjectSelectDialog.o spacecraft/TankPanel.o
spacecraft/ThrusterPanel.o view/ViewTextDialog.o view/ViewTextFrame.o
../base/lib/libGmatGui.a -o gmatNoMatlab `/usr/local/bin/wx-config
--libs --gl-libs --static=no` -lIL -lILU -lILUT -lgfortran -lm
2.- I downladed DevIL-1.6.8 rc2 and compiled it. When trying the link
phase of GMAT with it, errors appeared due to undefined references for
several DevIL functions. Those errors were related to functions whose
argument type were of the form "(ILvoid)", with ILvoid being defined
as "typedef void ILvoid". That type of code in the functions seems not
legal in C++ (more information on
http://osdir.com/ml/linux.debian.devel.games.devel/2007-02/msg00006.html)
and I substituted in the DevIL headers that expression for plain
"(void)". After recompiling DevIL, this time there were no undefined
references from GMAT.
OK, after those issues, following the instructions in the different
files, I have got gmatNoMatab to run. I wonder about notifying DevIL
about the headers, although the project seems not active.
One last question: are there sample missions somewhere ?
Thanks,
--
-----------------------------------------------------------------------------------------------------
GMAT Architectural Design, Linux Development and Test Team
Darrel J. Conway, Ph.D. Thinking Systems, Inc.
Senior Scientist and CEO 6441 N Camino Libby
Phone: (623) 298-4530 Tucson, AZ 85718
FAX: (520) 232-2533 www.thinksysinc.com
djc_at_thinksysinc_dot_com
-----------------------------------------------------------------------------------------------------
--
-----------------------------------------------------------------------------------------------------
GMAT Architectural Design, Linux Development and Test Team

Darrel J. Conway, Ph.D. Thinking Systems, Inc.
Senior Scientist and CEO 6441 N Camino Libby
Phone: (623) 298-4530 Tucson, AZ 85718
FAX: (520) 232-2533 www.thinksysinc.com
djc_at_thinksysinc_dot_com
-----------------------------------------------------------------------------------------------------
Loading...