Problem building VF13OptimizerPlugin for GMAT 2016a

Discussion of compilation configuration and issues

Problem building VF13OptimizerPlugin for GMAT 2016a

Postby theAnalyst » Fri Dec 09, 2016 1:35 pm

While working through the tutorials in GMAT 2016a, I discovered that one is required to build the VF13OptimizerPlugin separately in order to complete "Chapter 9. Optimal Lunar Flyby using Multiple Shooting".

I downloaded the VF13OptimizerPlugin code and followed the instructions as lined out in the associated README file:

https://sourceforge.net/p/gmatplugins/g ... les.txt#l3

But when trying to build the VS2010 project (with VS2010 as required) I ran into the following problems :

1. I had to add include paths to "GMAT\src\base\solarsys" and "GMAT\src\base\coordsystem". Not a major issue.
2. I get the following compile errors (major issue):

Error 1 error C2259: 'VF13ad' : cannot instantiate abstract class C:\Users\mba\gmatplugins-gitcode\VF13OptimizerPlugin\src\base\factory\VF13Factory.cpp 48 1 libVF13Optimizer
Error 4 error C2259: 'VF13ad' : cannot instantiate abstract class C:\Users\mba\gmatplugins-gitcode\VF13OptimizerPlugin\src\base\solver\VF13ad.cpp 174 1 libVF13Optimizer
Error 5 error C2664: 'vf13ad_' : cannot convert parameter 1 from 'Integer *' to 'integer *' C:\Users\mba\gmatplugins-gitcode\VF13OptimizerPlugin\src\base\solver\VF13ad.cpp 1152 1 libVF13Optimizer
Error 6 error C2065: 'initialized' : undeclared identifier C:\Users\mba\gmatplugins-gitcode\VF13OptimizerPlugin\src\base\solver\VF13ad.cpp 1244 1 libVF13Optimizer
Error 8 error C2065: 'initialized' : undeclared identifier C:\Users\mba\gmatplugins-gitcode\VF13OptimizerPlugin\src\base\solver\VF13ad.cpp 1396 1 libVF13Optimizer

I suspect that the available VF13OptimizerPlugin code is not up to date with GMAT 2016a, or it may be that I am doing something wrong which is not unheard of :D.

Very grateful for any advice!
theAnalyst
 
Posts: 3
Joined: Fri Dec 09, 2016 12:38 pm

Re: Problem building VF13OptimizerPlugin for GMAT 2016a

Postby theAnalyst » Fri Dec 09, 2016 3:10 pm

Sorry, posted this in the wrong Forum.

Found some help here:
viewtopic.php?f=55&t=44415
theAnalyst
 
Posts: 3
Joined: Fri Dec 09, 2016 12:38 pm


Return to Compiling GMAT

Who is online

Users browsing this forum: No registered users and 4 guests

cron